MCP Server Starter

by StevenStavrakis

39 324 downloads Not rated yet MIT
GitHub

About

A production-ready template for creating Model Context Protocol servers with TypeScript, providing tools for efficient testing, development, and deployment.

Details

Repository
StevenStavrakis/mcp-starter-template
License
MIT

Explore

- Bun for fast testing and development
- Biome for linting and formatting
- Automated version management with standard-version
- Clean, maintainable project structure

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server Starter
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/your/project/dist/main.js
    • Argument 2 some_argument

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Clone the repository
2. Install dependencies:

   bun install

The project includes a script to help create new MCP tools:

bun run scripts/create-tool.ts <tool-name>

This will:
1. Create a new tool directory under src/tools/<tool-name>
2. Generate the basic tool structure including:
- index.ts (main implementation)
- schema.ts (JSON schema for tool parameters)
- test.ts (test file)
3. Update the tools index file to export the new tool

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp server starter": {
            "cwd": "string",
            "env": {},
            "args": [
                "/path/to/your/project/dist/main.js",
                "some_argument"
            ],
            "shell": false,
            "command": "node"
        }
    }
}

Linux

{
    "cwd": "string",
    "env": [],
    "args": [
        "/path/to/your/project/dist/main.js",
        "some_argument"
    ],
    "shell": false,
    "command": "node"
}

Macos

{
    "cwd": "string",
    "env": [],
    "args": [
        "/path/to/your/project/dist/main.js",
        "some_argument"
    ],
    "shell": false,
    "command": "node"
}

Windows

{
    "cwd": "string",
    "env": [],
    "args": [
        "/c",
        "node",
        "/path/to/your/project/dist/main.js",
        "some_argument"
    ],
    "shell": false,
    "command": "cmd"
}

A production-ready starter template for building Model Context Protocol (MCP) servers with TypeScript.

πŸš€ Quick Start

1. Clone the repository
2. Install dependencies:

   bun install

✨ 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:
1. Create a new tool directory under src/tools/<tool-name>
2. Generate the basic tool structure including:
- index.ts (main implementation)
- schema.ts (JSON schema for tool parameters)
- test.ts (test file)
3. Update the tools index file to export the new tool

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.

Videos about MCP Server Starter

Relevant YouTube tutorials, setups, and demos