fastmcp-boilerplate
@kyrelldixon
关于 fastmcp-boilerplate
A simple boilerplate for creating MCP servers with bun and fastmcp
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"fastmcp-boilerplate": {
"command": "bun",
"args": [
"run",
"index.ts"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is fastmcp-boilerplate?
A boilerplate project for building MCP servers using FastMCP, a TypeScript framework for the Model Context Protocol. It is intended for developers who want to quickly start creating MCP servers with a ready-to-use structure and example code.
How to use fastmcp-boilerplate?
Install dependencies with bun install, then run the server with bun run index.ts. You can run tests with bun test or launch the MCP Inspector for a web UI using bun run inspect.
Key features of fastmcp-boilerplate
- Based on the FastMCP TypeScript framework
- Uses Bun as runtime, package manager, and bundler
- Includes an example
addmodule and test - Supports MCP Inspector for debugging
- Minimal, easy-to-extend project structure
Use cases of fastmcp-boilerplate
- Quickly bootstrap a new MCP server project
- Learn FastMCP patterns and project layout
- Test and debug MCP tools with the Inspector
- Extend with custom resources, tools, or prompts
FAQ from fastmcp-boilerplate
What runtime is required?
Bun is required as the JavaScript runtime, package manager, and bundler. Install it from the official documentation.
How do I install dependencies and run the server?
Run bun install to install dependencies, then bun run index.ts to start the server.
How can I test or inspect the server?
Run bun test to execute the included tests, or bun run inspect to open the MCP Inspector in a web UI.
What is the project structure?
The main entry point is src/index.ts. There is an example module src/add.ts and a corresponding test file src/add.test.ts. Additional tools and resources can be added following this pattern.
开发工具 分类下的更多 MCP 服务器
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
Huoshan Test
volcenginesentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
评论