Skip to content
MCP server

Devbrother2024 Typescript MCP Server Boilerplate

TypeScript starter template for building MCP servers with sample tools and resources

Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Remotely
Version
1.0.0
Listing updated
today

Similar MCP servers

About Devbrother2024 Typescript MCP Server Boilerplate

Devbrother2024 Typescript MCP Server Boilerplate is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

The README presents this as a boilerplate project for quickly scaffolding a Model Context Protocol server in TypeScript using the official TypeScript MCP SDK. It ships with a small src/index.ts entry point, a build step that compiles to the build directory, and example implementations of a calculator tool, a greeting tool, and a server-info resource that you can rename or replace.

Adding functionality follows the SDK's pattern: tools are registered with server.tool() and their inputs described with Zod schemas, while resources are registered with server.resource() to expose data by URI. The README also includes a sample weather tool that uses a placeholder data function, which you would swap for a real API call.

The template suits developers who want a working TypeScript MCP project as a starting point and plan to connect it to clients such as Cursor by pointing the client configuration at the compiled entry file. It is released under the MIT licence.

Install

Run in a terminal

claude mcp add --transport http devbrother2024-typescript-mcp-server-boilerplate https://server.smithery.ai/@devbrother2024/typescript-mcp-server-boilerplate/mcp

Add to Settings → Connectors → Add custom connector

https://server.smithery.ai/@devbrother2024/typescript-mcp-server-boilerplate/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "devbrother2024-typescript-mcp-server-boilerplate": {
      "url": "https://server.smithery.ai/@devbrother2024/typescript-mcp-server-boilerplate/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "devbrother2024-typescript-mcp-server-boilerplate": {
      "type": "http",
      "url": "https://server.smithery.ai/@devbrother2024/typescript-mcp-server-boilerplate/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "devbrother2024-typescript-mcp-server-boilerplate": {
      "serverUrl": "https://server.smithery.ai/@devbrother2024/typescript-mcp-server-boilerplate/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "devbrother2024-typescript-mcp-server-boilerplate": {
      "type": "http",
      "url": "https://server.smithery.ai/@devbrother2024/typescript-mcp-server-boilerplate/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

calculator
Performs add, subtract, multiply or divide on two numbers.
greet
Returns a greeting in Korean or English for a given name.
get_weather
Example tool that returns placeholder weather data for a city.

What it does

Sample calculator tool
Includes a calculator tool with add, subtract, multiply and divide operations that uses Zod schemas for its inputs.
Greeting tool
Provides a simple greeting tool that responds in Korean or English.
Example resources
Demonstrates static and dynamic resources registered by URI, including a server information resource.
Zod-based input schemas
Shows how to describe tool parameters with Zod so clients receive typed, documented inputs.
Compile-to-build workflow
Uses npm scripts to compile the TypeScript source into a build directory that the server runs from.
Cursor connection example
Includes a sample Cursor configuration for launching the compiled server as a local command.

Good for

  • Starting a new TypeScript MCP server project without setting up the SDK and build tooling by hand
  • Learning how to register tools and resources with the TypeScript MCP SDK
  • Testing an MCP server locally from an editor such as Cursor before adding real integrations

Pricing

Open source

Free, MIT licensed boilerplate.

Devbrother2024 Typescript MCP Server Boilerplate FAQ

What language is the template written in?

It is written in TypeScript and uses the official @modelcontextprotocol/sdk package along with Zod for schema validation.

What licence does it use?

The README states that the project is released under the MIT licence.

What example tools are included?

The README describes a calculator tool, a greeting tool and a server information resource, plus a sample weather tool that returns placeholder data.

Is Devbrother2024 Typescript MCP Server Boilerplate free?

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

How do I add Devbrother2024 Typescript MCP Server Boilerplate to Claude Code?

Run this command in your terminal: claude mcp add --transport http devbrother2024-typescript-mcp-server-boilerplate https://server.smithery.ai/@devbrother2024/typescript-mcp-server-boilerplate/mcp

What are the best alternatives to Devbrother2024 Typescript MCP Server Boilerplate?

The closest alternatives to Devbrother2024 Typescript MCP Server Boilerplate are MCP Server Template, MCP Ts Template, Swapi MCP, Srecode Template MCP and Template MCP Server.

Where this comes from

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

How AIPoweredBot checks servers