Overview
Eka.care MCP supports two authentication methods to fit different integration needs:π OIDC Flow (Recommended)
Best for: Healthcare providers and clinicsAuto-authenticate with your Eka.care account. No manual credential management needed.
π Client Credentials
Best for: Third-party integrationsUse API credentials (Client ID, Secret, API Key) for programmatic access.
Method 1: OIDC Flow (Auto-Authentication)
This is the easiest and most secure method. Your AI assistant authenticates using your Eka.care login, just like logging into the dashboard.How It Works
1
You start your MCP client
Claude Desktop or any MCP-compatible client
2
MCP initiates OIDC flow
Opens a secure browser window
3
You log in to Eka.care
Use your existing Eka.care credentials
4
Connection established
Your AI assistant now has secure access

Method 2: Client Credentials
Use this method if you have API credentials (Client ID, Client Secret, API Key) from the Eka.care team.How It Works
Your MCP server authenticates directly with Eka.care APIs using:- Client ID: Your application identifier
- Client Secret: Secret key for authentication
- API Key: Additional security layer (optional but recommended)
Setup Client Credentials
1. Get your credentials: Contact [email protected] and request:- Client ID
- Client Secret
- API Key
.env file:
.env
claude_desktop_config.json
Credential Management Tips
How to test credentials
How to test credentials
Quick test with curl:Should return an access token if credentials are valid.
Token expiration
Token expiration
Automatic refresh: The MCP server automatically refreshes tokens before they expire.Default expiration: Tokens typically last 1 hour and are refreshed automatically.No action needed: You donβt need to manually manage token lifecycle.
Multiple environments
Multiple environments
Development:Production:
.env.development
.env.production
Credential rotation
Credential rotation
When to rotate:
- Every 90 days (recommended)
- If credentials may be compromised
- When team members leave
- Contact [email protected] for new credentials
- Update your
.envfile - Restart the MCP server
- Update Claude Desktop config if needed
Need Credentials? Contact [email protected] with:
- Your organization name
- Integration type (OIDC or Client Credentials)
- Use case description
- Expected API usage volume

