okgate_create_proxy
Create a hosted okgate proxy in front of an MCP server. Returns the proxy id, the per-customer MCP URL and the proxy key (shown once). Point your agent's MCP client at the URL with Authorization: Bearer <key>. Requires an account key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"upstreamUrl": "<upstreamUrl>"
},
"name": "okgate_create_proxy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | dry-run records what the policy would have blocked and lets every call through; enforce actually blocks. Start in dry-run. | dry-run |
| slug | Yes | short name, a-z 0-9 - | |
| upstreamUrl | Yes | Streamable HTTP URL of the MCP server to protect | |
| upstreamName | No | name used to namespace tools when you add more upstreams later |