Getting started
Quickstart
From an empty workspace to your first routed tool call in five minutes.
You need a GitHub account and the URL of one remote MCP server (Streamable HTTP or SSE). Everything else happens in the dashboard.
Sign in
Go to the dashboard and continue with GitHub. Your personal workspace is created on first sign-in.
Add a server
In Servers → Add server, give it a name, a namespace (lowercase, for example github), pick the transport and paste the server URL. If the server needs a token, fill in Bearer token; see Server credentials.
Create an API key
In API keys → Create key, name it after where it will be used. Copy the pl_live_… value now: it is shown only once. Keep it in an environment variable, never in source control.
export PORTLESS_API_KEY="pl_live_…"Import the server's tools
Ask the gateway to fetch the server's tool list. Copy the server id from the servers list response.
curl https://www.initpbj.dev/api/v1/servers -H "Authorization: Bearer $PORTLESS_API_KEY"
curl -X POST https://www.initpbj.dev/api/v1/servers/<server-id>/sync \
-H "Authorization: Bearer $PORTLESS_API_KEY"New tools are added and turned on. Turn off anything you don't want agents to use in Dashboard → Tools.
Call a tool
curl https://www.initpbj.dev/api/v1/tools/call \
-H "Authorization: Bearer $PORTLESS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tool": "github.search_repos", "arguments": {"query": "mcp"}}'The call shows up in Dashboard → Activity with its status and latency.
Or connect an MCP client
Prefer to let an editor or agent use the tools directly? Point it at https://www.initpbj.dev/api/v1/mcp with the same key. See Connect MCP clients.
Troubleshooting
401 invalid_api_key: the key was mistyped, revoked, or is missing theBearerprefix.502 upstream_errorwith401in the message: the MCP server rejected the gateway. Add or fix its credentials.501 transport_not_supported: the server usesstdio, which the hosted gateway can't start. See Limits.
Tool failures are not HTTP errors
result.isError: true. See Errors.