toyMCP To-Do List Server
@izaqyos
About toyMCP To-Do List Server
This is a simple example server implementing a To-Do list CRUD API using the Model Context Protocol (MCP) concepts, specifically using JSON-RPC 2.0 over HTTP. It uses Node.js, Express, and PostgreSQL (via Docker) for persistence.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"toyMCP": {
"command": "docker",
"args": [
"compose",
"up",
"-d",
"db"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is toyMCP To-Do List Server?
toyMCP To-Do List Server is a simple example server that implements a To-Do list CRUD API using the Model Context Protocol (MCP) concepts, specifically JSON-RPC 2.0 over HTTP. It uses Node.js, Express, and PostgreSQL (via Docker) for persistence, and includes an AI-powered agent framework for natural language interaction.
How to use toyMCP To-Do List Server?
Set up prerequisites: Node.js, npm, Docker, and Docker Compose. Clone the repository, run npm install, start PostgreSQL with docker compose up -d db, then start the server with npm start. The JSON-RPC endpoint is at http://localhost:3000/rpc. Authenticate by logging in at /auth/login with username and password to obtain a JWT token, then include it as an Authorization: Bearer <token> header in subsequent requests. Use curl to call methods like todo.list, todo.add, todo.remove, or mcp.discover. For natural language management, use the agent framework in the agent-framework/ directory.
Key features of toyMCP To-Do List Server
- JSON-RPC 2.0 API over HTTP
- CRUD operations for todo items
- JWT-based authentication
- PostgreSQL persistence via Docker
- Interactive Swagger UI documentation
- AI-powered natural language agent framework
- Unit, integration, and end-to-end tests
Use cases of toyMCP To-Do List Server
- Manage a personal todo list via API calls
- Integrate with AI agents using natural language
- Serve as a learning example for MCP and JSON-RPC
- Automated testing of CRUD operations
FAQ from toyMCP To-Do List Server
What is the default port and endpoint?
The server listens on port 3000 by default (configurable via the PORT environment variable), and the JSON-RPC endpoint is at /rpc.
How do I authenticate?
Send a POST request to /auth/login with your username and password. Copy the token from the response, then include it as an Authorization: Bearer <token> header in all subsequent requests to protected endpoints.
What are the available JSON-RPC methods?
The methods are todo.list, todo.add, todo.remove, and mcp.discover (which describes the service and its available methods).
What are the dependencies?
The server requires Node.js, npm, Docker, and Docker Compose for the PostgreSQL database. The agent framework can use local Ollama or OpenAI cloud models.
How can I reset the database?
Use the clean_start.sh script, which stops and removes the database container, restarts it, and then starts the server fresh.
Frequently asked questions
What is the default port and endpoint?
The server listens on port 3000 by default (configurable via the `PORT` environment variable), and the JSON-RPC endpoint is at `/rpc`.
How do I authenticate?
Send a POST request to `/auth/login` with your username and password. Copy the token from the response, then include it as an `Authorization: Bearer <token>` header in all subsequent requests to protected endpoints.
What are the available JSON-RPC methods?
The methods are `todo.list`, `todo.add`, `todo.remove`, and `mcp.discover` (which describes the service and its available methods).
What are the dependencies?
The server requires Node.js, npm, Docker, and Docker Compose for the PostgreSQL database. The agent framework can use local Ollama or OpenAI cloud models.
How can I reset the database?
Use the `clean_start.sh` script, which stops and removes the database container, restarts it, and then starts the server fresh.
Basic information
More Developer Tools MCP servers
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
AptiBuild AI — Career Intelligence
ParklandBuildsAptiBuild AI — Career Intelligence MCP Server Structured career decision scaffolding for AI agents. Provides personality-conditioned business idea generation, official BLS OEWS wage data, FRED labor market signals, and

Termany
thinkany-aiAgent-Native Terminal

Reelier
Maxime HouleAgents make claims. Reelier writes receipts — record an agent's tool-call workflow once, replay it deterministically at 0 tokens, and diff runs to catch drift.
Comments