A minimal TypeScript MCP server that provides a 'hello' tool using the fastMCP framework.
A minimal TypeScript MCP server built with fastMCP that returns "hello" responses.
pnpm install
# Build the project pnpm build # Run the development server with fastMCP CLI pnpm mcp:dev # Use the MCP Inspector with a web UI pnpm mcp:inspect # Format code pnpm format # Lint code pnpm lint
src/server.ts
- The main MCP server implementationbiome.json
- Biome configuration for linting and formattingtsconfig.json
- TypeScript configurationThis is a simple MCP (Model Context Protocol) server that provides a "hello" tool. It uses the fastMCP TypeScript framework to simplify server implementation.
pnpm mcp:dev
or directly, you might see a warning like [warning] FastMCP could not infer client capabilities
. This is normal and happens when the client doesn't provide capabilities information. The server will still function correctly.To use this MCP server with Claude Desktop, add the following configuration:
{ "mcpServers": { "Simple Hello Server": { "url": "http://localhost:3000/mcp" } } }
ISC
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!