mycase-mcp
v1.0.4Connect Claude to MyCase: cases, contacts, documents, tasks, calendar, calls, time, billing, staff.
Values you need
| Variable | What it is | |
|---|---|---|
MYCASE_CLIENT_ID | required | MyCase OAuth client ID issued by MyCase support for your firm |
MYCASE_CLIENT_SECRET | required secret | MyCase OAuth client secret issued by MyCase support |
ENCRYPTION_KEY | required secret | 64-character hex key for encrypting stored OAuth tokens (generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))") |
MYCASE_REDIRECT_PORT | optional | Local port for the OAuth callback listener (default: 5678). Must match the redirect URI registered with MyCase support. |
MYCASE_EXPERIMENTAL_TOOLS | optional | Set to '1' to enable experimental tools (log-call) whose API endpoints are unverified. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mycase-mcp -e 'ENCRYPTION_KEY=<ENCRYPTION_KEY>' -e 'MYCASE_CLIENT_ID=<MYCASE_CLIENT_ID>' -e 'MYCASE_CLIENT_SECRET=<MYCASE_CLIENT_SECRET>' -- npx -y @oktopeak/mycase-mcp@1.0.4Add to
claude_desktop_config.json{
"mcpServers": {
"mycase-mcp": {
"args": [
"-y",
"@oktopeak/mycase-mcp@1.0.4"
],
"command": "npx",
"env": {
"ENCRYPTION_KEY": "<ENCRYPTION_KEY>",
"MYCASE_CLIENT_ID": "<MYCASE_CLIENT_ID>",
"MYCASE_CLIENT_SECRET": "<MYCASE_CLIENT_SECRET>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mycase-mcp": {
"args": [
"-y",
"@oktopeak/mycase-mcp@1.0.4"
],
"command": "npx",
"env": {
"ENCRYPTION_KEY": "<ENCRYPTION_KEY>",
"MYCASE_CLIENT_ID": "<MYCASE_CLIENT_ID>",
"MYCASE_CLIENT_SECRET": "<MYCASE_CLIENT_SECRET>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "ENCRYPTION_KEY",
"id": "encryption-key",
"password": true,
"type": "promptString"
},
{
"description": "MYCASE_CLIENT_ID",
"id": "mycase-client-id",
"password": true,
"type": "promptString"
},
{
"description": "MYCASE_CLIENT_SECRET",
"id": "mycase-client-secret",
"password": true,
"type": "promptString"
}
],
"servers": {
"mycase-mcp": {
"args": [
"-y",
"@oktopeak/mycase-mcp@1.0.4"
],
"command": "npx",
"env": {
"ENCRYPTION_KEY": "${input:encryption-key}",
"MYCASE_CLIENT_ID": "${input:mycase-client-id}",
"MYCASE_CLIENT_SECRET": "${input:mycase-client-secret}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mycase-mcp]
command = "npx"
args = ["-y", "@oktopeak/mycase-mcp@1.0.4"]
env = { "ENCRYPTION_KEY" = "<ENCRYPTION_KEY>", "MYCASE_CLIENT_ID" = "<MYCASE_CLIENT_ID>", "MYCASE_CLIENT_SECRET" = "<MYCASE_CLIENT_SECRET>" }For AI agents
- Ask the user for: MYCASE_CLIENT_ID, MYCASE_CLIENT_SECRET, ENCRYPTION_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: authenticate, auth-status, logout, list-cases, get-case, create-case, search-contacts, get-contact, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json