Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

mcp-starter

MCP.Pizza Chef: MatthewDailey

mcp-starter is a minimal, TypeScript-based Model Context Protocol server template designed to help developers quickly build AI assistant tools. It includes a simple 'hello world' example, preconfigured development tools, and an esbuild setup, making it easy to create MCP tools compatible with AI assistants like Claude. This starter server streamlines MCP server development with a clean, ready-to-use structure.

Use This MCP server To

Bootstrap new MCP servers with a ready TypeScript template Develop simple AI assistant tools using MCP protocol Test MCP server integration with Claude desktop app Learn MCP server development with a minimal example Build custom MCP tools with preconfigured build setup

README

MCP Starter Server

A minimal ModelContextProtocol server template for building AI assistant tools. This starter provides a basic structure for creating MCP tools that can be used with AI assistants like Claude.

Features

  • Simple "hello world" tool example
  • TypeScript + esbuild setup
  • Development tools preconfigured

Setup to build and run with Claude

  1. Download and install Claude desktop app from claude.ai/download

  2. Clone the repo, install dependencies and build:

npm install
npm run build
  1. Configure Claude to use this MCP server. If this is your first MCP server, in the root of this project run:
echo '{
  "mcpServers": {
    "mcp-starter": {
      "command": "node",
      "args": ["'$PWD'/dist/index.cjs"]
    }
  }
}' > ~/Library/Application\ Support/Claude/claude_desktop_config.json

This should result in an entry in your claude_desktop_config.json like:

"mcpServers": {
  "mcp-starter": {
    "command": "node",
    "args": ["/Users/matt/code/mcp-starter/dist/index.cjs"]
  }
}

If you have existing MCP servers, add the mcp-starter block to your existing config. It's an important detail that the args is the path to <path_to_repo_on_your_machine>/mcp-starter/dist/index.cjs.

  1. Restart Claude Desktop.

  2. Look for the hammer icon with the number of available tools in Claude's interface to confirm the server is running.

  3. If this is all working, you should be able to develop your MCP server using npm run dev and test it in Claude. You'll need to restart Claude each time to restart the MCP server.

Developing with Inspector

For development and debugging purposes, you can use the MCP Inspector tool. The Inspector provides a visual interface for testing and monitoring MCP server interactions.

Visit the Inspector documentation for detailed setup instructions.

To test locally with Inspector:

npm run inspect

To build on file changes run:

npm run watch

Or run both the watcher and inspector:

npm run dev

Publishing

Once you're ready to distribute your server, it's simple!

  1. Set up an NPM account.

  2. Run npm publish. This will publish a package using the project name in package.json

  3. Once published, others can install the server with a config entry like:

"mcpServers": {
  "<your-package-name>": {
    "command": "npx",
    "args": ["<your-package-name>"]
  }
}

Available Tools

The server provides:

  • hello_tool: A simple example tool that takes a name parameter and returns a greeting

Creating New Tools

To add new tools:

  1. Define the tool schema in index.ts
  2. Add it to the tools array in the ListToolsRequestSchema handler
  3. Add the implementation in the CallToolRequestSchema handler

See the hello_tool implementation as an example.

mcp-starter FAQ

How do I set up the mcp-starter server for development?
Clone the repo, run npm install, then npm run build to compile the TypeScript code.
Can I use mcp-starter with AI assistants other than Claude?
Yes, while it is configured for Claude, mcp-starter follows MCP standards and can work with other MCP-compatible assistants.
What programming language is mcp-starter built with?
It is built using TypeScript with an esbuild setup for fast builds.
Does mcp-starter include example tools?
Yes, it includes a simple 'hello world' tool example to demonstrate MCP server functionality.
How do I configure Claude to use mcp-starter?
Add an entry to claude_desktop_config.json pointing to the built server executable as shown in the README.
Is mcp-starter suitable for production use?
It is primarily a starter template for development and learning, so additional customization is recommended for production.
What development tools come preconfigured with mcp-starter?
It includes TypeScript and esbuild configurations to streamline development and building.
Can I extend mcp-starter to add more complex MCP tools?
Yes, the template is designed to be extended with additional MCP tools and features.