MCP TypeScript Starter

by SamMorrowDrums

7 stars
355 downloads
Not rated
GitHub

About

A minimal Model Context Protocol (MCP) server in TypeScript with hello tool, markdown resource, and prompt. Includes VS Code/devcontainer setup and documentation.

Details

Author
SamMorrowDrums
GitHub stars
7
Downloads
355
Categories
Developer Tools

- Demonstrates tools with annotations, structured output, LLM sampling, progress updates, and dynamic loading
- Provides static and file-based resources along with resource templates
- Includes prompt templates for greetings and code review
- Supports both stdio and HTTP transports
- Pre-configured VS Code integration with MCP configuration and DevContainers support
- Integrates with the MCP Inspector for testing and debugging

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 TypeScript Starter
    Command (node, npx, python, etc.)

    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

Clone the repository, install dependencies with npm install, and build with npm run build. Run the server using npm run start:stdio for local development or npm run start:http for remote deployment. Development mode with live reload is available via npm run dev.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "mcp typescript starter": {
            "mcp-typescript-starter": {
                "command": "npx",
                "args": [
                    "@modelcontextprotocol/inspector",
                    "--",
                    "npx",
                    "tsx",
                    "src/stdio.ts"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-typescript-starter": {
        "command": "npx",
        "args": [
            "@modelcontextprotocol/inspector",
            "--",
            "npx",
            "tsx",
            "src/stdio.ts"
        ]
    }
}

MCP TypeScript Starter

CI
TypeScript
Node.js
License: MIT
MCP

A feature-complete Model Context Protocol (MCP) server template in TypeScript. This starter demonstrates all major MCP features with clean, production-ready code.

📚 Documentation

- Model Context Protocol
- TypeScript SDK
- Building MCP Servers

✨ Features

| Category | Feature | Description |
|----------|---------|-------------|
| Tools | hello | Basic tool with annotations |
| | get_weather | Tool with structured output schema |
| | ask_llm | Tool that invokes LLM sampling |
| | long_task | Tool with 5-second progress updates |
| | load_bonus_tool | Dynamically loads a new tool |
| Resources | info://about | Static informational resource |
| | file://example.md | File-based markdown resource |
| Templates | greeting://{name} | Personalized greeting |
| | data://items/{id} | Data lookup by ID |
| Prompts | greet | Greeting in various styles |
| | code_review | Code review with focus areas |

🚀 Quick Start

Prerequisites

- Node.js 20+
- npm or pnpm

Installation

```bash

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.