Skip to main content
Let’s get you set up with a hello world mcp-agent!

Create the agent

Run it locally

uv run main.py
You should see log entries for tool discovery, file access, web fetches, and the final summary tweet. Try editing the instructions or adding new MCP servers to see how the agent evolves.

Deploy it (optional)

You can deploy your agent as an MCP server.
uvx mcp-agent login
uvx mcp-agent deploy

Next steps

  • Check out the generated README (if you used the CLI) for tips on extending the agent.
  • Layer in more capabilities using the Effective Patterns guide.
  • Ready to deploy your agent? Follow Deploy to Cloud.
I