drio
Open app

MCP Server Starter

Source

mcp demo for

Catalog onlyCatalog onlySTDIO

Overview

MCP Server Starter is a production-ready template for building Model Context Protocol (MCP) servers using TypeScript.

To use MCP Server Starter, clone the repository, install the dependencies using bun install, and follow the provided configuration instructions to create and manage your MCP tools.

  • Fast testing and development with Bun - Linting and formatting with Biome - Automated version management with standard-version - Clean and maintainable project structure
  1. Building custom MCP servers for various applications.
  2. Developing tools that integrate with Claude Desktop.
  3. Managing and versioning MCP tools efficiently.

Add to your AI client

Use these steps to connect MCP Server Starter in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-weather-greatauk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-greatauk"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-weather-greatauk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-greatauk"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-weather-greatauk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-greatauk"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-weather-greatauk": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-greatauk"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-weather-greatauk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-greatauk"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-weather-greatauk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-weather-greatauk"
      ]
    }
  }
}

FAQ

What is the purpose of this project?

It serves as a starter template for developers to create MCP servers easily.

Is there any support for new tools?

Yes! The project includes scripts to help create new MCP tools with a predefined structure.

How do I publish my server to npm?

You can publish your server by building the project and using the `npm publish` command after logging in to npm.