
Mycase Mcp
io.github.oktopeak由 GitHub 帳號 oktopeak 發布v1.0.4更新於 Oct 24, 2026
Connect Claude to MyCase: cases, contacts, documents, tasks, calendar, calls, time, billing, staff.
概覽
將助理連接到事務所的 MyCase 法律業務管理資料,用來查詢案件、聯絡人、任務、文件、行事曆、員工與帳務。
- 可以做什麼
- 在本機執行,透過 MyCase 的 OAuth 2.0 API 讓助理列出與讀取案件、搜尋聯絡人、列出任務與文件、查看行事曆事件、列出員工,並檢視工時項目與帳務摘要。也能建立案件與任務、取得文件下載連結,並在啟用實驗性工具時記錄通話。認證、狀態查詢與登出工具負責管理已儲存的連線階段。
- 適用情境
- 適合已使用 MyCase 的事務所,希望助理在不把客戶資訊複製到對話中的情況下,回答關於進行中案件、聯絡人、期限、文件與未結餘額的問題。此伺服器為單一租戶設計,供一家事務所在本機執行。
- 執行需求
- 需要 Node.js 18+ 以及具備事務所管理員權限的 MyCase 帳號。需向 MyCase 支援申請 OAuth 用戶端憑證,並以 MYCASE_CLIENT_ID 與 MYCASE_CLIENT_SECRET 提供。MYCASE_REDIRECT_PORT 必須與向 MyCase 註冊的重新導向位址一致。ENCRYPTION_KEY 在 CI 或無介面環境之外為選用。需要連線至 MyCase API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mycase Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
MyCase MCP Server
Connect Claude to your MyCase legal practice management system. Ask Claude to look up cases, find contacts, check your calendar, review billing — all without leaving your conversation.
Built by Oktopeak — AI transformation & automation for law firms
Digital transformation for legal and healthcare businesses. We build AI integrations, workflow automation, and custom software your firm owns outright — including this connector. → Book a 30-min call
[!TIP] Not a developer? You don't need to be.
The README below assumes someone comfortable editing a JSON config file. If that's not you or your team, we deploy this for law firms — scoped credentials, audit log wired in, one custom workflow, training.
→ Whole firm? The Firm Plan: $300 a month. Set up in your own cloud, every attorney signs in with their own login, one audit log, one automation built for you each month, no setup fee, cancel any time. → oktopeak.com/firm-plan/, or book a 30-min call
Jump to: Demo · Installation · Available tools · Security · Need it deployed for you?
Demo
Watch Claude pull live data from MyCase in under a minute — cases, contacts, documents, calendar — without copying client information into chat.
[MyCase MCP — Claude pulls live data]
▶ Watch the 60-second demo on YouTube
Setup tips + ABA Opinion 512 compliance updates for firms building with Claude + MyCase.
→ Subscribe to Oktopeak Builder Notes — short emails, easy unsubscribe.
What it does
Once connected, Claude can talk directly to your MyCase firm data. You can ask things like:
- "What open cases do we have for Jane Smith?"
- "Show me all tasks due this week"
- "What's the outstanding balance on the Anderson case?"
- "Log a 20-minute call with client #1234 about the settlement"
- "List documents attached to case 98765"
Everything goes through MyCase's official OAuth 2.0 API. Your credentials never leave your machine — tokens are stored locally, encrypted with AES-256-GCM.
Prerequisites
- Node.js 18+
- A MyCase account with firm admin access
- MyCase API credentials — reach out to MyCase support to request OAuth client credentials for your firm. You'll receive a
client_idandclient_secret.
Installation
With Claude Desktop (recommended)
Add this to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop and you're done.
[!TIP] On Windows? The config above works on macOS but not on Windows out of the box. You'll likely hit
Could not attach to MCP server mycase(npx invocation),UNABLE_TO_VERIFY_LEAF_SIGNATURE(corporate antivirus SSL inspection), and an OAuth redirect port mismatch. The Windows-friendly config plus all five fixes are in our install guide.→ MyCase MCP on Windows: The Install Guide We Wish Existed — covers all five Windows gotchas plus the real 13-business-day MyCase API credential timeline.
Standalone / development
[!TIP] Not the person who edits config files?
If the install above looks like too much, we can deploy it in your firm for you — scoped OAuth credentials, audit log wired into your stack, one custom workflow designed with your team, and training. Most law firms find this is the faster path.
→ Whole firm? The Firm Plan: $300 a month. Set up in your own cloud, every attorney signs in with their own login, one audit log, one automation built for you each month, no setup fee, cancel any time. → oktopeak.com/firm-plan/, or book a 30-min scoping call
Configuration
If running locally (not via Claude Desktop env vars), copy .env.example to .env and fill it in:
Note: The redirect URI registered with MyCase support must match
http://127.0.0.1:{MYCASE_REDIRECT_PORT}/callback. If you're unsure which port was registered, check with MyCase support.
Secret handling
MYCASE_CLIENT_SECRET is the only sensitive credential that needs to live in your config file. The encryption key is managed automatically by the OS keychain — it never appears in any config file.
When using claude_desktop_config.json, restrict that file's permissions so other users on the machine can't read your client secret:
macOS:
Windows: Right-click the file → Properties → Security → Edit → remove access for all accounts except your own user.
log-call (experimental)
The log-call tool is gated behind an environment variable while its API endpoint is being verified:
Add this to your claude_desktop_config.json env block or .env file to enable it. Leave it unset to keep it hidden from Claude.
Authentication
The first time you use it, you need to authenticate with MyCase:
- In Claude, call the
authenticatetool - Your browser will open the MyCase login page
- Log in and grant access
- Return to Claude — you're connected
Access tokens are valid for 24 hours and refresh automatically. Refresh tokens typically last 2 weeks (set by the MyCase API). Once the refresh token expires you'll need to re-authenticate.
Your encrypted token file lives at ~/.oktopeak-mycase/tokens.enc. To log out and remove it, call the logout tool.
Note: If the OS keychain is cleared or the encryption key is lost, the existing token file can no longer be decrypted. The server will silently treat it as absent and you'll need to re-authenticate — no data is lost, just the stored session.
Available tools
Authentication
Cases
Contacts
Tasks
Documents
Calendar
Calls
Staff
Billing
A note on multi-user support
This server is single-tenant by design — it stores one set of credentials at a time and is intended for a single firm running it locally. If you authenticate as a different user, the previous token is overwritten.
If you need multiple firms or users, you'd need to run separate instances with separate configurations.
Development
Running tests
Security
- OAuth tokens are encrypted at rest using AES-256-GCM
- The encryption key is auto-generated on first run and stored in your OS keychain (macOS Keychain / Linux Secret Service / Windows Credential Manager) — it never appears in any config file
- Token and audit log files are stored in
~/.oktopeak-mycase/with mode0600(owner-read/write only) on Unix/macOS - On Windows, restrict
%APPDATA%\.oktopeak-mycasevia folder Properties → Security - All API calls go directly from your machine to
external-integrations.mycase.com
Vulnerability scan
npm audit --omit=dev reports 0 production vulnerabilities. The vitest dev-dependency carries 5 moderate findings (esbuild, vite) that are unreachable in production and require a major vitest version bump to resolve. They have no impact on deployed server instances.
Need more than the connector?
The open-source connector reads your MyCase data and lets Claude work with it. That handles about 20% of what most firms eventually want.
We help two ways, depending on your scope:
→ Whole firm? The Firm Plan: $300 a month. Set up in your own cloud, every attorney signs in with their own login, one audit log, one automation built for you each month, no setup fee, cancel any time. → oktopeak.com/firm-plan/
→ Legal AI Integration — For multi-workflow builds, document automation, intake automation, custom AI agents, and full compliance architecture across your stack. → oktopeak.com/services/legal-ai-integration/
ABA Opinion 512 compliant from day one. Want a polished overview of this connector with video demo and FAQ? → oktopeak.com/mycase-mcp/
Want to talk first? → Book a 30-min scoping call
Other connectors by Oktopeak
We ship the same kind of connector for other practice management platforms. Each has its own overview page on oktopeak.com:
- Clio MCP: open-source MCP connector for Clio practice management. Source: github.com/oktopeak/clio-mcp. npm:
@oktopeak/clio-mcp - Filevine MCP: open-source MCP connector for Filevine practice management. Source: github.com/oktopeak/filevine-mcp. npm:
@oktopeak/filevine-mcp - Lawmatics MCP: open-source MCP connector for Lawmatics legal CRM and intake, with a config-level read-only mode. Source: github.com/oktopeak/lawmatics-mcp. npm:
@oktopeak/lawmatics-mcp - IntakeQ / PracticeQ MCP — HIPAA-aware MCP connector for IntakeQ/PracticeQ (healthcare / behavioral & allied-health clinics). Audit logging on every PHI read/write, BAA + Zero-Data-Retention guidance. npm:
@oktopeak/intakeq-mcp
Same architecture, same audit logging, same encryption at rest. All MIT licensed.
Supporting this project
This connector is free, MIT licensed, and maintained by Oktopeak. It always will be — we don't take donations. If it saved you time, the things that actually help:
- Star this repo. It is genuinely how other firms find it.
- Tell another firm running MyCase.
- Leave a review if we helped you directly.
- Need it deployed, extended, or maintained for your firm? Commercial support — that is what funds the free work.
Who we are
Oktopeak — digital transformation for law firms and healthcare.
We're a 7-person in-house product team building AI solutions for regulated industries: AI integrations, workflow automation, and custom software our clients own outright. We maintain five open-source MCP connectors — Clio, MyCase, Filevine, Lawmatics, and IntakeQ — and deploy them inside real practices with scoped credentials, audit logs, and workflows built around how your team actually works.
- 🌐 oktopeak.com
- 📅 Book a 30-min call
- ✉️ [email protected] — security reports welcome
License
MIT — see LICENSE.
Built with the Model Context Protocol SDK by Anthropic.
來源:README.md,提交 2f581ba
工具
0版本歷史
1- v1.0.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分