Skip to main content
INTEGRATION PROTOCOL · MCP · QUICK START

MCP Server

Your MySpec specs in your AI coding agent

MySpec speaks the Model Context Protocol (MCP), so Claude, ChatGPT, Cursor, Claude Code and any other MCP client can list your projects, read and update spec files, add comments, and even start new spec sessions - no copy-pasting from the browser.

OFFICIAL DOCUMENTATION · DOCS.MYSPEC.DEV

This page gets you connected in a minute. The full guide - every sign-in option, API tokens, the tool reference, limits, and troubleshooting - lives in the official MySpec Docs.

READ THE MCP DOCS ↗

Two servers - pick one

Both servers offer nearly the same tools. Pick the one that fits where your client runs.

Remote server Local server
What it is A hosted endpoint at mcp.myspec.dev The @myspec/mcp-server npm package, run with npx
Transport Streamable HTTP stdio
Sign-in OAuth (connectors) or an API token Browser sign-in or an API token
Install Nothing Node.js 22 or later
Works in Claude (web, desktop, mobile), ChatGPT, Claude Code, any HTTP MCP client Claude Desktop, Claude Code, Cursor, VS Code and other local clients
Local files No Yes: download spec files, upload from disk, share a folder for Brownfield projects
  • Claude or ChatGPT in the browser or desktop app? Use the remote server as a connector.
  • A coding agent on your own machine? Either works. The local server can also save spec files to disk and share your code with Brownfield sessions.
  • A server, container, or CI job? Use an API token with either server.

REMOTE · HTTP · NOTHING TO INSTALL

Quick start: remote server

Use this URL exactly as shown, including /mcp:

MCP server URL text
https://mcp.myspec.dev/mcp
  • Claude (web, desktop, mobile): Settings → Connectors → Add custom connector, paste the URL, then sign in to MySpec and approve access.
  • ChatGPT: Settings → Apps & Connectors, turn on developer mode, select Create, paste the URL and choose OAuth.
  • Claude Code: run the command below, then run /mcp, choose myspec and sign in.
Claude Code bash
claude mcp add --transport http myspec https://mcp.myspec.dev/mcp

Full remote server guide: other clients, API tokens, tool limits ↗


LOCAL · STDIO · NODE.JS 22+

Quick start: local server

  1. Sign in. Your browser opens; approve the request.
    Sign in bash
    npx -y @myspec/mcp-server login
  2. Add the server to your client. In Claude Code:
    Claude Code bash
    claude mcp add myspec --scope user -- npx -y @myspec/mcp-server
    In Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json), or a project .mcp.json:
    .mcp.json json
    {
      "mcpServers": {
        "myspec": {
          "command": "npx",
          "args": ["-y", "@myspec/mcp-server"]
        }
      }
    }
  3. Ask your agent to "list my MySpec projects".

Brownfield project? The local server can also let MySpec's AI read one folder of your code while a session runs:

Share a local folder bash
npx -y @myspec/mcp-server reverse --root ./my-project

Full local server guide: sign-in options, organizations, sharing a folder ↗

Claude Code · Plugin

Or install the official Claude Code plugin

The myspec-mcp plugin registers the local server for you and adds Spec-Driven Development skills to implement, analyze, and write MySpec spec bundles. Run inside Claude Code, restart, then sign in with npx -y @myspec/mcp-server login:

Inside Claude Code text
/plugin marketplace add myspecs/claude-plugins
/plugin install myspec-mcp@myspec

Use one method, not both: if the plugin is installed, remove any other myspec entry (claude mcp remove myspec), or Claude Code loads two sets of MySpec tools.

Plugin quick start: install, sign in, first prompts →


No browser? Use an API token

For a server, a container, a CI job, or a shared machine, use an API token (msp_pat_…) instead of signing in. Create one in the MySpec web app: avatar menu → API tokens → Create token. Give it to the local server as MYSPEC_API_TOKEN, or send it to the remote server as an Authorization: Bearer header. Treat it like a password and keep it out of committed files.

API tokens: create, use, extend, revoke ↗


Read the full docs

Everything else - the full tool list, limits, and fixes for errors - is on docs.myspec.dev.


Frequently asked questions

What can I do with the MySpec MCP server?

Your AI client can list and manage your MySpec projects; read, upload, and update spec files as versioned revisions; read attachments; read and add comments; update tasks; and start or tidy spec sessions - without switching to the browser. See the tool reference for the full list.

Do I need to install anything?

Not for the remote server - add https://mcp.myspec.dev/mcp to your client and sign in. The local server needs Node.js 22 or later; npx -y @myspec/mcp-server runs it directly, with nothing to install globally.

My agent runs in the cloud or in CI. Can it still use MySpec?

Yes. Point it at the remote server and send an API token in the Authorization header, or give the token to the local server as MYSPEC_API_TOKEN. No browser is needed.

Is there a Claude Code plugin?

Yes. Run /plugin marketplace add myspecs/claude-plugins and /plugin install myspec-mcp@myspec inside Claude Code. The plugin registers the server for you and adds skills that implement, analyze, and write MySpec spec bundles; a second plugin, myspec-factory, runs a whole bundle with parallel worker sessions. See the Claude Code plugin quick start.

Something does not work. Where do I look?

Start with Troubleshooting in the docs - it is organized by the error message you see. For the local server, npx -y @myspec/mcp-server auth status shows the account and organization you are signed in to.