@wangbingqian_/hello-fastmcp
v1.0.1
Published
A simple FastMCP tool that outputs Hello FastMCP!
Downloads
10
Readme
helloFastMCP
A simple FastMCP tool that outputs "Hello FastMCP!" when called.
Installation
Make sure you have Node.js installed, then run:
npm installBuilding
To build the project:
npm run buildRunning
You can run the tool in development mode directly with TypeScript:
npx fastmcp dev src/index.tsOr you can build and run the compiled JavaScript:
npm run build
npm startUsage
Once running, the tool can be called without any parameters and will return the text "Hello FastMCP!".
Integration with AI Agents
To use this tool in other AI agent applications, you can configure it in your agent's configuration file:
Claude Desktop Configuration
Add the following to your claude.json configuration file:
{
"mcpServers": {
"hello-fastmcp": {
"command": "npx",
"args": ["@wangbingqian_/hello-fastmcp"],
"env": {}
}
}
}Alternative Configuration
If you've installed the package globally:
npm install -g @wangbingqian_/hello-fastmcpThen configure your agent with:
{
"mcpServers": {
"hello-fastmcp": {
"command": "hello-fastmcp",
"args": []
}
}
}Configuration Files
This repository includes sample configuration files:
- mcp-config.json - Basic configuration using npx
- mcp-config-example.json - Multiple configuration examples
This will make the helloFastMCP tool available to your AI agent, which when called without any parameters will return "Hello FastMCP!".
