Skip to content

MCP Setup

Connect PromptNote to Claude, Cursor, VS Code, Windsurf, and other AI tools via Model Context Protocol.

The PromptNote MCP server lets AI assistants access your prompt library. Use your prompts directly in any MCP-compatible tool.

  1. Sign in and open MCP / API Access (or click your avatar → MCP / API Access)
  2. Click Generate API Token
  3. Copy the pn_... token immediately — it is only shown once

Pick your client below. All use the same server URL and token.

Server URL:

https://tafnybfhwybgijozwfyq.supabase.co/functions/v1/promptnote-mcp/mcp

Add to your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"promptnote": {
"type": "http",
"url": "https://tafnybfhwybgijozwfyq.supabase.co/functions/v1/promptnote-mcp/mcp",
"headers": {
"Authorization": "Bearer pn_YOUR_TOKEN_HERE"
}
}
}
}

Restart Claude Desktop after saving.

Run this command in your terminal:

Terminal window
claude mcp add --transport http promptnote \
https://tafnybfhwybgijozwfyq.supabase.co/functions/v1/promptnote-mcp/mcp \
--header "Authorization: Bearer pn_YOUR_TOKEN_HERE"

This adds PromptNote to your Claude Code MCP configuration. The server is available immediately — no restart needed.

Go to Settings → MCP Servers → Add new MCP server, or edit your Cursor MCP config directly:

{
"mcpServers": {
"promptnote": {
"type": "http",
"url": "https://tafnybfhwybgijozwfyq.supabase.co/functions/v1/promptnote-mcp/mcp",
"headers": {
"Authorization": "Bearer pn_YOUR_TOKEN_HERE"
}
}
}
}

Toggle the server off and on in settings if tools don’t appear right away.

Create or open .vscode/mcp.json in your project (or run MCP: Open User Configuration for global setup):

{
"servers": {
"promptnote": {
"type": "http",
"url": "https://tafnybfhwybgijozwfyq.supabase.co/functions/v1/promptnote-mcp/mcp",
"headers": {
"Authorization": "Bearer pn_YOUR_TOKEN_HERE"
}
}
}
}

Requires VS Code 1.99+ with GitHub Copilot agent mode enabled.

Edit ~/.codeium/windsurf/mcp_config.json (or click View raw config in Windsurf MCP settings):

{
"mcpServers": {
"promptnote": {
"serverUrl": "https://tafnybfhwybgijozwfyq.supabase.co/functions/v1/promptnote-mcp/mcp",
"headers": {
"Authorization": "Bearer pn_YOUR_TOKEN_HERE"
}
}
}
}

Click Refresh in Windsurf MCP settings after saving.

Add to your Zed settings (~/.config/zed/settings.json):

{
"context_servers": {
"promptnote": {
"command": "npx",
"args": [
"-y", "mcp-remote",
"https://tafnybfhwybgijozwfyq.supabase.co/functions/v1/promptnote-mcp/mcp",
"--header", "Authorization: Bearer pn_YOUR_TOKEN_HERE"
]
}
}
}

Add to your OpenCode config (~/.config/opencode/config.json):

{
"mcp": {
"promptnote": {
"type": "remote",
"url": "https://tafnybfhwybgijozwfyq.supabase.co/functions/v1/promptnote-mcp/mcp",
"headers": {
"Authorization": "Bearer pn_YOUR_TOKEN_HERE"
}
}
}
}

Any MCP client that supports remote HTTP servers can connect to PromptNote. You need:

FieldValue
Server URLhttps://tafnybfhwybgijozwfyq.supabase.co/functions/v1/promptnote-mcp/mcp
TransportHTTP (Streamable HTTP)
Auth headerAuthorization: Bearer pn_YOUR_TOKEN_HERE

For stdio-only clients, use the mcp-remote bridge:

Terminal window
npx mcp-remote https://tafnybfhwybgijozwfyq.supabase.co/functions/v1/promptnote-mcp/mcp \
--header "Authorization: Bearer pn_YOUR_TOKEN_HERE"

Ask your AI assistant:

“List my notes from PromptNote”

or

“Search my prompts for ‘system prompt’”

If tools appear and return your data, setup is complete. See the Tool Reference for everything you can do.

“Server not responding” or connection error

  • Verify the URL is exactly as shown above (no trailing spaces)
  • Ensure the Authorization header uses Bearer (with a space) before the token
  • Restart your AI tool after editing the config file

“Authentication failed” or empty results

  • Check your token starts with pn_ and was pasted completely
  • Token may have been revoked — generate a new one from the web app
  • Verify you have notes in your account at app.promptnoteapp.com

Tools not appearing

  • Make sure the config JSON is valid (no trailing commas, correct nesting)
  • Claude Desktop: fully quit and relaunch (not just close the window)
  • Cursor: toggle the MCP server off and on in settings
  • VS Code: ensure Copilot agent mode is enabled
  • Windsurf: click Refresh after saving config
  • All queries are scoped to your account — you can only access your own data
  • Shared tag notes from other users are read-only
  • API tokens are hashed before storage — the plain token is never stored