chartmogul-mcp-server

chartmogul-mcp-server

0

ChartMogul's MCP Server enables integration with the Claude Desktop application. It requires configuration of environment variables and dependencies for development. The server connects via a local link.

ChartMogul's MCP Server

Usage

  1. Open the Claude Desktop configuration file located at:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%/Claude/claude_desktop_config.json
  2. Add the following:

{
  "mcpServers": {
    "mcp-chartmogul": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/your/local/chartmogul-mcp-server",
        "run",
        "main.py"
      ],
      "env": {
        "CHARTMOGUL_TOKEN": "<YOUR-CHARTMOGUL-TOKEN>"
      }
    }
  }
}
  1. Run which uv to locate the command entry for uv and replace it with the absolute path to the uv executable.

  2. Restart Claude Desktop to apply the changes.

Development

  1. Run cp example.env .env in the root of the repository to create a .env file.

  2. Update it with the following env variables.

CHARTMOGUL_TOKEN=<YOUR-CHARTMOGUL-TOKEN>
  1. Install uv by following the instructions here.

  2. Run uv sync to install the dependencies.

  3. Run source .venv/bin/activate to activate the created virtual environment.

  4. Run mcp dev main.py:cm_mcp to start the development MCP server. This command will need Node.js and npm installation.

  5. Inspect and connect to the MCP server at http://127.0.0.1:6274