Connect via Claude Code
Add your prompt2love library to the Claude Code CLI so you can pull prompts straight from the terminal.
Prerequisites
- Claude Code installed and signed in.
- A prompt2love account.
Steps
-
Register the server. Run:
claude mcp add --transport http prompt2love https://prompt2love.com/api/mcpThis adds prompt2love as an HTTP MCP server named
prompt2love. -
Authenticate. Start Claude Code, then type:
/mcpSelect prompt2love and choose to authenticate. A browser window opens with the prompt2love OAuth consent screen — sign in and approve access. Control returns to the terminal once authorization completes.
-
Use it. Either invoke the prompt primitive directly:
/mcp__prompt2love__prompt <term>…or just ask Claude in natural language and let it call
searchandfetchon your behalf.
Troubleshooting
/mcpshows prompt2love as not connected — re-run the authenticate step; the browser OAuth flow must complete and return to the terminal.- Command not found — confirm Claude Code is installed and
claudeis on your PATH. - Wrong URL registered — remove the server and re-add it with the exact URL
https://prompt2love.com/api/mcp.