Skip to main content
After deployment, each app is reachable at an HTTPS endpoint such as:
This page explains how to retrieve the URL, set up authentication, configure clients, and script interactions.

1. Find the server URL

The description output includes:
  • Server URL – base URL (append /sse for SSE transport or /call_tool for HTTP).
  • Authentication mode (Bearer token, unauthenticated, OAuth coming soon).
  • Status, creation time, description.

2. Make sure clients have the right secrets

If you tagged any !user_secret entries, each consumer must configure the deployment before connecting:
You can supply a YAML file (--secrets-file) or capture the resulting file (--secrets-output-file) to share with your team.

3. Install into MCP clients

Use the top-level install command to update client-specific config files:
What the command does:
  • Validates your MCP_API_KEY (or uses --api-key).
  • Fetches app metadata (name, unauthenticated status) for validation.
  • Writes the appropriate JSON snippet to the client-specific config file.
  • Masks secrets when printing to the terminal (use --dry-run to preview).
Client config locations:
• Claude Desktop – ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
• Cursor – ~/.cursor/mcp.json
• VS Code – <workspace>/.vscode/mcp.json
• Claude Code – ~/.claude.json

4. Manual configuration (if needed)

All MCP clients understand the same HTTP/SSE interface. A minimal configuration looks like:
For Claude Desktop (stdio-only), wrap the HTTP server with mcp-remote:

5. Automate calls from code

Python

  1. Create or update a server entry in mcp_agent.config.yaml:
  2. Use the shared server registry to open a client session:

HTTP / cURL

MCP Inspector

6. Provide usage instructions to end users

Consider sharing a short README with:
  • The server URL and description.
  • Required user secrets (from mcp-agent cloud configure --params).
  • Example calls (like the snippets above).
  • Recommended MCP clients (Claude Desktop, Cursor, ChatGPT, etc.).
  • Observability tips (mcp-agent cloud logger tail for debugging).

7. Rotate tokens and access

  • Rotate API keys – run mcp-agent login again or set a new MCP_API_KEY.
  • Revoke access – delete individual configurations (coming soon) or redeploy with --auth to disable unauthenticated access.
  • Publish publicly – ensure the deployment is unauthenticated and document explicit rate limits / expectations.