Skip to main content
mcp-agent cloud is not limited to full agent workflows—you can deploy any MCP-compliant server (Python, Node, Rust, etc.) and let the platform handle hosting, auth, and observability. This is ideal for tool libraries, data access APIs, or bridge services that you want to publish without maintaining infrastructure.

Why deploy plain MCP servers?

  • Standard MCP interface – Serve tools, resources, and prompts that any MCP client can consume.
  • Managed runtime – Containers, TLS, load balancing, and scaling handled automatically.
  • Security – Secrets vault, per-client API keys, optional unauthenticated mode for public registries.
  • Observability – Consistent logging + OTEL pipeline and CLI integration (mcp-agent cloud logger tail).
  • Upgrade path – When you are ready for long-running workflows, migrate the project to MCPApp without changing deployment tooling.

Side-by-side capabilities

FastMCP example

Configuration (mcp_agent.config.yaml) only needs to reference the entrypoint:
mcp_agent.secrets.yaml remains optional unless your server calls external APIs.

MCPApp-only example (no workflows)

If you prefer to stay inside the mcp-agent API surface (to reuse context, logging, etc.) you can create tools with decorators and skip workflow definitions.
Config:
Because there are no workflows, the app behaves like a standard MCP server but you can add Temporal-backed workflows later without changing the deployment process.

Deploy the server

  1. Authenticate (once per environment):
  2. Deploy from the directory that contains main.py and mcp_agent.config.yaml:
    • Use --config-dir path/to/server if deploying from a monorepo.
    • Add --no-auth to expose a public endpoint (e.g., for ChatGPT Apps).
    • Use --non-interactive in CI/CD to reuse stored secrets.
  3. Describe the deployment:
    Copy the Server URL for client integration.

Configure clients

Use either mcp-agent install (writes files automatically) or mcp-agent configure --client (prints snippets).
<app_id> is the hostname reported by the CLI (for example, app_abc123xyz.deployments.mcp-agent.com). For unauthenticated deployments (e.g., ChatGPT Apps), remember to deploy with --no-auth and run:

Operate and monitor

Even though these servers do not use Temporal, you still get the operational surface:
  • mcp-agent cloud servers list – inventory of deployed servers.
  • mcp-agent cloud logger tail utilities-server --follow – live logs.
  • mcp-agent cloud servers delete utilities-server – tear down when finished.
  • mcp-agent cloud configure --id <url> – collect user-specific secrets if needed.

Upgrade path to full agents

Start simple and layer on durability when required:
Redeploy with the same name and clients keep working while gaining new capabilities (workflows-get_status, pause/resume, etc.).

Checklist for MCP server deployments

  • Entrypoint (main.py) starts the server when executed.
  • mcp_agent.config.yaml references the command + args.
  • requirements.txt or pyproject.toml included.
  • Secrets captured in mcp_agent.secrets.yaml (if needed).
  • .mcpacignore excludes large/unnecessary files.
  • Deployment tested locally with uv run main.py or npx @modelcontextprotocol/inspector.
  • Documentation for consumers (URL, sample tool calls, auth mode).

Resources