A starter project for building MCP servers with TypeScript and Bun.
A production-ready starter template for building Model Context Protocol (MCP) servers with TypeScript.
bun install
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
The project includes a script to help create new MCP tools:
bun run scripts/create-tool.ts <tool-name>
This will:
src/tools/<tool-name>
Example:
bun run scripts/create-tool.ts weather
bun test
bun run format
bun run lint
bun run build
To add your development MCP server to Claude Desktop:
bun run build
// 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"]
}
}
}
This project uses standard-version for automated version management. Run bun run release
to create a new version.
feat
: New feature (bumps minor version)fix
: Bug fix (bumps patch version)BREAKING CHANGE
: Breaking change (bumps major version)npm login
bun run build
npm publish
Remember to update the version number using bun run release
before publishing new versions.
To install Weather MCP Server Starter for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @GreatAuk/mcp-weather --client claude
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"]
}
}
}
Enables AI assistants to use a Neo4j knowledge graph for standardized coding workflows, acting as a dynamic instruction manual and project memory.
Generate MCP servers using Smithery with Cursor IDE integration.
Gentoro generates MCP Servers based on OpenAPI specifications.
Access and control local iTerm2 terminal sessions.
A GDB/MI protocol server based on the MCP protocol, providing remote application debugging capabilities with AI assistants.
An MCP server that integrates with Ollama to provide tools for file operations, calculations, and text processing. Requires a running Ollama instance.
Provides multi-cluster Kubernetes management and operations using MCP, It can be integrated as an SDK into your own project and includes nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.
MCP server for text-to-graphql, integrates with Claude Desktop and Cursor.
Generate and edit images using OpenAI's GPT-4o image generation and editing APIs with advanced prompt control.
An example of a remote MCP server deployable on Cloudflare Workers without authentication.