A STDIO MCP server build from scratch without any third-party libraries.
This project is based on the Youtube video 'Build a custom mcp server in 15 mins' from Jack Herrington.
Use the following commands to start the MCP Server:
pnpm run dev # start the server in development mode
pnpm run start # start the server in production mode
There are two primary ways to interact with the MCP Server.
-
Inspector – a web-based interface for exploring the server. You can launch it with:
pnpm run inspector
-
Client – for example, opencode. To connect a client, use the following configuration:
"mcp": { "coffee-shop": { "type": "local", "enabled": true, "command": ["pnpm", "run", "start"] } }