Turn MCP Servers into Rich Agents

Introducing Nanobot, an Open Source framework for building MCP agents—complete with reasoning, system prompts, tool orchestration, and rich MCP-UI support.

From Tools → Agents

A plain MCP server can expose useful functions. Nanobot takes this further by wrapping your server into an intelligent agent.

1

Start with a Simple MCP Server

// Blackjack MCP Server Functions
blackjack-new-game()
Create a new blackjack game
blackjack-get-state(gameId)
Get current game state
blackjack-hit(gameId, handId)
Request another card
blackjack-stand(gameId, handId)
Stand with current hand
blackjack-double(gameId, handId)
Double down on hand
2

Add Nanobot Agent Configuration

// nanobot.yaml
agents:
dealer:
name: Blackjack Dealer
model: gpt-4.1
mcpServers: blackjackmcp
 
mcpServers:
blackjackmcp:
url: https://blackjack.nanobot.ai/mcp
3

Get an Intelligent Blackjack Demo

Together, the MCP server and Nanobot agent create an interactive experience with a professional dealer persona and rich UI.

Key Features

Everything you need to build the next generation of AI agents with rich, interactive experiences.

MCP Logo

MCP-Native Framework

Nanobot was written from the ground up to support the MCP ecosystem. All functionality is delivered via MCP servers, and it fully leverages MCP features like tools, prompts, sampling, elicitation and more.

Every Agent is an MCP

Nanobots are full AI agents, but they are also exposed as MCP servers so users can chat with them via any app that is an MCP client.

MCP-UI Logo

MCP-UI Integration

First-class support for MCP-UI spec. Render interactive React components directly inside chat clients—build playable games, shopping carts, dashboards, and more.

Embed Nanobots Anywhere

Nanobot is a full MCP host with an interactive chat client that can be deployed anywhere, and embedded in any application or website.

Leverage the MCP Ecosystem

Every month, thousands of new MCP servers come online, offering rich functionality that can be added to your Nanobots.

Open Source

Flexible, extensible, and community-driven. Full transparency with active development and contribution opportunities.

Getting Started

Get up and running with Nanobot in minutes.

1

Installation

Nanobot can be installed via Homebrew:

brew install nanobot-ai/tap/nanobot

This will give you the nanobot CLI, which you can use to run and manage your MCP host.

2

Create a configuration file

Create a configuration file (e.g. nanobot.yaml) that defines your agents and MCP servers:

agents:
dealer:
name: Blackjack Dealer
model: gpt-4.1
mcpServers: blackjackmcp
 
mcpServers:
blackjackmcp:
url: https://blackjack.nanobot.ai/mcp
3

Start Nanobot

nanobot run ./nanobot.yaml

The UI will be available at http://localhost:8080.

Build the Next Generation of Chat

MCP defined the foundation. Nanobot takes the next step—giving developers the power to create agents that reason, act, and render. Start building today and create the immersive chat experiences you always wanted.

Frequently Asked Questions

What is the difference between MCP and Nanobot?+

MCP (Model Context Protocol) defines how AI models can interact with external tools and data sources. Nanobot builds on top of MCP by adding agent capabilities—system prompts, conversational memory, autonomous reasoning, and rich UI rendering through MCP-UI.

Do I need to rewrite my existing MCP server?+

No! Nanobot is designed to wrap your existing MCP server without requiring changes to your core tools. You simply add agent definitions, system prompts, and UI components on top of your existing functionality.

What chat clients support MCP-UI rendering?+

MCP-UI support is growing across the ecosystem. Nanobot itself includes rich and deep support for MCP-UI, and other clients, such as Goose are adding support for interactive UI components.

Can I use Nanobot for production applications?+

Yes! Nanobot is built with production use in mind. It ships as an executable and requires a Postgres database. You can easily run it on any infrastructure platform.