| Example | Description |
|---|---|
| Example AgentOS app with MCP enabled | After starting this AgentOS app, you can test the MCP server with the test_client.py file. |
| MCP Tools Advanced Example | Run an AgentOS support agent wired to both a remote Agno docs MCP server and a stdio Brave Search MCP server. |
| MCP Tools Example | AgentOS handles the lifespan of the MCPTools internally. |
| MCP Tools Existing Lifespan | Pass a custom FastAPI lifespan to AgentOS alongside agent MCPTools, whose lifespan AgentOS still manages. |
| Test Client | MCP client example: an agent that operates an AgentOS through its MCP server. |
| Dynamic Headers | Pass request-specific headers from AgentOS through MCPTools to an MCP server. |
| Custom MCP Tool Example | AgentOS app that exposes ONE custom MCP tool routed through an agent, with the built-in MCP tools disabled and the server gated to its owner. |
| OAuth with WorkOS AuthKit | Bring a FastMCP AuthProvider backed by WorkOS AuthKit to the AgentOS MCP endpoint. |
| Built-in OAuth | Use the AgentOS built-in authorization server to protect the MCP endpoint. |
MCP Demo
MCP Demo
Expose AgentOS agents and custom tools through MCP with OAuth, dynamic headers, and managed MCPTools lifespans.