Skip to main content

Install the Plugged.in MCP Proxy

The proxy is published as @pluggedin/pluggedin-mcp-proxy. This guide walks you through installing it with your preferred toolchain, configuring credentials, and validating the deployment.

1. Prerequisites

  • Node.js 20 LTS or newer (required for top-level await and the MCP SDK)
  • npm 10+ or pnpm 9+
  • Plugged.in API key with MCP access
  • Optional: Docker 24+ if you plan to containerize the proxy

2. Choose an installation path

Ideal for local testing or temporary sessions.

3. Configure credentials

Set them inline (VAR=value command) or export them in your shell profile.

4. Deployment options

  • Plugged.in Cloud (managed): Teams on the hosted Plugged.in platform can provision the MCP Proxy directly in the cloud. The managed instance stays updated automatically, scales with usage, and exposes the HTTP endpoint without any local setup. Use this when you need zero-maintenance infrastructure or want to share the proxy across your team instantly.
  • Local desktop integration: Run the proxy in STDIO mode when attaching Claude Desktop, Cursor, or any Inspector session running on the same machine. This keeps everything offline except for calls to the Plugged.in API.
  • Local or on-prem HTTP service: Use Streamable HTTP mode on a server you control (VM, bare metal, container, or serverless environment) when multiple users or remote IDEs need to reuse the proxy. Pair it with --require-api-auth for authenticated access.
  • Hybrid setups: Mix approaches by running STDIO for developer workstations and deploying a hardened HTTP instance (or the cloud version) for production workloads.

5. Run the proxy locally

STDIO mode (default)

  • STDIO mode is best for desktop clients and the MCP Inspector.
  • The process stays attached to stdin/stdout; avoid printing extra logs unless debugging.

Streamable HTTP mode

  • --port defaults to 12006; change it if the port is busy.
  • --require-api-auth enforces Authorization: Bearer <PLUGGEDIN_API_KEY> for tool/resource calls.
  • --stateless creates a new transport per request (set this for serverless or load-balanced deployments).
Health check: GET http://localhost:12006/health

6. Containerized deployment

Build your own image (optional):
Run it:
Attach the MCP Inspector to the live container:
(Replace the container name if you chose a different one.)

7. Validate the installation

Inside the Inspector, run tools/list to confirm Plugged.in static tools and your registered servers appear. Call pluggedin_ask_knowledge_base to verify document access.

8. Development and testing scripts

The project package.json exposes scripts that simplify local builds, testing, and inspector workflows: All inspector commands rely on the published dist output, so run pnpm build first or use the version shipped on npm via npx @pluggedin/pluggedin-mcp-proxy.

9. CLI flags reference

10. Next steps

  1. Follow the Setup Guide to connect your MCP clients.
  2. Explore the Overview to understand the proxy architecture and built-in capabilities.