FastMCP Boilerplate
Provides linting capabilities to ensure code quality and consistency in the MCP server project.
Supports version control operations for the MCP server project, including cloning repositories.
Enables interaction with GitHub repositories, including cloning and forking operations for MCP server development.
Automates workflows for linting, formatting, testing, and publishing package updates to NPM.
Facilitates package management and publishing of the MCP server to the NPM registry.
Provides code formatting capabilities to maintain consistent code style in the MCP server project.
Automates version management and package publishing to NPM based on commit messages.
Supports static type checking and TypeScript ESLint integration for enhanced code quality.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FastMCP Boilerplate show me how to run tests for my new MCP server"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FastMCP Boilerplate
A boilerplate for FastMCP.
This boilerplate is a good starting point for building an MCP server. It includes a basic setup for testing, linting, formatting, and publishing to NPM.
Development
To get started, clone the repository and install the dependencies.
git clone https://github.com/punkpeye/fastmcp-boilerplate.git
cd fastmcp-boilerplate
npm install
npm run devIf you are starting a new project, you may want to forkfastmcp-boilerplate and start from there.
Start the server
If you simply want to start the server, you can use the start script.
npm run startHowever, you can also interact with the server using the dev script.
npm run devThis will start the server and allow you to interact with it using CLI.
Testing
A good MCP server should have tests. However, you don't need to test the MCP server itself, but rather the tools you implement.
npm run testIn the case of this boilerplate, we only test the implementation of the add tool.
Linting
Having a good linting setup reduces the friction for other developers to contribute to your project.
npm run lintThis boilerplate uses Prettier, ESLint and TypeScript ESLint to lint the code.
Formatting
Use npm run format to format the code.
npm run formatGitHub Actions
This repository has a GitHub Actions workflow that runs linting, formatting, tests, and publishes package updates to NPM using semantic-release.
In order to use this workflow, you need to:
Add
NPM_TOKENto the repository secretsAdd token as
NPM_TOKENenvironment secret (Settings → Secrets and Variables → Actions → "Manage environment secrets" → "release" → Add environment secret)
Grant write access to the workflow (Settings → Actions → General → Workflow permissions → "Read and write permissions")
Available Tools
1 toolproperty_searchBRead-only
Search for a real estate property via spatial, semantic, or hybrid search
Inputs: query (required), limit, max_price, min_baths, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools, making disambiguation perfect. The tool's purpose is clearly defined as searching for real estate properties, leaving no room for confusion.
A single tool inherently exhibits perfect naming consistency, as there are no other tools to compare against. The name 'property_search' follows a clear verb_noun pattern, which is consistent in isolation.
A single tool is generally too few for a server's purpose, as it limits functionality and suggests an incomplete or overly narrow scope. For real estate, one search tool lacks essential operations like creating, updating, or deleting properties, making it insufficient for typical workflows.
The tool set is severely incomplete for a real estate domain, as it only provides search functionality without any CRUD operations (create, read, update, delete) or lifecycle management. This gap will likely cause agent failures when attempting to perform basic tasks beyond searching.
Maintenance
Related MCP Connectors
Primarily to be used as a template repository for developing MCP servers with FastMCP in Python, P…
FastMCP commerce server starter: product catalog, search, and checkout. Deploy to Vercel in 5 min.
A simple MCP server built with FastMCP and python
Related MCP Servers
- AlicenseCqualityNot gradedmaintenanceA DevOps-friendly template for building MCP servers with CI/CD, Docker support, and automatic documentation generation using fastmcp and FastAPI.1MIT
- AlicenseNot gradedqualityDmaintenanceA boilerplate for building FastMCP servers, providing a basic setup for testing, linting, formatting, and publishing to NPM.1MIT
- FlicenseBqualityDmaintenanceA minimal MCP server template for testing and development, providing example implementations with fastmcp and Python.94-
- AlicenseAqualityBmaintenanceA TypeScript starter template for MCP servers with CI/CD, OIDC npm publishing, and zero-secret setup.1MIT