Gateway setup guide
Connect the agent platform you already use.
A gateway translates MCP into the Agent Apps protocol. Give your agent platform its own API key, and every installation its policy allows shows up there as tools.
Step one
Install it and start a Station.
The CLI is a single-user host with its own Station. Install an app under an alias, authenticate it, and start the Station that will run it.
The Station keeps the secrets of each installation. Neither the app nor your agent platform ever reads them.
Step two
Give your platform its own key.
connect creates an API key for that platform, so it is a principal with its own policy. Claude Code is registered for you. Every other platform gets an MCP server entry to paste into its settings.
agentapps connect claude-codeThat is all: the command registers the gateway with Claude Code for you.
agentapps connect codex~/.codex/config.toml[mcp_servers.agentapps] command = "agentapps" args = ["mcp", "codex"]
The location and the format follow this platform's own MCP documentation. We have not tested them.
agentapps connect cursor~/.cursor/mcp.jsonOr, at .cursor/mcp.json for a single project
{
"mcpServers": {
"agentapps": {
"command": "agentapps",
"args": [
"mcp",
"cursor"
]
}
}
}The location and the format follow this platform's own MCP documentation. We have not tested them.
agentapps connect gemini-cli~/.gemini/settings.json{
"mcpServers": {
"agentapps": {
"command": "agentapps",
"args": [
"mcp",
"gemini-cli"
]
}
}
}The location and the format follow this platform's own MCP documentation. We have not tested them.
agentapps connect claude-desktop~/Library/Application Support/Claude/claude_desktop_config.jsonOr, at %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"agentapps": {
"command": "agentapps",
"args": [
"mcp",
"claude-desktop"
]
}
}
}The location and the format follow this platform's own MCP documentation. We have not tested them.
agentapps connect vscode.vscode/mcp.json{
"servers": {
"agentapps": {
"type": "stdio",
"command": "agentapps",
"args": [
"mcp",
"vscode"
]
}
}
}The location and the format follow this platform's own MCP documentation. We have not tested them.
agentapps connect windsurf~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"agentapps": {
"command": "agentapps",
"args": [
"mcp",
"windsurf"
]
}
}
}The location and the format follow this platform's own MCP documentation. We have not tested them.
agentapps connect zedsettings.json{
"context_servers": {
"agentapps": {
"command": {
"path": "agentapps",
"args": [
"mcp",
"zed"
]
}
}
}
}The location and the format follow this platform's own MCP documentation. We have not tested them.
The key never leaves the CLI secret store: the entry only says agentapps mcp and a name. To disconnect a platform and revoke its key, run the same command with --remove.
Step three
Check it, then set the rules.
Open a new session and ask the platform to list its MCP servers. Tools are named after the alias and the tool, such as linear-work__list-issues.
Out of the box every tool is allowed, and destructive or sensitive ones ask first. Change that per app and per tool with agentapps policy, and answer what is waiting with agentapps approvals.