Skip to main content

MCP

Spectral exposes model workflows to agent hosts through the MCP endpoint:

https://viewer.spectralco.co/mcp

Supported clients​

ClientPageStatus
ChatGPTChatGPTDeveloper Mode setup with OAuth.
CodexCodexCLI, IDE, and app MCP setup.
Claude CodeClaude CodeRemote HTTP MCP setup.
CursorCursorProject or global MCP config.

Access Model​

Public setup uses OAuth with:

mcp:models:read mcp:models:write

What Spectral Exposes​

Authorized MCP hosts see the production Code Mode tools:

  • search
  • get_schema
  • execute

Through execute, hosts can create models, create/edit/query/remove model elements, and return viewer payloads for models created through the workflow.

Review write tool calls before approving them. A host with mcp:models:write can create or change model data when you ask it to do so.