drio
Open app

MCP Tool Template

Source

MCP Server Template using

Catalog onlyCatalog onlySTDIO

Overview

The mcp-server-typescript-template is a template for creating MCP servers using the @modelcontextprotocol Typescript SDK.

To use this template, clone the repository from GitHub and follow the setup instructions provided in the README file to configure your server environment.

  • Easy setup for MCP servers using Typescript. - Utilizes the @modelcontextprotocol SDK for efficient server management. - Provides a structured template to kickstart your server development.
  1. Developing custom MCP servers for various applications.
  2. Rapid prototyping of server functionalities using Typescript.
  3. Learning and experimenting with the @modelcontextprotocol SDK.

Add to your AI client

Use these steps to connect MCP Tool Template 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-server-typescript-template-zubhav": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-typescript-template-zubhav"
      ]
    }
  }
}

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-server-typescript-template-zubhav": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-typescript-template-zubhav"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-typescript-template-zubhav": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-typescript-template-zubhav"
      ]
    }
  }
}

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-server-typescript-template-zubhav": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-typescript-template-zubhav"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-typescript-template-zubhav": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-typescript-template-zubhav"
      ]
    }
  }
}

Cline

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

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-typescript-template-zubhav": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-typescript-template-zubhav"
      ]
    }
  }
}

FAQ

Is this template suitable for beginners?

Yes! The template is designed to be user-friendly and includes documentation to help beginners get started.

Can I customize the template for my own needs?

Absolutely! The template is flexible and can be modified to fit your specific requirements.

Where can I find more information?

You can find more information and documentation on the GitHub repository: https://github.com/zubhav/mcp-server-typescript-template.