Connect PromptForge to your AI agent
Add our MCP endpoint to your client. Your agent can search and pull prompts directly.
Add via Claude Code CLI
Run this command in your terminal:
claude mcp add --transport http promptforge https://promptforge-mcp.pages.dev/api/mcp
Or add to your ~/.claude.json configuration file:
{
"mcpServers": {
"promptforge": {
"url": "https://promptforge-mcp.pages.dev/api/mcp"
}
}
}
Add to Cursor
Paste into .cursor/mcp.json or add under Cursor Settings > MCP:
{
"mcpServers": {
"promptforge": {
"url": "https://promptforge-mcp.pages.dev/api/mcp"
}
}
}
Codex & Streamable HTTP Clients
PromptForge exposes a standard stateless Streamable HTTP MCP endpoint (protocol 2025-06-18):
https://promptforge-mcp.pages.dev/api/mcp
MCP Tools & Troubleshooting
search_prompts: Free keyword search over titles, descriptions, kinds, and categories. Returns metadata only.get_prompt: Retrieves the full 9-part construction prompt for an item by slug. Requires an API key.fetch_blocks: Retrieves short-lived signed URLs (15 minutes) to download code blocks. Requires an API key.get_scaffold: Retrieves multi-page layout and tokens for whole-site items. Requires an API key.
Pass your key via the Authorization: Bearer <key> header or x-api-key: <key>. In local development, set DEV_MODE=1 to use dev-key.
If your editor reports 405 Method Not Allowed, ensure your client sends a POST request with JSON-RPC body. The endpoint is stateless and does not maintain SSE streams.