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:
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:
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
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:
The AI should call search_patients and return results from your Eka.care workspace.

Other ways to run it

The same package runs three ways. It runs as an MCP server for an AI client, as an async Python library you call from your own code, and as a sync wrapper that works with CrewAI. Errors from the Eka.care APIs reach you unchanged, so the message you see is the one the API sent.

Troubleshooting

The install likely went into a virtual environment that isn’t on your PATH. Either:
  1. Activate the virtual environment first:
  2. Or use the full path to the binary in your config:
  • 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.