DEV Community

z z
z z

Posted on

I built a minimal MCP server starter so you don't have to

MCP (Model Context Protocol) is what Anthropic built so LLMs can talk to your tools. Write your server once, connect it to Claude Desktop, Cursor, VS Code -- anything that speaks MCP.

I got tired of copying the same boilerplate, so I stripped it down to the bare minimum.

What you get


npm install && npm run build && npm start

Three tools out of the box:

  • read_file - read any text file
  • list_directory - list files with sizes
  • grep_search - search for text across your codebase

TypeScript, official MCP SDK, stdio transport. No HTTP server, no config files.

The pattern

Every MCP tool follows the same shape: a name, an input schema (JSON Schema), and a handler function. The SDK handles the protocol plumbing.

Open source

The starter is on GitHub. MIT licensed.

I also sell a premium version with API integration, web search, Dockerfile, and one-command deploy. If that saves you an afternoon: Gumroad

Top comments (0)