The MCP Starter Server is a minimal template for building AI assistant tools using the ModelContextProtocol. With this server, you can:
Use a 'hello world' example tool: The server includes a
hello_toolthat takes anameparameter and returns a greetingDevelop custom tools: Define new tools by adding their schemas and implementations in
index.tsIntegrate with Claude Desktop: Configure and use with Claude AI assistant tools
Debug and test: Use the MCP Inspector tool for development and monitoring
Publish and distribute: Easily publish as an NPM package
Enable live development: Run
npm run devto test changes in real-time
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
Download and install Claude desktop app from claude.ai/download
Clone the repo, install dependencies and build:
Configure Claude to use this MCP server. If this is your first MCP server, in the root of this project run:
This should result in an entry in your claude_desktop_config.json like:
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.
Restart Claude Desktop.
Look for the hammer icon with the number of available tools in Claude's interface to confirm the server is running.
If this is all working, you should be able to develop your MCP server using
npm run devand 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:
To build on file changes run:
Or run both the watcher and inspector:
Publishing
Once you're ready to distribute your server, it's simple!
Set up an NPM account.
Run
npm publish. This will publish a package using the project name inpackage.jsonOnce published, others can install the server with a config entry like:
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:
Define the tool schema in
index.tsAdd it to the tools array in the
ListToolsRequestSchemahandlerAdd the implementation in the
CallToolRequestSchemahandler
See the hello_tool implementation as an example.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
This server provides a minimal template for creating AI assistant tools using the ModelContextProtocol, featuring a simple 'hello world' tool example and development setups for building custom MCP tools.
- Features
- Setup to build and run with Claude
- Developing with Inspector
- Publishing
- Available Tools
- Creating New Tools
Related Resources
Related MCP Servers
- -security-license-qualityA TypeScript-based starter template for building Model Context Protocol servers that enables AI assistants to dynamically call tools, interpret prompts, and manage resources through modular architecture with support for multiple transport methods.
- Asecurity-licenseAqualityA template for building Model Context Protocol servers that allow AI assistants to interact with custom data and services through queryable resources and specialized tools.Last updated -6MIT License
- Asecurity-licenseAqualityA demonstration server based on Model Context Protocol (MCP) that showcases how to build custom tools for AI assistants, providing mathematical calculation and multilingual greeting capabilities.Last updated -3
- Asecurity-licenseAqualityA starter template for building Model Context Protocol servers that can integrate AI assistants with custom tools, resource providers, and prompt templates.Last updated -1831
Appeared in Searches
- Proof-of-Concept Examples for Multi-Component Processes (Model Context Protocol)
- List of This Week's 15 Most Popular Free Minecraft Servers
- A customizable and widely supported Minecraft server
- Setting Up AI Employee Tools on Docker Containers with MCP Servers
- Free and easy-to-setup Minecraft server hosting for solo web developers