The MySpec Claude Code plugin is the official way to connect Claude Code to MySpec. It installs from the myspecs/claude-plugins marketplace, registers the @myspec/mcp-server MCP server with no config to write, and adds Spec-Driven Development skills that read your spec bundle, build it task by task, check the code against it, and write progress back to MySpec.
Wiring up the MCP server by hand gives Claude the keys to the drawing archive. The plugin also sends a foreman who knows how to read the drawings: which sheet to open first, how to turn each acceptance criterion into a test, when to stop and ask, and how to tick the task off on the master schedule so everyone sees it.
Two plugins, one marketplace
The marketplace is named myspec and has two plugins. Install myspec-mcp first - myspec-factory needs it.
| myspec-mcp | myspec-factory | |
|---|---|---|
| What it is | The MySpec MCP server plus SDD skills | A Software Factory Manager that runs a bundle to completion |
| Bundles | The myspec MCP server (npx -y @myspec/mcp-server, no secrets) and five skills | The Software Factory Manager output style and seven skills |
| Who it is for | Anyone building from MySpec specs in a single Claude Code session | Leads who want parallel worker sessions, pull requests, and milestone gates |
| Install where | Every machine, or shared through the repository settings | Only the machine that runs the manager |
myspec-mcp skills
/myspec-mcp:setup- sign in, use an API token, switch organization, fix connection errors.implement- build a spec bundle one task at a time: ask about open points, write tests from acceptance criteria, check the constitution, mark the task done on MySpec.analyze- check a bundle for gaps and conflicts, and check whether the code matches the spec (read-only).spec-authoring- write or update constitution, requirements, solution, tasks, change proposals, and OpenSpec changes in MySpec's formats, then push them.reverse-bridge- share a local repository with a MySpec brownfield spec session.
Only setup is a slash command. The other skills start on their own when you describe the task in plain words, for example "implement the next task from project X".
Before you start
- Claude Code with plugin support (
/pluginworks). - Node.js 22 or newer, with
npxon yourPATH. - A MySpec account - app.myspec.dev, free during Open Beta.
- A spec bundle to build from. Create one in the MySpec workflow, or write one with the
spec-authoringskill.
myspec-factory needs more - see section 08.
Add the marketplace and install
Inside Claude Code:
/plugin marketplace add myspecs/claude-plugins
/plugin install myspec-mcp@myspec Or from a terminal:
claude plugin marketplace add myspecs/claude-plugins
claude plugin install myspec-mcp@myspec Then restart Claude Code. Plugins load at startup, so the MCP server and skills appear only in a new session.
Sign in to MySpec
Run this from a terminal, or inside Claude Code with the ! prefix:
npx -y @myspec/mcp-server login - Add
--org <slug>to pick an organization if you belong to more than one. - Add
--pasteon a remote machine without a browser: open the printed URL anywhere and paste the whole<code>.<state>value back within 60 seconds.
For CI, containers, or shared machines, create an API token in the MySpec webapp (avatar menu → API tokens) and export it in the shell that starts claude:
export MYSPEC_API_TOKEN=msp_pat_...
claude
The MCP server starts before you sign in; its tools return a login hint until you do, then work without a restart. Credentials are stored in ~/.myspec/. Never put a token in .mcp.json or any file in a repository. More on tokens: API tokens on the MCP server page.
Check it works
/mcpshowsmyspecas connected./pluginlistsmyspec-mcpas enabled.- Run
/myspec-mcp:setup, or ask Claude: "Set up MySpec and check I'm signed in." Thesetupskill runs the checks and fixes what it can.
Build from your spec
Describe the task in plain words. The matching skill starts on its own:
Set up MySpec and check I'm signed in.
Implement the next task from the "inventory-service" project on MySpec.
Analyze the spec bundle for project X and show requirement coverage.
Does the code in this repo match the MySpec spec? What's missing?
Pull the specs for project X into .specs/ and summarise the requirements.
Write a requirements.md for this feature in MySpec format and push it to project X.
Draft an OpenSpec change proposal for adding rate limiting to the billing module.
Share this repo with my MySpec brownfield session. How implement works
- Resume. Read the tasks.md checkboxes on MySpec, the local
.specs/<bundle>/progress.md, and git history. - Read. The constitution in full, then only the requirement and solution sections the next task cites.
- Ask. At most five multiple-choice questions about open decisions, with the answers written back into the bundle.
- Build. One test per acceptance criterion, then the code, then a check against the constitution.
- Record. Mark the task
[x]on MySpec, update the progress note, and commit if you asked for commits. - Stop at milestones. Run the full test suite, check the code against the spec, and wait for your review.
The other skills
analyzereports constitution alignment, requirement-to-task coverage with a percentage, unclear wording, dependency cycles, and drift between code and spec. It adds gap tasks only when you approve.spec-authoringwrites EARS+ requirements, brownfield proposals and AR/BR/CR deltas, and OpenSpec changes in the exact formats MySpec's reviewers expect.reverse-bridgerunsnpx -y @myspec/mcp-server reverseso a MySpec brownfield session can read your local code.
Share it with your team
Commit this to the repository's .claude/settings.json. Team members are offered the marketplace and myspec-mcp when they open the repository:
{
"extraKnownMarketplaces": {
"myspec": { "source": { "source": "github", "repo": "myspecs/claude-plugins" } }
},
"enabledPlugins": {
"myspec-mcp@myspec": true
}
} - Each person still signs in (or exports
MYSPEC_API_TOKEN) on their own machine. - Add
.specs/to the repository's.gitignore. That folder holds spec files downloaded from MySpec and local progress notes. - Leave
myspec-factoryout of shared settings, so worker sessions do not load the manager skills.
The Software Factory (myspec-factory)
myspec-factory turns Claude Code into a Software Factory Manager. The manager never writes feature code. It groups related tasks from tasks.md into waves, starts one Claude Code worker session per group (in the cloud, or in a local git worktree as a fallback), checks and merges their pull requests, marks tasks done on MySpec, and stops at each milestone for your review. New to the idea? Read what an AI software factory is and how to build one.
Extra prerequisites
myspec-mcpinstalled and signed in.- The GitHub CLI (
gh) signed in with push and pull-request rights on the target repository, and a local clone with its default branch pushed to GitHub. - For cloud workers: Claude Code on the web, the Claude GitHub App on the repository, and
MYSPEC_API_TOKENset in the cloud environment at claude.ai/code.
Set it up
- Install it on the manager's machine only:
Inside Claude Code text
/plugin install myspec-factory@myspec - In the repository you want to manage, run
/myspec-factory:setup. It checks MySpec and GitHub access, cloud readiness, and branch protection, and proposes repository settings. It writes nothing until you approve. - Turn on the manager persona for that repository only -
/config→ Output style → Software Factory Manager, or in.claude/settings.local.json:.claude/settings.local.json json{ "outputStyle": "myspec-factory:Software Factory Manager" } - Start the manager with Remote Control, so it can see and message its cloud workers (or run
/remote-controlin a running session):From a terminal bashclaude --remote-control "factory <bundle>" - Ask: "Run the factory for project X, bundle Y."
Autonomy levels
| Level | Merges | Next wave |
|---|---|---|
| ask-each | Asks before every merge | Asks |
| merge-on-gate (recommended) | Merges on its own once the gate passes | Asks |
| full | Merges on its own once the gate passes | Starts the next wave of the same milestone on its own |
At every level the manager still asks about spec questions, changes beyond the spec, and starting the next milestone. It never force-pushes, bypasses branch protection, or merges a red pull request.
Set up the factory for this repository.
Run the factory for project "inventory-service", bundle "v1".
Plan the waves: which tasks can run in parallel?
Dispatch wave 2 in the cloud, at most 3 workers.
Integrate the open factory pull requests.
Schedule a factory shift every night at 2am. Update, remove, troubleshoot
/plugin marketplace update myspec
/plugin update myspec-mcp@myspec
/plugin update myspec-factory@myspec
Restart Claude Code after updating. To remove a plugin: /plugin uninstall <plugin>@myspec.
- Plugin not found on install - add the marketplace first and use the
@myspecsuffix. Check with/plugin marketplace list. myspecshows as failed in/mcp- checknode -vis 22 or newer, runnpx -y @myspec/mcp-server --versiononce to fill the npx cache, then restart.Not authenticatedor "run login" - runnpx -y @myspec/mcp-server login, or exportMYSPEC_API_TOKEN.missing required claims (sub, org), or HTTP 404 for a project you can see in the webapp - sign in to the right organization:npx -y @myspec/mcp-server login --org <slug>.- Two sets of MySpec tools - a project
.mcp.jsonorclaude mcp addalso registersmyspec. Remove that entry (or runclaude mcp remove myspec) and keep the plugin. - A tool a skill mentions is missing - your cached server is old. Run
npx -y @myspec/mcp-server@latest --version, then restart. /plugin updatedoes nothing - run/plugin marketplace update myspecfirst.
Or ask Claude to "troubleshoot my MySpec setup" - the setup skill walks through the checks. Full guides live in the myspecs/claude-plugins repository.
Frequently asked questions
What is the MySpec Claude Code plugin?
An official Claude Code plugin marketplace (myspecs/claude-plugins) with two plugins. myspec-mcp registers the @myspec/mcp-server MCP server and adds Spec-Driven Development skills to implement, analyze, and write MySpec spec bundles. myspec-factory turns Claude Code into a Software Factory Manager that runs a bundle to completion with parallel worker sessions.
Do I still need to configure the MCP server by hand?
No. myspec-mcp registers the myspec MCP server for you, with no secrets in its config. You only sign in once with npx -y @myspec/mcp-server login, or export MYSPEC_API_TOKEN. Do not also add the server with claude mcp add or a project .mcp.json - that gives you two sets of MySpec tools.
Does the plugin work in Cursor or Claude Desktop?
No - plugins are a Claude Code feature. In Cursor, Claude Desktop, or any other MCP client, configure @myspec/mcp-server directly as described on the MCP server page.
Do I need myspec-factory?
Only if you want Claude Code to manage a whole bundle with several worker sessions and pull requests. To build specs task by task in a single session, myspec-mcp is all you need.
Using Cursor, Claude Desktop, a hosted agent, or a CI runner? Configure @myspec/mcp-server directly - stdio with OAuth, or the HTTP server at mcp.myspec.dev with an API token. See the MCP server docs for every option and the full tool list.
Files the plugin builds from
Project vision, core principles, and the MUST / MUST NOT constraints every later file has to obey.
User roles, FR-/NFR- requirements with EARS+ acceptance criteria; a coded AR-/BR-/CR- delta for brownfield changes.
Architecture, modules, data model, and API design with Mermaid flowchart, ER and sequence diagrams - plus C4 diagrams when your organisation enables them.
Ordered, sized implementation tasks grouped into milestones, traced back to requirement IDs.
Why a brownfield change is needed, what changes, the technical solution, and its impact on existing code.
Spec Kit's prioritised user stories and success criteria, or OpenSpec's ADDED / MODIFIED / REMOVED / RENAMED requirement deltas.
Spec Kit's technical plan: technical context, constitution gates, architecture, data model, and key decisions.
OpenSpec's optional context, goals / non-goals, decisions, and risks for a change.
Create the bundle your plugin will build
The plugin builds from a MySpec spec bundle. Let the AI Architect interview you and write constitution.md, requirements.md, solution.md, and tasks.md first. Free during Open Beta.