Skip to content

Hosted MCP & Coding Agents

Topolix provides a hosted Model Context Protocol (MCP) server at https://topolix.io/api/mcp over stateless Streamable HTTP. Connected coding agents can search and read your architecture diagrams and documentation, propose validated updates, and work through Topolix pull request reviews with you.

Open Account settings → Connected agents in Topolix to view setup commands, active connections, and workspace access controls.

claude mcp add --transport http topolix https://topolix.io/api/mcp

Then run /mcp in Claude Code, select Topolix, and complete browser authentication.

codex mcp add topolix --url https://topolix.io/api/mcp
codex mcp login topolix

Authentication uses OAuth 2.1 with PKCE in your browser using your existing Topolix account. No API keys or model subscription tokens are required.

Tools What they do
list_workspaces List your workspaces that allow connected agents
list_folders, list_diagrams, search_content Discover domains, folders, diagrams, and documentation in a workspace
read_folder, read_diagram Read diagram DSL, Markdown documentation, hierarchy, and revision numbers
get_dsl_reference Read the Topolix diagram language reference
create_folder, update_folder Create or update folders, documentation, labels, and overviews
create_diagram, update_diagram Create or update diagrams with validated Topolix DSL and Markdown
get_pull_request_review, watch_pull_request Read a pull request’s latest review, findings, and thread replies, or wait for the next review event
decide_finding, reply_to_finding Mark a finding fixed or not an issue, or reply on its GitHub thread

Direct MCP content and review operations do not consume AI credits.

When your GitHub account is linked under Account settings → Connected agents → GitHub account, your agent can:

  1. Watch a pull request with watch_pull_request until a review finishes or you leave a reply on a finding thread in GitHub.
  2. Present open findings one at a time with proposed fixes and wait for your decision before changing code.
  3. Record each decision with decide_finding or reply with reply_to_finding, which Topolix syncs back to the GitHub pull request and updates the Topolix check run.

Replies from your own linked GitHub account are treated as instructions for your agent; finding text and replies from other people are treated strictly as context.

  • Role-based access: Every tool call re-checks your OAuth grant, workspace membership, role (viewers cannot write), and the workspace owner’s agent-access switch.
  • Safe concurrent edits: Writes require expected_revision and an idempotency_key, and diagram updates are validated against the real Topolix DSL parser before committing.
  • Scoped capabilities: Agents have no deletion, workspace administration, integration credential, repository-file, or SQL-query tools.
  • Instant revocation: Revoke any agent connection from Account settings → Connected agents, or disable agent access for an entire workspace in workspace settings.