AI and MCP

Expose a local MCP server to AI clients

Give an AI client outside your network a secure URL for an MCP server running on your computer, protected by an access token. And connect AI tools to your InstaWormhole account through our own remote MCP server.

Access tokens need Starter or higher. Connecting an AI tool to your account works on every plan.

Terminal
npx @instawormhole/connector 8000

Shares a local MCP server listening on port 8000.

Streaming works

Responses are forwarded as they are produced, which Streamable HTTP and server-sent events need.

Token-protected

The client sends the token in a header; the tunnel checks it and does not pass it on to your server.

Manage tunnels from AI tools

Our remote MCP server lets an approved AI tool list your tunnels and, with your permission, change them.

Share your MCP server

Connect a durable tunnel to your MCP server's port and create an access token on it. Give your AI client the tunnel's address plus your server's path, for example https://example.instawormhole.site/mcp, and have it send the token as the X-InstaWormhole-Token header or as a bearer token. A request without the token is refused before it reaches your computer.

An MCP server can read files or run commands, so share it only with clients you trust. We have not published a list of AI clients we have tested.

Connect an AI tool to your account

AI tools that support remote MCP servers with sign-in can connect to InstaWormhole. You approve what the tool may do: it can list your tunnels and, only if you allow it, create, stop or re-address them. Stopping or re-addressing a tunnel needs a second agreement from you.

The tool never receives request bodies or header values and cannot start a connector on your computer. Revoke it from Developer tools and it stops working at once.

Share your local app in a minute

Free plan: 3 tunnels online at once and 5 GB a month. No card needed.