Skip to main content

Code

cookbook/05_agent_os/mcp_demo/mcp_tools_example.py
AgentOS connects and disconnects MCPTools for you.

Usage

1

Set up your virtual environment

2

Set Environment Variables

3

Install dependencies

4

Run Server

5

Test

Open http://localhost:7777/docs and run the agent from the API docs, or connect the instance to the AgentOS UI.