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.
Connect an agent
Section titled “Connect an agent”Open Account settings → Connected agents in Topolix to view setup commands, active connections, and workspace access controls.
Claude Code
Section titled “Claude Code”claude mcp add --transport http topolix https://topolix.io/api/mcpThen run /mcp in Claude Code, select Topolix, and complete browser authentication.
codex mcp add topolix --url https://topolix.io/api/mcpcodex mcp login topolixAuthentication uses OAuth 2.1 with PKCE in your browser using your existing Topolix account. No API keys or model subscription tokens are required.
Available tools
Section titled “Available tools”| 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.
Working through pull request reviews
Section titled “Working through pull request reviews”When your GitHub account is linked under Account settings → Connected agents → GitHub account, your agent can:
- Watch a pull request with
watch_pull_requestuntil a review finishes or you leave a reply on a finding thread in GitHub. - Present open findings one at a time with proposed fixes and wait for your decision before changing code.
- Record each decision with
decide_findingor reply withreply_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.
Safety, permissions, and revocation
Section titled “Safety, permissions, and revocation”- 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_revisionand anidempotency_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.