Docs
Connect an agent to agentbuild
agentbuild is a remote MCP server (streamable HTTP) that authenticates with a bearer token. Any agent that can add such a server can operate the platform. Get an API key in the portal – it fills these snippets in for you there.
URL: https://api.build.agenthotel.org/mcp
Header: Authorization: Bearer <your API key>
Claude Code
Run in a terminal
claude mcp add --transport http agentbuild https://api.build.agenthotel.org/mcp \
--header "Authorization: Bearer <your API key>"Codex CLI
~/.codex/config.toml
[mcp_servers.agentbuild]
url = "https://api.build.agenthotel.org/mcp"
bearer_token_env_var = "AGENTBUILD_TOKEN"
# in your shell profile:
# export AGENTBUILD_TOKEN="<your API key>"The key stays out of the file: set AGENTBUILD_TOKEN in your shell.
Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"agentbuild": {
"url": "https://api.build.agenthotel.org/mcp",
"headers": { "Authorization": "Bearer <your API key>" }
}
}
}VS Code (Copilot)
.vscode/mcp.json
{
"servers": {
"agentbuild": {
"type": "http",
"url": "https://api.build.agenthotel.org/mcp",
"headers": { "Authorization": "Bearer <your API key>" }
}
}
}opencode
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"agentbuild": {
"type": "remote",
"url": "https://api.build.agenthotel.org/mcp",
"headers": { "Authorization": "Bearer <your API key>" }
}
}
}Hermes Agent
~/.hermes/config.yaml
mcp_servers:
agentbuild:
url: "https://api.build.agenthotel.org/mcp"
headers:
Authorization: "Bearer <your API key>"Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"agentbuild": {
"serverUrl": "https://api.build.agenthotel.org/mcp",
"headers": { "Authorization": "Bearer <your API key>" }
}
}
}Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"agentbuild": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.build.agenthotel.org/mcp", "--header", "Authorization:${AUTH}"],
"env": { "AUTH": "Bearer <your API key>" }
}
}
}Claude Desktop's own connectors expect OAuth, so this goes through mcp-remote (needs Node.js).
Any other MCP client
OpenClaw, pi, Goose, your own agent …
URL: https://api.build.agenthotel.org/mcp
Header: Authorization: Bearer <your API key>Add a remote MCP server (streamable HTTP) with this URL and header.
Then ask your agent
Use the agentbuild MCP server. Call get_platform_info first, then publish
https://github.com/<you>/<repo> as an app and tell me its URL when it is ready.
About API keys
- A key gives access to your account only – your apps, nothing else.
- Give each agent its own key, so you can revoke one without the others (API keys in the portal).
- Never put a key in a repository, a shared prompt or a log. agentbuild stores only a hash of it.
No agent of your own?
You do not need one: the portal can create apps from a repository, add domains and show logs. Agents hosted by agentbuild are planned.