Connect an app · Terminal and IDE
Connect Claude Code to Putcode
One command adds Putcode to Claude Code; /mcp signs you in.
What you need
- Claude Code installed.
- A browser on the same machine for sign-in. On a remote server, use a token instead (below).
Add Putcode
--scope user makes Putcode available in every project. Use --scope project to share it with your repo in .mcp.json.
claude mcp add --transport http --scope user putcode https://putcode.dev/mcp- Start Claude Code and run
/mcp. - Pick putcode, then Authenticate. Your browser opens.
- Sign in to Putcode, choose permissions and select Allow.
Add the skill (optional)
The Putcode skill teaches Claude when to search your library first, how to write snippets that work in the preview, and when to ask before publishing.
mkdir -p ~/.claude/skills/putcode
curl -fsSL https://putcode.dev/.well-known/agent-skills/putcode/SKILL.md -o ~/.claude/skills/putcode/SKILL.mdUse it
Ask in plain words, or use Putcode's prompts as slash commands, like /mcp__putcode__create_css_component and /mcp__putcode__review_css_accessibility.
Check it works
In Claude Code, ask: "Use Putcode to show my profile." The agent calls get_my_profile and replies with your username, plan and the permissions you gave it.
Then try: "Save this button to Putcode", "Find a pricing table in my Putcode snippets", or "Fork the orbit loader on Putcode and make it blue". New snippets are private drafts until you publish them.
Without a browser
Create a token in Agents & MCP and pass it as a header:
claude mcp add --transport http --scope user putcode https://putcode.dev/mcp \
--header "Authorization: Bearer pc_YOUR_TOKEN"Troubleshooting
/mcpshows putcode as failed.- Run
claude mcp get putcodeto check the URL, then pick it in/mcpand authenticate again. - Sign-in opens a browser on the wrong machine.
- Over SSH, use the token setup above.
- The agent says a plan limit was reached.
- Free accounts hold up to 100 public and 10 private or unlisted snippets. See pricing.
- I want to disconnect an app.
- Revoke it in Agents & MCP. Its access stops right away.
- Publishing waits for approval.
- That's your publish setting. Approve requests from your dashboard, or switch to "Publish right away" and give the app the publish permission.
More
Every tool, permission and limit is in the MCP server reference. Manage connected apps and tokens in Agents & MCP. Using another app? See all apps.