MCP Server Starter
The MCP Server Starter is a production-ready template for building Model Context Protocol (MCP) servers with TypeScript, providing a development environment with tools for creating and managing server functionalities.
Development Tools: Includes commands for testing, formatting, linting, building, version management, and publishing to npm.
Tool Creation: Create new tools easily using
bun run scripts/create-tool.ts <tool-name>, which generates necessary files and integrates them.Example Capability: Comes with a basic
hello_toolthat requires anameparameter to generate personalized greetings.Claude Desktop Integration: The development MCP server can be added to Claude Desktop by specifying the server command and arguments in configuration.
Integrates with Biome for linting and formatting of the MCP server codebase.
Uses Bun for fast testing and development of the MCP server.
Supports publishing the MCP server as an npm package for easy distribution and installation.
Built with TypeScript for type-safe development of MCP servers.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Startercreate a new tool called 'currency-converter'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server Starter
A production-ready starter template for building Model Context Protocol (MCP) servers with TypeScript.
š Quick Start
Clone the repository
Install dependencies:
bun install
Related MCP server: MCP Server Starter
⨠Key Features
Bun for fast testing and development
Biome for linting and formatting
Automated version management with standard-version
Clean, maintainable project structure
š Project Structure
mcp-starter/
āāā src/
ā āāā tools/ # MCP tools implementation
ā āāā utils/ # Shared utilities
ā āāā main.ts # Server entry point
ā āāā types.ts # Shared type definitions
āāā tests/ # Test files
āāā biome.json # Linting configuration
āāā tsconfig.json # TypeScript configuration
āāā package.json # Project dependenciesāļø Configuration
Creating New Tools
The project includes a script to help create new MCP tools:
bun run scripts/create-tool.ts <tool-name>This will:
Create a new tool directory under
src/tools/<tool-name>Generate the basic tool structure including:
index.ts (main implementation)
schema.ts (JSON schema for tool parameters)
test.ts (test file)
Update the tools index file to export the new tool
Example:
bun run scripts/create-tool.ts weatherš ļø Development
Run tests:
bun testFormat code:
bun run formatLint code:
bun run lintBuild project:
bun run build
To add your development MCP server to Claude Desktop:
Build the project:
bun run buildAdd to your Claude Desktop config:
// You only need the argument if you need to pass arguments to your server { "mcpServers": { "your-server-name": { "command": "node", "args": ["/path/to/your/project/dist/main.js", "some_argument"] } } }
š Version Management
This project uses standard-version for automated version management. Run bun run release to create a new version.
Commit Message Format
feat: New feature (bumps minor version)fix: Bug fix (bumps patch version)BREAKING CHANGE: Breaking change (bumps major version)
š¦ Publishing to npm
Ensure you're logged in to npm:
npm loginBuild the project:
bun run buildPublish the package:
npm publish
Remember to update the version number using bun run release before publishing new versions.
Installing from npm (after publishing)
Add to your Claude Desktop config:
// You only need the argument if you need to pass arguments to your server
{
"mcpServers": {
"your-server-name": {
"command": "npx",
"args": ["-y", "your-package-name", "some_argument"]
}
}
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseCqualityDmaintenanceA production-ready template for building Model Context Protocol servers in TypeScript, offering fast development with Bun, Biome linting, and automated version management.182MIT
- AlicenseCqualityDmaintenanceA TypeScript-based template for building Model Context Protocol servers, featuring fast testing, automated version management, and a clean structure for MCP tool implementations.1824MIT
- Flicense-qualityDmaintenanceA template repository for building Model Context Protocol (MCP) servers with TypeScript, featuring full TypeScript support, testing setup, CI/CD pipelines, and modular architecture for easy extension.10
- Flicense-qualityDmaintenanceA TypeScript template for building Model Context Protocol servers that provides a structured foundation with automated tools, testing, and synchronization capabilities.7
Related MCP Connectors
Kickstart development with a customizable TypeScript template featuring sample tools for greeting,ā¦
A Model Context Protocol server for Wix AI tools
MCP (Model Context Protocol) server for Appwrite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/StevenStavrakis/mcp-starter-template'
If you have feedback or need assistance with the MCP directory API, please join our Discord server