A

Agentplaybooks

by agentplaybooks.ai · ai.agentplaybooks/agentplaybooks

Self-hostable MCP server for portable AI agent playbooks: manage skills, MCP configurations, personas, instructions, memory, and canvas documents. The public Next.js source implements Streamable HTTP MCP at /api/mcp/manage; users can run it with the repository's Dockerfile and their own database configuration.

Remote GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ai-agentplaybooks-agentplaybooks": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://agentplaybooks.ai/api/mcp/manage"
      ]
    }
  }
}

Restart Claude Desktop to activate the new server. If the server uses OAuth (not known from registry metadata), mcp-remote opens a browser to sign in on first start and caches tokens in ~/.mcp-auth.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "ai-agentplaybooks-agentplaybooks": {
      "url": "https://agentplaybooks.ai/api/mcp/manage"
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "ai-agentplaybooks-agentplaybooks": {
      "type": "http",
      "url": "https://agentplaybooks.ai/api/mcp/manage"
    }
  }
}

The server will be available in the next Claude Code session. If the server uses OAuth, run /mcp inside Claude Code to authenticate.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "ai-agentplaybooks-agentplaybooks": {
      "type": "http",
      "url": "https://agentplaybooks.ai/api/mcp/manage"
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "ai-agentplaybooks-agentplaybooks": {
      "serverUrl": "https://agentplaybooks.ai/api/mcp/manage"
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "ai-agentplaybooks-agentplaybooks": {
      "type": "streamableHttp",
      "url": "https://agentplaybooks.ai/api/mcp/manage"
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
AGENTPLAYBOOKS_API_KEY No User API key from that same instance. Existing tool permissions and ownership checks apply. Without configuration, tool execution returns an explicit error.
SECRETS_ENCRYPTION_KEY No Existing instance encryption key, required for vault operations. Preserve the original key for existing ciphertext.
NEXT_PUBLIC_SUPABASE_URL No Supabase project URL for your own AgentPlaybooks instance. Needed for data operations; not required for startup or tool discovery.
SUPABASE_SERVICE_ROLE_KEY No Server-only Supabase service key for your own instance. Never include real credentials in build placeholders.
NEXT_PUBLIC_SUPABASE_ANON_KEY No Supabase anon/publishable key for that instance. Needed for data operations.

Remote headers

HTTP headers the remote endpoint expects.

NameRequiredDescription
Authorization secret No Optional. OAuth 2.1 with PKCE is the default: an OAuth-capable client gets a 401 with a resource_metadata challenge and signs in through the browser. Set this only for headless use, as a Bearer AgentPlaybooks user API key (for example: Bearer apb_live_...).

Similar servers