MCP.so
Sign In

Template for MCP Server

@bladnman

Basic information

Category

Developer Tools

Transports

stdio

Author

bladnman

About Template for MCP Server

No overview available yet

Template for MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-server-template-bladnman": {
      "command": "npx",
      "args": [
        "make-mine",
        "https://github.com/bladnman/mcp-server-template.git",
        "<mcp-server>"
      ]
    }
  }
}

Template for MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is Template for MCP Server?

Template for MCP Server is a starting point for building an MCP server. It provides a simple string reversal tool, supports both stdio and SSE transports, and is implemented in TypeScript with a full build process. It is intended to be duplicated and customized.

How to use Template for MCP Server?

Install dependencies with npm install. Run the default stdio transport using bash run-server.sh or run with SSE transport via TRANSPORT_TYPE=sse npm run start (SSE server runs on port 4000 by default, configurable in CONST.ts). Test with MCP Inspector using npx fastmcp inspect server.ts.

Key features of Template for MCP Server

  • Simple string reversal tool
  • Support for both stdio and SSE transports
  • TypeScript implementation with full build process
  • Includes a reverse tool and two greeting resources
  • Hot reload development mode (npm run dev)
  • Build outputs to dist directory

Use cases of Template for MCP Server

  • Kickstarting a new MCP server project
  • Learning MCP server structure and tool/resource implementation
  • Rapid prototyping of string processing tools
  • Testing MCP transport behavior (stdio vs SSE)

Frequently asked questions

1

What transports does Template for MCP Server support?

It supports stdio (default) and SSE transports.

2

What tool is included in Template for MCP Server?

A `reverse` tool that takes a string input and returns it reversed.

3

What resources are available?

Two resources: `greeting://hello` (a welcome greeting) and `welcome://info` (information about the server and its capabilities).

4

How can I test the server?

Use the MCP Inspector: run `npx fastmcp inspect server.ts`, then execute the `run-server.sh` file with stdio and no arguments.

5

What are the prerequisites for running the server?

Node.js v14 or higher and npm.

Comments

More Developer Tools MCP servers