MCP.so
Sign In

MCP Server Template ๐Ÿ› ๏ธ

@MCP-Mirror

About MCP Server Template ๐Ÿ› ๏ธ

Mirror of

Basic information

Category

Developer Tools

Runtime

node

Transports

stdio

Publisher

MCP-Mirror

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Server Template ๐Ÿ› ๏ธ?

MCP Server Template ๐Ÿ› ๏ธ is a starter template for building custom Model Context Protocol (MCP) servers. It provides the basic TypeScript project structure and a sample tool implementation, designed for developers who want to create MCPs for use with Cursor or Claude Desktop.

How to use MCP Server Template ๐Ÿ› ๏ธ?

Clone the repository, install dependencies with pnpm install, and build with pnpm run build to generate /build/index.js. Then configure the compiled script as an MCP server in Cursor Settings (command type) or in the Claude Desktop MCP config JSON.

Key features of MCP Server Template ๐Ÿ› ๏ธ

  • Ready-to-use TypeScript project structure
  • Sample tool implementation to start from
  • Built with @modelcontextprotocol/sdk
  • Compiles to a single JavaScript file
  • Works with Cursor and Claude Desktop

Use cases of MCP Server Template ๐Ÿ› ๏ธ

  • Quickly scaffolding a new custom MCP server
  • Learning how to build MCP tools with TypeScript
  • Prototyping a tool that integrates with Claude Desktop
  • Providing a foundation for Cursor-based MCP extensions

FAQ from MCP Server Template ๐Ÿ› ๏ธ

What does MCP Server Template ๐Ÿ› ๏ธ contain?

It includes an index.ts main server file, a sample tool, package.json, tsconfig.json, and a build/ output folder. The sample tool demonstrates how to define parameters and return text responses.

How do I configure it with Cursor?

In Cursor Settings โ†’ MCP โ†’ Add new MCP server, set Type to โ€œcommandโ€ and enter node ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js as the command.

How do I configure it with Claude Desktop?

Add an entry to your Claude Desktop MCP configuration JSON with "command": "node" and "args": ["ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js"].

What runtime or dependencies are required?

You need Node.js, pnpm (or npm), and TypeScript. The template uses the @modelcontextprotocol/sdk package, installed via pnpm install.

How do I add my own tools?

Edit index.ts and use the server.tool() method with a Zod schema for parameters. Then rebuild with pnpm run build and restart the MCP server.

Comments

More Developer Tools MCP servers