Connecting to Claude Code
Connect your Promptsy vault to Claude Code to browse, search, and save prompts directly in your terminal conversations.
Prerequisites
- Claude Code CLI installed
- A Promptsy account (any tier)
Add Promptsy Server
Add the Promptsy MCP server to your Claude Code configuration. You can do this via the settings command or by editing your config file directly.
Option 1: Using CLI Command
Run the following command to add Promptsy as an HTTP MCP server:
claude mcp add --transport http promptsy https://mcp.promptsy.dev/mcp
The --transport http (or -t http) flag is required for remote HTTP MCP servers.
Option 2: Edit Config File
Add Promptsy to your MCP configuration file:
{
"mcpServers": {
"promptsy": {
"url": "https://mcp.promptsy.dev/mcp"
}
}
}
Authorize Promptsy
The first time you use a Promptsy tool, you'll need to authorize access:
- Ask Claude Code to "show my prompts" or use any Promptsy tool
- A link will appear asking you to authorize
- Click the link to open Promptsy in your browser
- Review the permissions and click Approve
- Return to Claude Code
Permissions
When authorizing, you'll grant these scopes:
| Scope | What it allows |
|---|---|
prompts:read | View your prompts and collections |
prompts:write | Create and save prompts |
account:read | View your account tier and credits |
Start Using Promptsy
You're all set! Try these commands:
Browse Your Prompts
"Show me my prompts"
Claude Code will display your prompts with options to copy or expand them.
Save a New Prompt
"Save this as a prompt called 'Code Reviewer' with category 'coding'"
Claude Code will save the prompt to your vault and confirm with a link.
Search Public Prompts
"Search public prompts for debugging"
Browse the Promptsy community without authentication.
Available Tools
| Tool | Description | Auth Required |
|---|---|---|
browse_prompts | Browse your personal prompt library | Yes |
save_prompt | Save a new prompt to your vault | Yes |
search_public_prompts | Search the public prompt community | No |
Troubleshooting
Tools not appearing
- Restart Claude Code after adding the server
- Verify the URL is correct:
https://mcp.promptsy.dev/mcp
Authorization failed
- Make sure you're logged into Promptsy in your browser
- Try the authorization flow again
"Not authorized" error
- Go to promptsy.dev/settings
- Check "Connected Apps" section
- Revoke and re-authorize if needed
Revoking Access
To disconnect Promptsy from Claude Code:
- Go to promptsy.dev/settings
- Find Claude Code in "Connected Apps"
- Click Revoke Access