Expose Your Local MCP Server to the Internet
Written by punkpeye on .
One of the most powerful aspects of the Model Context Protocol (MCP) is its ability to give AI assistants access to local resources–your file system, development environment, databases, and more. But what if you want to access your local MCP server from a remote AI client?
With mcp-proxy, you can now expose any stdio-based MCP server to the internet with a single command.
When the tunnel is established, you'll see a message like:
Why Expose Your Local MCP Server?
Give remote clients access to local Git repositories – Let cloud-based AI assistants analyze commits, create branches, and help with code reviews without pushing to a remote first
Give remote clients access to your local browser – Enable AI to interact with your browser for scraping, testing, or automating workflows requiring local authentication
Expose local databases – Query and modify data without exposing credentials or complex tunneling
Delegate to local LLMs via MCP sampling – Let remote clients send inference requests to LLMs running on your machine
Troubleshoot with remote MCP Inspector – Debug your local MCP server using the hosted MCP Inspector
Getting Started
Expose your local MCP server with a public URL:
You'll see output like:
Client Configuration
Configure your AI client to connect to the public URL:
Get started with mcp-proxy today:
Written by punkpeye (@punkpeye)