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.
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.
Quick start: remote server
Use this URL exactly as shown, including /mcp:
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, choosemyspecand sign in.
claude mcp add --transport http myspec https://mcp.myspec.dev/mcp Full remote server guide: other clients, API tokens, tool limits ↗
Quick start: local server
-
Sign in. Your browser opens; approve the request.
Sign in bash
npx -y @myspec/mcp-server login -
Add the server to your client. In Claude Code:
In Claude Desktop (Claude Code bash
claude mcp add myspec --scope user -- npx -y @myspec/mcp-serverclaude_desktop_config.json), Cursor (.cursor/mcp.json), or a project.mcp.json:.mcp.json json{ "mcpServers": { "myspec": { "command": "npx", "args": ["-y", "@myspec/mcp-server"] } } } - 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:
npx -y @myspec/mcp-server reverse --root ./my-project Full local server guide: sign-in options, organizations, sharing a folder ↗
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:
/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.
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.
Read the full docs
Everything else - the full tool list, limits, and fixes for errors - is on docs.myspec.dev.
Remote MCP server
Connectors for Claude and ChatGPT, API tokens over HTTP, and limiting the tools an agent sees.
Local MCP server
Every sign-in option, choosing an organization, and setup for each client.
API tokens
Create, extend and revoke tokens for servers, containers and CI.
Tool reference
Every tool, which ones change data, and the rules for paging and edit conflicts.
Stream tokens
Let a script or an agent follow a project's live events.
Troubleshooting
Fixes for common problems, organized by the error message you see.
Brownfield projects
Let MySpec read your existing code with the reverse bridge or a mounted folder.
Quickstart
New to MySpec? Go from a new account to a finished set of spec files.
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.