Guide

Self-hosted MCP servers: one laptop or a whole team

A self-hosted MCP server runs on machines you control. Over stdio, your AI app starts it on your computer and it serves only you; over Streamable HTTP, it runs as a service a whole team and browser apps can reach, so it needs login, an Origin check and an HTTPS address. Open Tooling's five servers run locally over stdio today, and Attri hosts them in your own cloud account when a team needs remote access.

Updated

What is the difference between a local and a remote MCP server?

The MCP specification, revision 2026-07-28, defines two standard transports. Over stdio, the client launches the server as a subprocess and they exchange newline-delimited messages through its standard input and output. Over Streamable HTTP, the server is an independent process and every message is an HTTP POST to one endpoint, such as https://example.com/mcp.

The older HTTP+SSE transport has been deprecated since protocol version 2025-03-26, and the specification says new implementations should not adopt it.

Compared onLocal, over stdioRemote, over Streamable HTTP
Who starts itYour AI app, on your machine, when it opensYou or your platform team, as a service that keeps running
Who can reach itOnly the app that started itAny client that can reach the address, unless the server checks who is calling
CredentialsRead from the environment; the spec's authorization rules don't applyOptional in the spec; when used, its OAuth 2.1-based authorization rules apply
Apps that can use itDesktop and command-line apps such as Claude Desktop, Claude Code, Cursor, VS Code and Gemini CLIBrowser and cloud apps such as claude.ai, Cowork and ChatGPT

Which AI apps need a remote MCP server?

Apps that run in a browser or a vendor's cloud can't launch a process on your computer. Anthropic's help centre says Claude reaches custom connectors from Anthropic's cloud infrastructure, so the server must be reachable over the public internet from Anthropic's IP ranges. Local servers set up in claude_desktop_config.json are a separate mechanism, and claude.ai and Cowork can't use them.

OpenAI's Apps SDK documentation says ChatGPT needs the server at a public HTTPS endpoint or behind its Secure MCP Tunnel. A development tunnel works for local testing.

For one person in a desktop or command-line app, a local server is the simplest setup: the app starts it from a config entry, and nothing listens on a network port.

What does a regulated team need from a remote MCP server?

The specification sets three security rules for Streamable HTTP. Servers must validate the Origin header on every connection, to stop DNS rebinding attacks. They should bind to 127.0.0.1 when running locally, and they should authenticate every connection.

Check who handles authentication. The README of ivnvxd/mcp-server-odoo warns that its HTTP transport has no built-in client authentication and recommends an authenticating reverse proxy, and none of Open Tooling's five servers ships login. A regulated team needs:

  • Login through your identity provider, so every tool call has a named person behind it.
  • Permissions by person or group: who may call which tool.
  • A log of every tool call, kept where your auditors can read it.
  • The server and its data inside a cloud account you own, with your retention rules.
  • Write rules inside the server, next to the data, so they hold whichever client or gateway sends the write.

How do Open Tooling's servers run on your own machine?

All five start over stdio by default, and none ships login. OpenHR and OpenERP also serve Streamable HTTP, and their Docker images bind it to localhost. We started both on 6 October 2026: each answered an MCP initialize request at /mcp, and OpenHR refused a request from a foreign Origin with HTTP 403.

ToolStart it for your AI appNetwork mode in the repository
OpenCRMnpm run mcp (stdio)None for MCP. A separate REST API listens on port 8787.
OpenLedgerpython run_mcp.py (stdio)SSE, the deprecated transport: MCP_TRANSPORT=sse python -m src.mcp_server
OpenWatchpython run_mcp.py (stdio)SSE, the deprecated transport: python -m src.mcp_server. A read-only REST API listens on port 8788.
OpenHRpython run_mcp.py (stdio)Streamable HTTP at /mcp on port 8792. Its Docker image runs this mode.
OpenERPpython run_mcp.py (stdio)Streamable HTTP at /mcp on port 8793. Its Docker image runs this mode.
  1. 01

    Install a tool

    OpenCRM needs Node.js. The seed step loads sample CRM data.

    git clone https://github.com/Attri-Inc/open-crm.git
    cd open-crm
    npm install
    cp .env.example .env
    npm run seed
  2. 02

    Add one entry to your AI app's config

    For Claude Desktop it goes in claude_desktop_config.json; Cursor and Gemini CLI use the same format. The app starts the server when it opens.

    {
      "mcpServers": {
        "opencrm": {
          "command": "/path/to/open-crm/node_modules/.bin/tsx",
          "args": ["/path/to/open-crm/src/mcp.ts"],
          "env": { "CRM_DB_PATH": "/path/to/open-crm/data/crm.db" }
        }
      }
    }
  3. 03

    Keep HTTP on your machine until it has a login

    If you run OpenHR or OpenERP over HTTP, keep it bound to localhost, as their Docker images are. Put an authenticating proxy, or an Attri deployment, in front before anyone else connects.

What does Attri's hosted option add?

These parts come with an Attri deployment and are not in the open-source repositories. The tools stay Apache 2.0, so they keep working without Attri.

  • Deployment inside your own cloud account. Attri operates it; you keep the keys.
  • Login and permissions in front of every tool, so each person sees what they should.
  • Remote access, so the team can use the tools from claude.ai and ChatGPT.
  • Connectors to the systems your team already uses, and rules for how long records are kept.

Do you need an MCP gateway?

A gateway helps when many people use several MCP servers: it puts one login, one permission model and one log in front of all of them. It controls who may call which tool; the rules for what a valid record looks like stay in each server. Three options, checked 6 October 2026:

  • Obot (obot-platform/obot, MIT, 1,091 stars): an open-source platform whose MCP gateway controls server and tool access by user or identity-provider group, hosts npx, uvx and container servers on Docker or Kubernetes, and keeps correlated audit logs.
  • Microsoft MCP Gateway (microsoft/mcp-gateway, MIT, 861 stars): a reverse proxy and lifecycle manager for MCP servers on Kubernetes, with Entra ID sign-in and app-role authorization. Its current version requires clients on MCP 2026-07-28.
  • MintMCP: a commercial gateway with OAuth and SSO, a log of every tool call, and hosted connectors that run MCP servers on MintMCP's infrastructure. Its homepage lists SOC 2 Type II.

Sources

  1. MCP specification 2026-07-28: Transports, checked
  2. MCP specification 2026-07-28: Streamable HTTP, checked
  3. MCP specification 2026-07-28: Authorization, checked
  4. Anthropic: Getting started with custom connectors using remote MCP, checked
  5. OpenAI Apps SDK: Connect from ChatGPT, checked
  6. ivnvxd/mcp-server-odoo README, checked
  7. Obot README, checked
  8. Microsoft MCP Gateway README, checked
  9. MintMCP homepage, checked
  10. MintMCP documentation: introduction, checked
  11. OpenCRM README, checked
  12. OpenLedger MCP entry point, src/mcp_server.py, checked
  13. OpenWatch README, checked
  14. OpenHR site: MCP tools, checked
  15. OpenERP site: MCP tools, checked
  16. How Attri works, checked

Start with one job.

Tell us what you want AI to do, the tools it touches and when they renew. We'll show you the app it starts from, a plan and your break-even.