codaveri-mcp-server

codaveri-mcp-server

MCP server for executing code in various languages via the Codaveri API.

Category
Visit Server

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

  1. Clone the repository:

    git clone https://github.com/satviksinha/codaveri-mcp-server.git
    
  2. Install the dependencies:

    npm install
    

Configuration

  1. Create a .env.development.local file in the root of the project.
  2. 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.local file 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 codaveri command (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:

  1. Link the package to make the codaveri command available globally:

    npm link
    
  2. Now you can run the server by simply typing codaveri in 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:
    • python
    • javascript
    • java
    • c
    • cpp
    • typescript
    • go
    • rust
    • csharp

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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured