Skip to content

MCP Provider Setup

PopKit works with any MCP-compatible AI coding tool. The popkit-mcp server exposes PopKit’s 50 skills, 24 agents, and 25 commands as standard MCP tools that any client can call. See Architecture for how this fits into PopKit’s provider model.

This guide covers setup for each provider.

Install the PopKit MCP server:

Terminal window
pip install popkit-mcp

This installs the primary popkit-mcp command. It also installs popkit-mcp-server as a compatibility alias, but the examples below use popkit-mcp.

Or use uvx for zero-install:

Terminal window
uvx popkit-mcp

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

{
"mcpServers": {
"popkit": {
"command": "popkit-mcp",
"args": ["--transport", "stdio"]
}
}
}

Note: Cursor has a limit of ~40 tools across all MCP servers. PopKit exposes tools selectively to stay within this limit.


Add to ~/.codex/config.toml (global) or .codex/config.toml (per-project):

[mcp_servers.popkit]
command = "popkit-mcp"
args = ["--transport", "stdio"]

Codex also reads AGENTS.md for agent rules — PopKit can generate these via popkit-mcp --packages /path/to/packages.


Add to ~/.copilot/mcp-config.json (global) or .vscode/mcp.json (per-project):

{
"mcpServers": {
"popkit": {
"command": "popkit-mcp",
"args": ["--transport", "stdio"]
}
}
}

One-click install:

Install in VS Code Install in VS Code Insiders

Click the badge to auto-configure PopKit in VS Code. Requires pip install popkit-mcp first.

Note: the one-click install assumes popkit-mcp is on your PATH. On Windows this often is not true after pip install; if the badge install creates a non-working config, use Manual setup plus the Windows PATH fallback below.

Manual setup — add to .vscode/mcp.json (per-project):

{
"servers": {
"popkit": {
"command": "popkit-mcp",
"args": ["--transport", "stdio"]
}
}
}

Important: VS Code uses servers as the root key, not mcpServers — even though other Microsoft tools use mcpServers.

On Windows, pip install popkit-mcp may install popkit-mcp.exe in your user Scripts directory instead of on PATH:

Terminal window
%APPDATA%\Python\Python3xx\Scripts\

Use %APPDATA% instead of copying another user’s absolute path. Replace Python3xx with your installed Python folder. Run python --version to check the version.

If you do not want to edit PATH, point VS Code at the executable directly:

{
"servers": {
"popkit": {
"command": "C:\\Users\\YOUR-USERNAME\\AppData\\Roaming\\Python\\Python313\\Scripts\\popkit-mcp.exe",
"args": ["--transport", "stdio"]
}
}
}

Replace YOUR-USERNAME with your Windows username and Python313 with your installed Python version. Run python --version to check the version.

Check VS Code’s MCP server panel: popkit should show Connected. If it is stuck on Starting, check the MCP output log for the actual error.

In Copilot Chat (Agent mode):

Use PopKit health_check and summarize the result.

That confirms VS Code can start the MCP server and see PopKit tools.


Claude Code users should install PopKit as a plugin instead of using MCP:

Terminal window
/plugin marketplace add jrc1883/popkit-ai
/plugin install popkit-core@popkit-ai

See Installation for full plugin setup.


For debugging or remote setups, PopKit supports HTTP transports:

Terminal window
# Streamable HTTP (recommended for HTTP)
popkit-mcp --transport streamable-http --host 127.0.0.1 --port 8080
# SSE (Server-Sent Events)
popkit-mcp --transport sse --host 127.0.0.1 --port 8080

Then configure your MCP client to connect via HTTP instead of stdio.


ToolFormatGlobal PathPer-Project PathRoot Key
CursorJSON~/.cursor/mcp.json.cursor/mcp.jsonmcpServers
Codex CLITOML~/.codex/config.toml.codex/config.toml[mcp_servers.*]
Copilot CLIJSON~/.copilot/mcp-config.json.vscode/mcp.jsonmcpServers
VS CodeJSONUser settings.vscode/mcp.jsonservers
Claude CodeJSON~/.claude.json.mcp.jsonmcpServers

Verify the server starts correctly:

Terminal window
popkit-mcp --help

If the command isn’t found, ensure pip install popkit-mcp installed to a directory on your PATH. On Windows, see the VS Code Windows PATH fallback.

Some clients limit the number of MCP tools. PopKit exposes tools selectively — use --log-level DEBUG to see which tools are registered:

Terminal window
popkit-mcp --transport stdio --log-level DEBUG