Connect MCP

Local MCP

Running an MCP server on your machine? Use ngrok to expose your local server with a public HTTPS URL and connect it to ProtoMCP from your browser.

Step 1 — Install ngrok

Debian / Ubuntu

Bash
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null
Bash
echo 'deb https://ngrok-agent.s3.amazonaws.com buster main' | sudo tee /etc/apt/sources.list.d/ngrok.list
Bash
sudo apt update && sudo apt install ngrok

Step 2 — Create a free ngrok account

Sign up for a free ngrok account to get your auth token:

dashboard.ngrok.com/signup

Step 3 — Add your auth token

After signing up, go to your dashboard to copy your auth token:

dashboard.ngrok.com/get-started/your-authtoken

Then run this command in your terminal to authenticate ngrok:

Bash
ngrok config add-authtoken YOUR_AUTHTOKEN_HERE

Step 4 — Start your MCP server

Start your local MCP server first. Below is an example using jac-mcp, the Jaseci MCP server that exposes Jac language tools to AI clients.

Install jac-mcp

Bash
pip install jac-mcp

Start with SSE transport

Bash
jac mcp --transport sse --port 3001

Or start with Streamable HTTP transport

Bash
jac mcp --transport streamable-http --port 3001
jac-mcp exposes Jac language grammar, documentation, code examples, and tools like validate_jac, format_jac, and py_to_jac — making it ideal for testing ProtoMCP with a feature-rich local server.

Step 5 — Expose with ngrok

In a new terminal, run ngrok to create a public tunnel to your local server:

Bash
ngrok http 3001

ngrok will show output like this:

Bash
Forwarding   https://abcd1234.ngrok.io -> http://localhost:3001

Copy the https:// URL — you will use this in ProtoMCP.

Step 6 — Connect in ProtoMCP

Streamable HTTP

Recommended

If you started jac-mcp with --transport streamable-http, open the connection modal in ProtoMCP and:

  1. 1Set the URL to your ngrok URL (e.g.https://abcd1234.ngrok.io/mcp/)
  2. 2SelectStreamable HTTP as the transport
  3. 3ClickConnect

SSE transport

If you started with --transport sse, ngrok's free tier shows a browser warning page that blocks API clients. You need to bypass it using a custom header. In the connection modal:

  1. 1Set the URL to your ngrok SSE URL (e.g.https://abcd1234.ngrok.io/sse)
  2. 2SelectSSE (Legacy) as the transport
  3. 3UnderAuthentication, selectAPI Key (Custom Header)
  4. 4Set Header Name tongrok-skip-browser-warning
  5. 5Set Value totrue
  6. 6ClickConnect
The ngrok-skip-browser-warning header tells ngrok to skip the interstitial page and tunnel directly to your local server. Any non-empty value works.

Skip ngrok with the Desktop App

The ProtoMCP Desktop App connects directly to localhost — no ngrok required. If you frequently work with local MCP servers, the desktop app offers a simpler, faster workflow.

Learn about the Desktop App