My-FastMCP-Development-Assistant-MCP
服务介绍
My-FastMCP-Development-Assistant-MCP
A comprehensive development assistance MCP server built with FastMCP.
This MCP server provides development tools for working with FastMCP projects, including documentation access, package version management, and TypeScript type definitions retrieval.
Features
- Documentation Access: Fetch FastMCP README and MCP architecture documentation
- Version Management: Retrieve NPM version information for packages
- Type Definitions: Access TypeScript type definitions from NPM packages
- Development Tools: Comprehensive analysis and search capabilities
Development
To get started, clone the repository and install the dependencies.
git clone <this-repository>
cd My-FastMCP-Development-Assistant-MCP
npm install
npm run dev
Usage
Start the server
If you simply want to start the server, you can use the start script.
npm run start
However, you can also interact with the server using the dev script.
npm run dev
This will start the server and allow you to interact with it using CLI.
Available Tools
The server provides the following tools:
- fetch-fastmcp-readme: Retrieves README file from FastMCP GitHub repository
- fetch-fastmcp-versions: Gets all versions and latest version info for FastMCP package on NPM
- fetch-mcp-architecture-doc: Fetches MCP architecture documentation from official site
- fetch-npm-types: Retrieves TypeScript type definitions for specified NPM packages
- analyze-npm-types: Performs comprehensive TypeScript type analysis for NPM packages
- get-npm-types-cache-stats: Shows cache statistics for type definition retrieval
Testing
npm run test
The tests verify that all modules can be properly imported and the main functionality works correctly.
Linting
Having a good linting setup reduces the friction for other developers to contribute to your project.
npm run lint
This project uses Prettier, ESLint and TypeScript ESLint to lint the code.
Formatting
Use npm run format to format the code.
npm run format
Configuration
The server is designed to work out of the box with no configuration required. It dynamically fetches content from GitHub API, NPM registry, and MCP official documentation using caching strategies for optimal performance.
Claude Desktop Integration
To use this server with Claude Desktop, add the following configuration to your Claude Desktop settings:
{
"mcpServers": {
"my-mcp-server": {
"command": "npx",
"args": ["tsx", "/PATH/TO/YOUR_PROJECT/src/server.ts"]
}
}
}
Replace /PATH/TO/YOUR_PROJECT with the actual path to your project directory.