MCP
Every tool a coding agent can call on Sypnia Cases.
claude mcp add --transport http sypnia-cases https://mcp.cases.sypnia.comOne endpoint for Cases, the token decides
Cases has its own MCP endpoint, mcp.cases.sypnia.com, following the same rule as Sypnia Data (mcp.data.sypnia.com): one endpoint per product, and the token says who is calling.
- A Sypnia account token (a session, the agent session from the device flow, or a Sypnia PAT) works on every Cases project of your organizations. Tools take a
projectargument. - A Cases project token (
syp_cpt_…) works on that project only, and theprojectargument can be left out. An owner creates it with the API (POST /v1/maps/{map}/tokens); it is shown once, acts as an editor and never approves (Project tokens). It is the token for CI and for agents that should touch one map.
The endpoint speaks MCP over streamable HTTP and keeps no session: every request carries its token, and the answer is JSON. https://mcp.cases.sypnia.com works with or without the /mcp path. A client that arrives without a token gets 401 with the address of the protected resource metadata, which names the Sypnia sign-in, so it can start OAuth on its own. A self-hosted server serves the same tools at https://<your host>/mcp.
An agent that sets up an app adds both servers once (sypnia-data and sypnia-cases) and uses the same Sypnia account in both. link_data_project is the tool that crosses products: it calls Sypnia Data on your behalf, as the person your token proves, so it only links projects you can open in both. Any Sypnia session works for it, including the agent’s session bound to a key (Authentication).
Project tools
organization, name, optional slug, data_project to link at once, and files (the files of the format) to start from. Returns the project and its map’s address.project, data_project.npx @sypnia/cases map --json, the document map --upload sends, or the files of the format. Never changes an approved version. Input: project, map, title.project, optional version.Map tools
The agent signs in with a Sypnia account (OAuth in the browser, or an agent session from the device flow) and sees the maps of that account’s workspaces.
organization.level you ask for, with its links (tables, health, commits, tasks). Input: project, case, optional level, version.project, optional query, actor, table, status, version.npx @sypnia/cases map --json, or a list of case ids found in commits) and returns the findings, as cases check --json. Input: project, code or caseIds, optional contract.project, title, reason, changes.project, body, and proposal, case or both, optional field.status (pending, draft, open, merged, closed). Input: project, optional status.Navigation and events
project, optional root, version.project, query.project, optional from (an event name).listener, how many each listener has. Read only: sending them again is for a person, from the CLI or the editor. Input: project, optional listener.