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`.
@izaqyos
Basic information
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.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"toyMCP": {
"command": "docker",
"args": [
"compose",
"up",
"-d",
"db"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.
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.
The server listens on port 3000 by default (configurable via the `PORT` environment variable), and the JSON-RPC endpoint is at `/rpc`.
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.
The methods are `todo.list`, `todo.add`, `todo.remove`, and `mcp.discover` (which describes the service and its available methods).
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.
Use the `clean_start.sh` script, which stops and removes the database container, restarts it, and then starts the server fresh.

AI-native payments for tools and APIs. Discover, pay for, execute, and publish monetized APIs directly from your agent, settled per call in USDC over x402, through the Model Context Protocol. payments · finance · x402 ·
CronWatch records every run of your scheduled jobs in your own database, and speaks up when one is missed, fails, gets stuck, runs slow or costs too much. CronWatch is free and open-source.

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.

Comments