Skip to content

MCP

Every tool a coding agent can call on Sypnia Cases.

Applies to EngineCloud
View as Markdown
On this page
  1. One endpoint for Cases, the token decides
  2. Project tools
  3. create_project
  4. link_data_project
  5. upload_map
  6. read_map
  7. Map tools
  8. list_maps
  9. get_map
  10. get_case
  11. search_cases
  12. check_scope
  13. propose_change
  14. comment
  15. list_proposals
  16. get_links
  17. Navigation and events
  18. get_navigation
  19. find_place
  20. get_event_graph
  21. list_dead_letters
Terminal
claude mcp add --transport http sypnia-cases https://mcp.cases.sypnia.com

One 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 project argument.
  • A Cases project token (syp_cpt_…) works on that project only, and the project argument 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

create_project

EngineCloud
Creates a Cases project in one of your organizations (the same Sypnia organization as your Data project, by default). Input: 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.
Cloud
Links a Cases project with a Data project, both ways: the map points to the Data project, and Data’s control plane records the map. Checks, as you, that you can open both. Input: project, data_project.

upload_map

EngineCloud
Sends a map to a Cases project as a draft proposal: the output of 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.

read_map

EngineCloud
The approved map of a project (or a version), at the technical level, ready to work from. Input: 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.

list_maps

EngineCloud
The maps the caller can read, with their latest version. Input: optional organization.

get_map

EngineCloud
Areas, actors, journeys and the list of cases of a map version (latest approved by default).

get_case

EngineCloud
One case at the technical level, or the level you ask for, with its links (tables, health, commits, tasks). Input: project, case, optional level, version.

search_cases

EngineCloud
Cases matching words, an actor, a table or a status. Input: project, optional query, actor, table, status, version.

check_scope

EngineCloud
Runs the check against code the agent sends (the output of 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.

propose_change

EngineCloud
Opens a proposal: cases to add, change or retire, with a title and the reason in plain words. Never changes an approved version. Input: project, title, reason, changes.

comment

EngineCloud
Comments on a proposal, or on a case (one field of it, optionally). Input: project, body, and proposal, case or both, optional field.

list_proposals

EngineCloud
Proposals and their review state: drafts and open ones by default, or by status (pending, draft, open, merged, closed). Input: project, optional status.
EngineCloud
For one case: tables, production health, commits and pull requests, agent tasks.

get_navigation

EngineCloud
The navigation tree of a map version: roots, places with their paths, the cases on each place, and Telemetry’s findings. Input: project, optional root, version.

find_place

EngineCloud
Answers «where is it?»: from words («the price of a product»), a case id or a route, returns the place, its path, its route, the cases there and the files behind it. Input: project, query.

get_event_graph

EngineCloud
The event graph: which case starts on which outcome, public and internal outcomes per area, bounded loops, and each listener’s queue and dead letters. Input: project, optional from (an event name).

list_dead_letters

EngineCloud
The dead letters of a listener, with each event’s error and trace; without 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.
  1. One endpoint for Cases, the token decides
  2. Project tools
  3. create_project
  4. link_data_project
  5. upload_map
  6. read_map
  7. Map tools
  8. list_maps
  9. get_map
  10. get_case
  11. search_cases
  12. check_scope
  13. propose_change
  14. comment
  15. list_proposals
  16. get_links
  17. Navigation and events
  18. get_navigation
  19. find_place
  20. get_event_graph
  21. list_dead_letters

    Search pages, sections and terms