Fireproof Logo

Building a Local-First AI Agent in Minutes Using Model Context Protocol

Two weeks ago, Anthropic introduced the Model Context Protocol (MCP), a standard designed to seamlessly connect private data sources to AI applications. This emerging pattern—where data, code, and models come together through a well defined interface—is essential for building truly agentic AI systems.

Fireproof’s secure multi-user sync capabilities are designed to serve state management for AI agent applications. Now it’s simpler than ever to get started. In this post I’ll walk you through how to integrate Fireproof into an MCP server and build a fully interactive, AI-driven To Do List app.

First, adding Fireproof support to an MCP server is just this easy:

import { fireproof } from "use-fireproof";
const db = fireproof("mcp_todo");

Then with a few lines of code, you can define your fields, subscribe to changes, and seamlessly read and write data via an AI chat interface.

Community member Jim Pick just released MCP-fireproof-todos, which combines our To Do List Fireproof demo from the Fireproof Codepen with an MCP server, letting you interact with Claude to manage your tasks using natural language.

This means you can ask Claude to add items to your to-do list, mark them as done, delete them, and even summarize the list—directly from a chat interface.

Here's an example chat where we asked Claude to "add butter to my todo list":

Importantly, our app doesn’t have to teach Claude how to bake a cookie. Where MCP really gets interesting is when you combine your application with knowledge that Claude has already been trained on, or with other tools.

If we ask Claude for a cookie recipe:

We can add all the ingredients to the todo list with a natural language request


You can do other fun things, like mark todos as done, as well as delete them.

Check out the README for full install instructions.

This is a good demonstration of a single user to-do application. But what if you need help in the kitchen? A good next step would be task management for teams and groups. Because Fireproof handles multi-user synchronization (securely!), it’ll help you get there faster.

Any data in Fireproof can be accessed anywhere, including by models other than Claude!

We’re huge fans of the new Model Context Protocol and are excited to see the Fireproof community use it to build new AI agent experiments and full applications.

If you need a hand thinking this through, reach out on Discord.

Tagged: