# Connect MCP Foundry Create a scoped expiring key at https://mcp-foundry-web-production.up.railway.app/#studio and supply FOUNDRY_API_KEY through your client credential store. Revoke at https://mcp-foundry-web-production.up.railway.app/#studio. Upstream OAuth (not inbound client authentication): https://mcp-foundry-web-production.up.railway.app/oauth. Production status readback returned configured=false, connected=false. Existing provider OAuth handoff is disabled until authorized provider registration, service variables and owner consent; client-to-Foundry authentication remains scoped Bearer. Cursor: merge cursor-mcp.json or the private example into user configuration. VS Code: merge vscode-mcp.json or the secret-prompt private example. OpenCode v2: place opencode-public.json or opencode-private.json as opencode.json; supply the scoped environment credential before launching. For a deployed inbound OAuth server use opencode-oauth.json and opencode mcp auth mcp-foundry. Claude Code: claude mcp add --transport http mcp-foundry https://mcp-foundry-web-production.up.railway.app/mcp/foundry; use supported secure bearer or native OAuth if the server supports it. Browser clients that require inbound OAuth cannot connect to bearer-only private endpoints. - get_commercial_offers [read] get_commercial_offers — scopes: none; uhail_discovery_validated. Public operation. - list_my_servers [read] list_my_servers — scopes: builder:read; uhail_discovery_validated. Use only an authorized scoped grant. - create_server [write] create_server — scopes: builder:write; native_only. Draft only. Duplicate slug conflicts; do not retry an ambiguous write without reading inventory. Readback: GET /api/servers; compare owned slug and ID - add_readonly_tool [write] add_readonly_tool — scopes: builder:write; native_only. Writes an owned draft tool, not the upstream API. Readback: GET /api/servers/{server_id}; inspect draft tools - publish_server [write] publish_server — scopes: builder:write; native_only. Specify visibility explicitly; use private for private sources. Repeated publish can change revision. Readback: GET /api/servers/{server_id}; inspect published revision Native-only operations retain their actual effect and scope. They do not claim UHAIL replay, financial settlement or completed jobs. If an effect is uncertain, read back state before another attempt.