codaveri-mcp-server
MCP server for executing code in various languages via the Codaveri API.
README
Codaveri MCP Server
This is a Model-Context-Protocol (MCP) server for the Codaveri API, allowing you to execute code in various languages.
Installation
-
Clone the repository:
git clone https://github.com/satviksinha/codaveri-mcp-server.git -
Install the dependencies:
npm install
Configuration
- Create a
.env.development.localfile in the root of the project. - Add your Codaveri API key to the file:
API_KEY=<your_codaveri_api_key> CODAVERI_API_BASE_URL=<codaveri-url>
Using this MCP server from any repo
When you run the codaveri MCP server from another repository (your client repo or any working directory), it looks for environment variables in a .env.development.local file in the current working directory.
- Create a
.env.development.localfile in that repo as well, with the same variables:
API_KEY=your_codaveri_api_key
CODAVERI_API_BASE_URL=https://staging.codaveri.com
Notes:
- The file must be placed in the repo where you execute the
codavericommand (because dotenv loads from the current working directory). - Alternatively, you can export these variables in your shell environment instead of using the file.
Building the Server
To build the server, run the following command:
npm run build
This will compile the TypeScript code into JavaScript and place it in the build directory.
Running the Server
You can run the server locally using npm link:
-
Link the package to make the
codavericommand available globally:npm link -
Now you can run the server by simply typing
codaveriin your terminal.
Client Integration
To use this server in an MCP client, you need to configure the client to connect to the codaveri command.
Here is an example of how you might configure your MCP client:
{
"mcpServers": {
"codaveri": {
"command": "codaveri"
}
}
}
executeCode Tool
This server provides a single tool, executeCode.
Description
Executes a given code snippet in a specified language and returns the output.
Parameters
code(string, required): The code to be executed.language(string, required): The programming language of the code. Supported languages are:pythonjavascriptjavaccpptypescriptgorustcsharp
Example Usage in an MCP Client
executeCode(code="print('Hello, world!')", language="python")
Example Output
The tool will return the standard output of the executed code.
{
"content": [
{
"type": "text",
"text": "Hello, world!\\n"
}
]
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.