← All agents

For A script or server

Give A script or server every MCP server,
safely.

Connect your tools once in gate, add one URL to A script or server, and set in plain words what it may do. Every call is logged; anything risky asks you first; one click pauses it.

Please keep a human in the loop: gate's approvals and off-switch are there so the person stays in control.

How to connect A script or server

No browser on the machine that runs it. Get a device code, approve it on your phone, poll for tokens.

  1. POST https://gateturbo.com/api/oauth/device_authorization with {"client_name": "<your agent's name>"}.
  2. Show the human: open https://gateturbo.com/link and enter the user_code. They pick which agent you are and what you may do.
  3. Poll https://gateturbo.com/api/oauth/token with grant_type=urn:ietf:params:oauth:grant-type:device_code until you get tokens, then call https://gateturbo.com/api/mcp with Authorization: Bearer <access_token>.
  4. No human yet? POST https://gateturbo.com/api/agents/claim with {"name", "purpose"} and send them the claim_url. Full guide: https://gateturbo.com/agents.md
curl -s -X POST https://gateturbo.com/api/oauth/device_authorization \
  -H 'content-type: application/json' \
  -d '{"client_name":"my-agent"}'

Then ask it

Read https://gateturbo.com/agents.md, get access to my gate with a device code, call gate__my_permissions, then do only what it lists.

Paste this once it's connected. The first call shows what it may do.

Three ways in

RouteWhenHow
Through gateThe agent acts for a person or a team. You want rules, a log and an off-switch.Connect servers in gate, add the gateway URL once. Allow, ask-me-first or block per action; argument rules like "payments up to €500".
DirectOne open server, one machine, low stakes.Put the server's own URL in the agent's config. Each server page shows the snippet.
Discover from inside the agentThe agent should find tools on its own.Add the directory MCP server (no sign-in). It can search thousands of servers and read their grades.

Directory MCP server: https://gateturbo.com/api/directory/mcp · skill.md · agents.md · llms.txt

What is A script or server?

A headless agent is anything without a browser: a cron job, a server, a custom loop around a model. gate gives it access two ways. With a human nearby: a device code approved on a phone. Without one: a claim link the agent sends to its owner, with credentials handed out once after approval.

Other agents: Claude Code · Claude · Claude Desktop · ChatGPT · Codex · Cursor · Windsurf · VS Code · Gemini CLI · OpenClaw · n8n

Questions

Does A script or server support MCP?

Yes. A script or server connects to MCP servers without a browser through gate's device-code flow; gate is one such server that carries every server you connected.

Why not connect each server directly?

Direct works for one open server on one machine. Through gate the same servers reach every agent you use, each agent gets its own permissions, every call is logged, and you can pause an agent instantly.

What can the agent change on its own?

Nothing about its permissions. It can ask for access with a reason; only you can grant it. Blocked actions are hidden from it and refused if it calls them anyway.

What does it cost?

Free to start. Paid plans add team access controls and compliance exports.

Your agents' access. Your rules. One off-switch.

Describe what the agent may do; gate turns it into enforced permissions.