Remote Connectors
Connect MCP servers and internal REST APIs running inside a private network, VPC, Kubernetes cluster, or developer laptop to the Quilr MCP Gateway over an outbound WebSocket tunnel (wss://) with no inbound firewall rules or public ingress.
1. Create a Remote Connector in the console
- Go to Settings > AI Gateway > MCP Gateway and click Remote Connectors.
- Click New remote connector, enter a Name (for example
prod-eksordev-laptop), and optionally add a Description. - Click Create connector and copy the generated
qrc_...token.
The qrc_... token is shown once. Save it in your secret manager or environment configuration. It encodes your gateway URL automatically, so no separate URL flag is needed.
2. Download and run quilr-connector
Download the latest stable binary from GitHub Releases or pull the multi-arch container image (ghcr.io/quilrai/quilr-connector:latest). The download links below automatically follow each new stable release:
Laptop or dev machine
Expose MCP servers or local REST APIs running on localhost (macOS, Linux, or Windows) directly to the gateway for testing or personal development.
Direct binary (macOS / Linux one-liner):
# macOS (Apple Silicon) - replace target for Intel macOS or Linux
curl -fsSL https://github.com/quilrai/quilr-remote-connector/releases/latest/download/quilr-connector-aarch64-apple-darwin.tar.gz | tar -xz
./quilr-connector --token qrc_your_token_here
Windows (PowerShell):
Invoke-WebRequest -Uri "https://github.com/quilrai/quilr-remote-connector/releases/latest/download/quilr-connector-x86_64-pc-windows-msvc.zip" -OutFile quilr-connector.zip
Expand-Archive -Force quilr-connector.zip .
.\quilr-connector.exe --token qrc_your_token_here
Docker:
docker run --rm \
-e QUILR_CONNECTOR_TOKEN="qrc_your_token_here" \
ghcr.io/quilrai/quilr-connector:latest
When running quilr-connector inside Docker on macOS or Windows, use http://host.docker.internal:<port>/mcp (or http://host.docker.internal:<port>/v1 for a REST API) so the container can reach a service listening on your host's localhost. On Linux, pass --network host to docker run and use http://127.0.0.1:<port>/....
Virtual Machine (Linux VM, EC2, or GCE)
Run quilr-connector on a VM inside your VPC or private subnet to reach any MCP server or internal REST API on 127.0.0.1 or your internal VPC network.
Install binary to /usr/local/bin (Linux x86_64):
curl -fsSL https://github.com/quilrai/quilr-remote-connector/releases/latest/download/quilr-connector-x86_64-unknown-linux-musl.tar.gz \
| sudo tar -xz -C /usr/local/bin quilr-connector
Docker (with automatic restart):
docker run -d \
--name quilr-connector \
--restart unless-stopped \
-e QUILR_CONNECTOR_TOKEN="qrc_your_token_here" \
ghcr.io/quilrai/quilr-connector:latest
systemd service (/etc/systemd/system/quilr-connector.service):
[Unit]
Description=Quilr Remote Connector
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
Environment="QUILR_CONNECTOR_TOKEN=qrc_your_token_here"
ExecStart=/usr/local/bin/quilr-connector
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
Enable and start the service:
sudo systemctl daemon-reload && sudo systemctl enable --now quilr-connector
Kubernetes cluster
One connector Deployment in your cluster can reach any MCP service or internal REST API across namespaces using standard cluster DNS (http://<service>.<namespace>.svc.cluster.local:<port>/mcp or http://<api-service>.<namespace>.svc.cluster.local:<port>/v1). Run 2 or more replicas for high availability.
apiVersion: v1
kind: Secret
metadata:
name: quilr-remote-connector-secret
namespace: default
type: Opaque
stringData:
QUILR_CONNECTOR_TOKEN: "qrc_your_token_here"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: quilr-remote-connector
namespace: default
spec:
replicas: 2
selector:
matchLabels:
app: quilr-remote-connector
template:
metadata:
labels:
app: quilr-remote-connector
spec:
containers:
- name: quilr-connector
image: ghcr.io/quilrai/quilr-connector:latest
env:
- name: QUILR_CONNECTOR_TOKEN
valueFrom:
secretKeyRef:
name: quilr-remote-connector-secret
key: QUILR_CONNECTOR_TOKEN
- name: QUILR_CONNECTOR_INSTANCE_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi
Apply the manifest:
kubectl apply -f deployment.yaml
3. Add the MCP server or REST API via the Remote Connector
Once your connector shows Connected in Remote Connectors, you can route either a Remote server or an API (REST API to MCP) through it.
Remote MCP server
- Click Add MCP server and choose Remote server.
- Enter the server's internal Transport URL:
- Localhost / VM:
http://127.0.0.1:8000/mcp(orhttp://host.docker.internal:8000/mcpwhen the connector runs in Docker on macOS/Windows) - Private VPC host:
http://10.0.12.45:8000/mcporhttps://mcp.internal.example.com/mcp - Kubernetes service:
http://my-mcp.namespace.svc.cluster.local:8000/mcp
- Localhost / VM:
- Under Connection route, select Via Remote Connector:
<name>. - Choose how the gateway signs in and click Probe and continue.
All capability probes, OAuth discovery and token exchanges, OneMCP calls, and direct MCP tool calls for that server route through the selected Remote Connector.
Internal REST API (API to MCP)
- Click Add MCP server and choose API.
- Enter the internal Base URL:
- Localhost / VM:
http://127.0.0.1:8080/v1(orhttp://host.docker.internal:8080/v1when the connector runs in Docker on macOS/Windows) - Private VPC host:
http://10.0.12.45:8080/v1orhttps://api.internal.example.com/v1 - Kubernetes service:
http://api-service.default.svc.cluster.local:8080/v1
- Localhost / VM:
- Under Connection route, select Via Remote Connector:
<name>. - Under OpenAPI spec, load a spec by URL (fetched directly through the Remote Connector tunnel), Upload, or Paste, or choose None for generic HTTP tools.
- Configure Credentials and Tools & access, then click Create API MCP.
All OpenAPI spec previews, spec resyncs, OneMCP calls, and runtime REST tool calls (GET, POST, PUT, PATCH, DELETE, HEAD) route through the selected Remote Connector. See Turn an API into MCP tools.
Configuration reference
High availability, token rotation, and limits
Related
- Adding MCP Servers - register a remote server and choose its sign-in mode.
- Turn an API into MCP tools - expose an internal or public REST API as governed MCP tools.
- MCP Library - compare Remote Connectors with firewall IP allowlisting.
- OAuth Connect - connect OAuth servers reachable through a Remote Connector.