Rocketmatter
БесплатноНе проверенEnables interaction with Rocketmatter legal practice management via natural language, covering matters, clients, tasks, time, invoices, calendar, documents, and
Описание
Enables interaction with Rocketmatter legal practice management via natural language, covering matters, clients, tasks, time, invoices, calendar, documents, and trust accounting.
README
Rocket Matter MCP server
CI Python 3.10+ License: MIT MCP 2026-07-28 PyPI version
Connect Claude and other MCP clients to Rocket Matter to manage matters, clients, time entries, invoices and payments.
Rocket Matter MCP server is a Model Context Protocol server for Rocket Matter, the legal practice management platform. It registers 86 tools that read and write Rocket Matter data through the ProfitSolv LCS /v1 Integration API; 43 of them cover capabilities that API does not expose and return an error saying so (see Tools). It runs over stdio by default, for desktop clients such as Claude Desktop, and offers an opt-in stateless Streamable HTTP mode that implements MCP specification 2026-07-28. Rocket Matter credentials stay on the machine that runs the server: they come from the setup command and your operating system's keyring, never from the client. The server signs in with scoped OAuth rather than a password, so it never trips Rocket Matter's single-session-per-user limit and does not log you out of your Rocket Matter browser session while it runs.
Features
- Matters: list, get, create, update and delete matters.
- Clients and contacts: create, read, update and delete clients and contacts.
- Time entries and expenses: log, edit and delete billable time and costs.
- Invoices: list, get, create, update and delete invoices.
- Payments: list payments and record new ones.
- Transactions: list by matter or bank, get, create, update and delete.
- Documents: list documents (read-only).
- Users: list and get firm users.
- UTBMS codes: get the codes for a matter.
Tools
The server registers 86 tools. 43 of them work against the LCS /v1 Integration API. The other 43 cover capabilities that API does not expose; they stay registered and return the error "This capability is not available in the Rocket Matter LCS /v1 API." instead of an empty result (see Limits of the LCS /v1 API).
All 86 tools
Working tools (43):
create_clientcreate_contactcreate_expensecreate_invoicecreate_mattercreate_paymentcreate_time_entrycreate_transactiondelete_clientdelete_contactdelete_expensedelete_invoicedelete_matterdelete_time_entrydelete_transactionget_clientget_codesget_contactget_expenseget_invoiceget_matterget_text_shortcutget_time_entryget_transactionget_userlist_clientslist_contactslist_documentslist_expenseslist_invoiceslist_matterslist_paymentslist_text_shortcutslist_time_entrieslist_transactionslist_usersupdate_clientupdate_contactupdate_expenseupdate_invoiceupdate_matterupdate_time_entryupdate_transaction
Registered but not available in the /v1 API (43):
approve_invoicecreate_ap_billcreate_ap_paymentcreate_ap_vendordelete_ap_billdelete_documentgenerate_invoiceget_activity_codesget_ap_billget_ap_payment_statusget_ap_vendorget_client_labelsget_client_suggestionsget_document_default_appget_document_download_urlget_document_upload_urlget_ebilling_defaultsget_expense_lookupsget_firm_summaryget_hard_cost_expense_lookupsget_invoice_allocationsget_invoice_lookupsget_invoice_payment_lookupsget_matter_labelsget_matter_type_workflowget_new_contact_defaultsget_new_expense_lookupsget_new_invoice_lookupsget_new_matter_defaultsget_new_matter_definitionget_task_codesget_time_entry_lookupsget_time_grid_lookupsget_transaction_lookupslist_ap_billslist_ap_paymentslist_ap_vendorslist_bankslist_billable_itemslist_chart_of_accountslist_timekeepersupdate_ap_billupdate_ap_vendor
Prompts and resources
The server also registers three prompts and three resources.
| Prompt | What it does |
|---|---|
accounts_receivable_review |
Reviews outstanding invoices and recent payments for the firm's receivables. |
matter_billing_review |
Reviews unbilled time and outstanding invoices for one matter. Takes matter_id. |
new_matter_intake |
Walks through creating a new matter for an existing client. Takes client_id. |
| Resource | What it provides |
|---|---|
rocketmatter://clients |
The firm's clients (first page): names, balances and contact details. |
rocketmatter://users |
All firm users and timekeepers with email, roles, default rate and status. |
rocketmatter://security-notes |
Security notes for the server. |
Requirements
- Python 3.10 or later.
- A Rocket Matter account and a registered OAuth integration for the ProfitSolv LCS Integration API: an API key, an OAuth client ID and a client secret.
- An MCP client such as Claude Desktop.
Installation
Install uv, then clone the repository and install its locked dependencies:
git clone https://github.com/RosenAdvertising/rocketmatter-mcp.git
cd rocketmatter-mcp
uv sync --locked
Releases are also published to PyPI: pip install rocketmatter-mcp installs version 0.5.0, which predates the HTTP mode described below. Install from source to use HTTP mode.
Configuration
Before setup, the firm must register http://127.0.0.1:8771/callback as an OAuth redirect with Rocket Matter / ProfitSolv. To use another port, set ROCKETMATTER_REDIRECT_URI to the exact registered HTTP loopback URI (127.0.0.1, explicit port and callback path). localhost, IPv6 and external callbacks are rejected. Then run the setup command:
uv run rocketmatter-mcp-setup
The wizard:
- Stores the integration's API key, OAuth client ID and client secret in your operating system's keyring (with a private file fallback).
- Binds the configured local callback before printing the authorization URL. Open that URL in your browser and click Allow.
- Receives the callback locally and checks the session's random
statebefore exchanging the code. It stops if the port is occupied or consent times out. - Atomically caches access and refresh tokens in
~/.rocketmatter-mcp/tokens.json, created with mode0600before any secret bytes are written.
Authorization codes are never accepted in command-line arguments or environment variables. The callback handles them automatically.
After that, the server refreshes its own access token with the long-lived refresh token, with no browser and no password, so you are not prompted again unless the refresh token is revoked.
Check the connection:
uv run rocketmatter-mcp-verify
Server messages that say to run rocketmatter-mcp-setup mean uv run rocketmatter-mcp-setup from your clone.
The server reads these variables, which you can also set in its environment:
| Variable | Required | Default | Purpose |
|---|---|---|---|
ROCKETMATTER_API_KEY |
Yes (saved by setup) | Credential store | Integration API key, sent as the X-Api-Key header. |
ROCKETMATTER_CLIENT_ID |
Yes (saved by setup) | Credential store | OAuth client ID, used for the code exchange and token refresh. |
ROCKETMATTER_CLIENT_SECRET |
Yes (saved by setup) | Credential store | OAuth client secret, used for the code exchange and token refresh. |
ROCKETMATTER_BASE_URL |
No | https://app.rocketmatter.net |
OAuth host. Only this host is accepted. |
ROCKETMATTER_API_BASE_URL |
No | The approved ProfitSolv LCS data host | The LCS /v1 data host. See Endpoint configuration. |
ROCKETMATTER_REDIRECT_URI |
No | http://127.0.0.1:8771/callback |
OAuth redirect URI used by setup; must match the redirect registered with the vendor. |
ROCKETMATTER_MCP_USE_KEYRING |
No | 1 |
Set to 0 to skip the operating system keyring and use the environment and the .env file fallback. |
Usage with Claude Desktop
Add the server to Claude Desktop's configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"rocketmatter": {
"command": "uv",
"args": ["run", "--locked", "--directory", "/absolute/path/to/rocketmatter-mcp", "rocketmatter-mcp"]
}
}
}
Replace /absolute/path/to/rocketmatter-mcp with the path of your clone, then restart Claude Desktop. Any other stdio MCP client uses the same command and arguments.
HTTP mode
Stdio is the default. Set ROCKETMATTER_MCP_TRANSPORT=streamable-http to serve the stateless Streamable HTTP transport from MCP specification 2026-07-28 at /mcp. Each request stands alone: no initialization handshake and no Mcp-Session-Id. Clients on earlier protocol versions are served on the same endpoint.
Security: this endpoint has no authentication and no TLS. Anyone who can reach the port can run every tool, including write and delete tools, with this server's vendor credentials. Keep the default loopback bind (
127.0.0.1), or put the server behind an authenticating TLS proxy on a private network.ROCKETMATTER_MCP_ALLOWED_HOSTSandROCKETMATTER_MCP_ALLOWED_ORIGINSprotect against browser DNS rebinding, not against direct callers. A proxy in front of it needs connection and idle timeouts: a legacy-styleGET /mcpwithAccept: text/event-streamholds a stream open until the client disconnects.
| Variable | Default | Purpose |
|---|---|---|
ROCKETMATTER_MCP_TRANSPORT |
stdio |
stdio or streamable-http. |
ROCKETMATTER_MCP_HOST |
127.0.0.1 |
Bind address. 127.0.0.1, localhost and ::1 use the SDK's built-in Host and Origin checks; any other value requires ROCKETMATTER_MCP_ALLOWED_HOSTS. |
PORT |
8080 |
Port; must be an integer. |
ROCKETMATTER_MCP_ALLOWED_HOSTS |
unset | Comma-separated Host header values accepted on a non-loopback bind, such as mcp.example.com:8080 or mcp.example.com:*. |
ROCKETMATTER_MCP_ALLOWED_ORIGINS |
unset | Comma-separated Origin values accepted on a non-loopback bind, such as https://client.example.com. Requests without an Origin header are accepted. |
Rocket Matter credentials come from the same configuration as stdio (see Configuration), never from the request.
ROCKETMATTER_MCP_TRANSPORT=streamable-http PORT=8080 uv run --locked rocketmatter-mcp
Point the MCP client at http://127.0.0.1:8080/mcp. Responses use the SDK's default streaming mode, so a client that disconnects cancels its request.
Error handling
A failed tool call returns an MCP error result (isError) with a fixed message. The server never passes a Rocket Matter response body, a request URL or a credential back to the client.
| Situation | What the tool returns |
|---|---|
| Setup missing or incomplete | "Missing ROCKETMATTER_API_KEY. Run rocketmatter-mcp-setup, then restart the MCP server." (naming whichever of ROCKETMATTER_API_KEY, ROCKETMATTER_CLIENT_ID and ROCKETMATTER_CLIENT_SECRET is missing). |
| HTTP 401 (after one automatic token refresh) | "Rocket Matter authorization was rejected or expired. Re-authorize with rocketmatter-mcp-setup." |
| HTTP 403 | "HTTP 403: Rocket Matter access denied: the connected account lacks permission for this action (or the authorization expired; re-run rocketmatter-mcp-setup if so)." |
| HTTP 404 | "The requested Rocket Matter record was not found." |
| HTTP 429 | "HTTP 429: Rate limit reached. Retry after N seconds." where N comes from the Retry-After header, or "HTTP 429: Rate limit reached. Wait briefly, then retry." when the header is missing or unusable. |
| Other HTTP error statuses | "HTTP" and the status followed by a fixed sentence, such as "HTTP 400: The request did not pass vendor validation." or "HTTP 409: The request conflicts with the current record state." |
| Timeout or connection failure on a read | "The Rocket Matter read could not complete because of a timeout or connection failure. You may retry." |
| Timeout or connection failure on a write | "The operation outcome is unknown because the connection failed. Check whether it completed before retrying." |
A tool the /v1 API does not support |
"This capability is not available in the Rocket Matter LCS /v1 API." |
| Invalid arguments | A message such as "Invalid arguments: page must be a whole number of at least 1." or "Invalid fields_json: malformed JSON". |
| Anything else | "Error executing tool list_matters" (the tool name) with no detail. |
Every Rocket Matter request has a 30-second timeout. The server does not retry failed requests and does not follow redirects. On HTTP 401 it refreshes the OAuth access token once and repeats the request.
At startup the server exits with a message on stderr and a non-zero status when ROCKETMATTER_MCP_TRANSPORT is neither stdio nor streamable-http, when PORT is not an integer, or when a non-loopback ROCKETMATTER_MCP_HOST is set without ROCKETMATTER_MCP_ALLOWED_HOSTS.
Limits of the LCS /v1 API
The ProfitSolv LCS /v1 Integration API is narrower than Rocket Matter's own application. The 43 tools listed as unavailable under Tools cover firm financial summaries, timekeeper billable-time summaries, bank and chart-of-accounts listings, the two-step invoice generation flow, invoice allocations, document upload, download and delete actions, accounts payable, lookup and default-value endpoints, and the separate task and activity code lists (only the combined get_codes is available). Rocket Matter features the API does not expose at all, such as tasks, timers, calendar, tags, trust, rates, firm roles, tax and discount settings, phone messages, internal chat, workflow, reports, recurring billing, matter templates and court rules, have no tools.
Transaction listing needs a matter or bank scope, and the code lookup needs a matter ID.
Credential storage
By default credentials are stored in your operating system's native secret store via the cross-platform keyring library:
| OS | Backend |
|---|---|
| macOS | Keychain |
| Windows | Credential Manager |
| Linux | Secret Service (GNOME Keyring / KWallet) |
With a working keyring backend, secrets are saved under the service name
rocketmatter-mcp and are not written to the fallback file.
File fallback. On a host with no keyring backend (e.g. a headless Linux box
without Secret Service), or if you set ROCKETMATTER_MCP_USE_KEYRING=0, credentials
fall back to a ~/.rocketmatter-mcp/.env file with 0600 permissions.
On Windows, the file is stored in the user's profile and protected by Windows'
default per-user access rules. On POSIX, files are created with 0600 permissions
and writes fail closed if private permissions cannot be established.
Read order. A credential already set in the process environment wins. Otherwise the server reads the OS keyring, then the .env file fallback.
Authentication notes
The server uses the ProfitSolv LCS /v1 Integration API with a scoped OAuth
integration:
- Consent once (
/OAuth/authorize→Allow) to obtain an authorization code. - Exchange the code at
{base}/api/ext/auth/token(grant_type=authorization_code) for anaccess_token(~5h) + a long-livedrefresh_token. - Data calls go to the LCS
/v1host with two headers:X-Api-Key: <app key>andX-User-Token: <access token>. - Refresh (
grant_type=refresh_token) renews the access token without a password login, so the user's Rocket Matter browser session is never bumped.
Hosts are overridable via ROCKETMATTER_BASE_URL (the OAuth host; only https://app.rocketmatter.net is accepted) and ROCKETMATTER_API_BASE_URL (the LCS /v1 data host; only the two approved ProfitSolv LCS hosts are accepted, see Endpoint configuration).
Example usage in Claude
"List my matters"
"Create a client named Acme Holdings"
"Log a time entry on matter
<id>""Show open invoices and recent payments"
"List the firm's users"
Endpoint configuration
OAuth accepts only https://app.rocketmatter.net. The data endpoint accepts only
the two exact ProfitSolv LCS production/sandbox hosts listed in
rocketmatter_mcp/endpoint_validation.py; arbitrary Azure tenants are rejected.
Both endpoint settings reject userinfo, paths, query strings, fragments and ports
other than 443. A new vendor endpoint requires an allowlist update after verification.
The public LCS sandbox Swagger document
identifies the ProfitSolv LCS gateway. The legacy Rocket Matter reference
describes a different API; it does not establish additional LCS hosts.
Testing
The test suite runs offline and needs no Rocket Matter account: every Rocket Matter API call is replaced by an in-process test double. It covers path-identifier validation, error handling, OAuth callback and redirect validation, credential file handling, the setup and verify commands, the stdio server, and the Streamable HTTP transport including the 2026-07-28 wire format, Host and Origin checks and stateless requests.
uv sync --locked
uv run --locked pytest -q
CI runs the suite on every push and pull request to main.
License
MIT. See LICENSE.
Установка Rocketmatter
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/RosenAdvertising/rocketmatter-mcpFAQ
Rocketmatter MCP бесплатный?
Да, Rocketmatter MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Rocketmatter?
Нет, Rocketmatter работает без API-ключей и переменных окружения.
Rocketmatter — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Rocketmatter в Claude Desktop, Claude Code или Cursor?
Открой Rocketmatter на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Notion
Read and write pages in your workspace
автор: NotionLinear
Issues, cycles, triage — from Claude
автор: LinearGoogle Drive
Search and read your Drive files
автор: Googlemindsdb/mindsdb
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).
автор: mindsdbfulcradynamics/fulcra-context-mcp
Access personal health and biometric data (sleep stages, heart rate, HRV, glucose, workouts), calendar and location via the Fulcra Life API.
автор: fulcradynamicsrinadelph/Agent-MCP
Framework for building multi-agent systems that coordinate over MCP, with task management, shared context and RAG.
автор: rinadelphWhenLabs-org/when
Developer toolkit: stack detection for AI context files, port conflicts, .env schema validation, docs drift, dependency license audits and task timing.
автор: WhenLabs-orgBeltran12138/wecom-docs-mcp-server
WeCom (Enterprise WeChat) document operations via MCP: create, read, and edit Docs and Smartsheets (9 tools). Fills the doc-CRUD gap — existing WeCom MCP server
автор: Beltran12138freema/mcp-gsheets
Google Sheets API integration for reading, writing, formatting and sheet management.
автор: freemamattijsdp/dbt-docs-mcp
dbt-core (OSS) project metadata, model and column-level lineage, and dbt documentation.
автор: mattijsdpCompare Rocketmatter with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории productivity

