Remote MCP Servers
Basic Remote Server
Install a remote MCP server using the default HTTP transport.Remote Server with SSE Transport
Some servers use Server-Sent Events (SSE) instead of HTTP streaming.Remote Server with Authentication
Add custom HTTP headers for servers that require authentication.Local Packages
npm Package
Install an MCP server from npm. The package will run vianpx.
Full Command with Arguments
Pass additional arguments to the MCP server command.Node.js Script
Run a custom Node.js script as an MCP server.Installation Modes
Non-Interactive Project Installation
Install to all detected agents in the project directory without prompts.Global Installation
Install to the global configuration for Claude Code without prompts.Install to All Agents
Install to all supported agents, globally, without prompts.Multiple Agents
Install to Specific Agents
Target multiple agents in a single command.Install with Custom Name
Provide a custom server name instead of using the auto-inferred name.Advanced Usage
Add to .gitignore
Automatically add generated config files to.gitignore (project-scoped only).
Context7 Example
A complete example installing the Context7 MCP server.Common Workflows
Development Team Setup
Install an MCP server for your team’s project with automatic .gitignore management..cursor/mcp.json, .vscode/mcp.json) will be committed with your project, and the CLI will add them to .gitignore automatically.