mcpField
F
fastmcp-boilerplate

fastmcp-boilerplate

Local
github.com/kyrelldixonDeveloper Tools0Updated 74w ago

About fastmcp-boilerplate

fastmcp-boilerplate is a TypeScript starter project for building MCP servers with FastMCP. It provides a small example module and test, plus commands for running and inspecting the server.

Key features

  1. 01FastMCP server starter
  2. 02TypeScript project structure
  3. 03Example add function
  4. 04Example test
  5. 05MCP Inspector run command

Use cases

  1. 01Start a FastMCP server project
  2. 02Try a basic server function and test
  3. 03Inspect a server through a Web UI

MCP support

This is a boilerplate for creating MCP servers with FastMCP. The included commands run the server or open it in MCP Inspector.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

fastmcp-boilerplate

A boilerplate project for building MCP servers using FastMCP, a TypeScript framework for building Model Context Protocol (MCP) servers.

Prerequisites

This project uses Bun, a fast all-in-one JavaScript runtime, package manager, and bundler. You can install it following the official documentation.

Getting Started

To install dependencies:

bun install

To run the project:

bun run index.ts

To run tests:

bun test

Another way to run the server is to use the official MCP Inspector to inspect your server with a Web UI:

bun run inspect

Project Structure

  • src/index.ts: Main entry point for the MCP server
  • src/add.ts: Example module with an add function
  • src/add.test.ts: Example test for the add function

About

This project is a boilerplate inspired by the fastmcp-boilerplate.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.