Skip to main content
The Local MCP SDK runs the Eka MCP server as a process on your machine. Your AI client talks to it over stdio — no network exposure, no OAuth browser flow. Credentials are passed via environment variables. Use this when you:
  • Are building a custom integration or automation pipeline
  • Need to run offline or in a controlled environment
  • Want to embed Eka MCP tooling into your own application
  • Prefer client credentials over OIDC login

Prerequisites

1

Python 3.10 or higher

Verify your Python version:
python --version
2

Get your API credentials

You need a Client ID and Client Secret from the Eka developer console.
  • Get your Client ID and Client Secret from the Eka Console
  • If you need access to a specific workspace (clinic), get an API Key from the Hub
Don’t have access yet? Email ekaconnect@eka.care with your organization name and use case.

Step 1 — Install the SDK

Verify the install:
eka-mcp-server --help
You should see the server’s CLI options printed.

Step 2 — Configure Your Client

Pick your AI client below. Each config passes your credentials as environment variables directly — no .env file required.
Never commit your EKA_CLIENT_ID, EKA_CLIENT_SECRET, or EKA_API_KEY to version control. Add your config file to .gitignore if it contains credentials.
Open your Claude Desktop config file and add the eka-care server:
Config location: ~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "eka-care": {
      "command": "eka-mcp-server",
      "env": {
        "EKA_CLIENT_ID": "your_client_id",
        "EKA_CLIENT_SECRET": "your_client_secret",
        "EKA_API_KEY": "your_api_key",
        "EKA_API_BASE_URL": "https://api.eka.care"
      }
    }
  }
}
Restart Claude Desktop after saving. The Eka MCP tools will appear in your conversation.

Step 3 — Verify

Restart your AI client. Then send a test prompt:
Search for patient [name]
The AI should call search_patients and return results from your Eka.care workspace.

Troubleshooting

The install likely went into a virtual environment that isn’t on your PATH. Either:
  1. Activate the virtual environment first:
    source .venv/bin/activate  # macOS/Linux
    .venv\Scripts\activate      # Windows
    
  2. Or use the full path to the binary in your config:
    {
      "command": "/Users/you/project/.venv/bin/eka-mcp-server"
    }
    
  • Double-check EKA_CLIENT_ID and EKA_CLIENT_SECRET have no extra spaces or quotes
  • Ensure EKA_API_KEY matches the workspace you’re trying to access
  • Credentials are available at console.eka.care/api-keys and hub.eka.care
  • Fully restart the AI client after editing the config (not just reload)
  • Validate your config JSON is well-formed (no trailing commas, correct brackets)
  • Check the AI client’s MCP logs — most clients expose these under Developer or Settings

Need help? Email ekaconnect@eka.care with your setup details and we’ll help you get connected.