# Template MCP Server

> Template MCP Server is an open-source MCP server for developer tools. Example Microsoft MCP server template for developers building their own servers. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Windows, Linux, macOS, CLI, self-hosted
- **Repository:** https://github.com/microsoft/mcp/tree/HEAD/servers/Template.Mcp.Server
- **MCP Registry name:** com.microsoft/template-server-name
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This is a template server from Microsoft's MCP repository, published as a starting point rather than a production integration. The registry entry describes it only as a template example, and no tools are listed.

It runs over stdio and is distributed in several forms: a NuGet package, an npm package (@azure/mcp-template), a PyPI package (msmcp-template), and standalone MCPB bundles for Windows, Linux and macOS on x64 and arm64. The current version is a pre-release alpha (0.0.12).

It suits developers who want to see how Microsoft packages and ships an MCP server across multiple package ecosystems, or who need a scaffold for their own server.

## Features

- **Stdio transport:** Communicates with MCP clients over standard input and output.
- **Multiple package formats:** Available as NuGet, npm and PyPI packages.
- **Cross-platform bundles:** MCPB release bundles cover Windows, Linux and macOS on x64 and arm64.
- **Template example:** Serves as a reference scaffold within Microsoft's MCP repository.

## Good for

- Studying how Microsoft packages an MCP server
- Scaffolding a custom MCP server
- Testing MCP client setup with a minimal stdio server
- Learning multi-ecosystem MCP distribution

## Install

### Claude Code (Terminal)

```sh
claude mcp add template-server-name -- npx -y @azure/mcp-template
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "template-server-name": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp-template"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "template-server-name": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp-template"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "template-server-name": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp-template"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "template-server-name": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp-template"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "template-server-name": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp-template"
      ]
    }
  }
}
```

## FAQ

### What transport does it use?

It uses stdio only; no remote endpoints are listed.

### How can I install it?

Via the NuGet package Microsoft.Template.Mcp, the npm package @azure/mcp-template, the PyPI package msmcp-template, or an MCPB bundle from the GitHub releases.

### Which platforms have prebuilt bundles?

Windows, Linux and macOS, on both x64 and arm64.

### Is it production ready?

The current version is an alpha pre-release (0.0.12) and is described as a template example.

### Is Template MCP Server free?

Yes. Template MCP Server is open source, so you can use and self-host it for free.

### How do I add Template MCP Server to Claude Code?

Run this command in your terminal: claude mcp add template-server-name -- npx -y @azure/mcp-template

### What are the best alternatives to Template MCP Server?

The closest alternatives to Template MCP Server are Makefile MCP, MCP Ts Template, MCP Server Template, Srecode Template MCP and Dotnet Template MCP.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Makefile MCP](https://ai-powered.com/mcp/makefile-mcp-2): Makefile MCP is an open-source MCP server for developer tools.
- [MCP Ts Template](https://ai-powered.com/mcp/mcp-ts-template): MCP Ts Template is an open-source MCP server for developer tools.
- [MCP Server Template](https://ai-powered.com/mcp/mcp-server-template): MCP Server Template is an open-source MCP server for developer tools.
- [Srecode Template MCP](https://ai-powered.com/mcp/srecode-template-mcp): Srecode Template MCP is an open-source MCP server for developer tools.
- [Dotnet Template MCP](https://ai-powered.com/mcp/dotnet-template-mcp): Dotnet Template MCP is an open-source MCP server for developer tools.
- [My MCP Serve](https://ai-powered.com/mcp/my-mcp-serve): My MCP Serve is an MCP server for developer tools.
- [My MCP Server](https://ai-powered.com/mcp/my-mcp-server): My MCP Server is an MCP server for developer tools.
- [Template server](https://ai-powered.com/mcp/template-server-9): Template server is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/template-mcp-server
