Visually build MCP server configurations for Claude Code — add servers, set commands, and export as JSON
npx, node, python, or a direct binary path) and any arguments the command needs. For SSE transport, provide the server URL (e.g., http://localhost:3000/sse). Optionally add environment variables and custom headers for each server..mcp.json format — an object where each key is a server name and each value contains the transport configuration. Click Copy JSON to grab the configuration to your clipboard, or Download to save as .mcp.json for placement in your project root directory. Claude Code automatically discovers this file and connects to the configured MCP servers, giving the AI assistant access to external tools, APIs, databases, and services defined in your configuration.The Model Context Protocol (MCP) is an open standard developed by Anthropic that enables AI assistants like Claude to interact with external tools, data sources, and services through a standardized interface. Think of MCP as 'USB-C for AI tools' — before MCP, every AI-tool integration was a custom one-off implementation. With MCP, any tool that implements the MCP server specification can be discovered and used by any MCP-compatible client (like Claude Code). An MCP server provides: <strong>Tools</strong> (functions the AI can call, like file operations or database queries), <strong>Resources</strong> (data the AI can read, like documentation or database schemas), and <strong>Prompts</strong> (pre-defined prompt templates). The PivaBox MCP Config Builder simplifies the process of creating the <code>.mcp.json</code> configuration file that tells Claude Code which MCP servers to connect to. All configuration is built locally in your browser — your server settings and environment variables never leave your device.
The two transport types serve different deployment scenarios. <strong>stdio</strong> (standard input/output) is the most common transport — Claude Code spawns the MCP server as a child process and communicates via standard input/output streams. This is ideal for local tools where the MCP server runs on the same machine: filesystem access, local databases, code linters, and any tool that can be launched from the command line. Stdio is simpler to set up (no network configuration needed), more secure (no open ports), and has lower latency (no network round-trips). <strong>SSE (Server-Sent Events)</strong> is designed for remote MCP servers — the server runs as a web service accessible via HTTP, and Claude Code connects to it using SSE for server-to-client messages and HTTP POST for client-to-server messages. Use SSE when: the MCP server runs on a different machine (team-shared development servers, cloud-hosted tools), the server needs to be shared across multiple Claude Code instances, or the server is implemented in a language or framework that doesn't work well as a CLI subprocess. The PivaBox builder supports both transports with fields that appear contextually based on your selection.
MCP configurations support a hierarchy similar to <code>.gitignore</code> and <code>.eslintrc</code>. <strong>Project-level</strong>: place <code>.mcp.json</code> in your project root directory — Claude Code automatically discovers it when launched from that directory. Project-level configs are version-controlled (commit to git) so your entire team gets the same MCP server setup. <strong>Global-level</strong>: configure MCP servers globally via Claude Code's settings (<code>~/.claude/settings.json</code>) — these apply to all projects. Use global config for personal productivity tools (notes, calendar, email) and project config for team-shared development tools (package registry, deployment CLI, database tools). Claude Code merges both configurations, with project-level servers taking precedence in case of naming conflicts. The PivaBox MCP Config Builder helps you create either type — use it to prototype your configuration visually, then save the output to the appropriate location.