Skip to main content

Spectral documentation

Spectral exposes structural model creation workflows through a public Model API, a viewer, and an MCP server for agent clients.

Public endpoints​

SurfaceURLUse
Docshttps://docs.spectralco.coAPI, MCP, and workflow documentation.
Model APIhttps://viewer.spectralco.coProgrammatic model creation.
MCPhttps://viewer.spectralco.co/mcpAgent setup for model creation workflows.
Viewerhttps://viewer.spectralco.coBrowser-based review of created model output.

Start here​

  1. Configure authentication in Authentication.
  2. Review the generated Model API reference in Model Creation API.
  3. Pick an MCP client in MCP.
  4. Follow the first guide in Create a model.

What Is Automated​

The Model API reference is generated from a filtered FastAPI OpenAPI export. When public model-creation endpoints change, refresh docs-site/openapi/spectral-openapi.json, run the API generator, and rebuild the docs site.

The MCP setup pages are hand-written because each host has a different setup flow, but they share the same endpoint, scopes, and OAuth policy.