Show HN: @mcp-it/fastify – Auto-generate MCP tools from Fastify APIs

github.com

2 points by Adir 14 hours ago

Hi,

I wanted a straightforward way to expose my Fastify server APIs to AI assistants using the Model Context Protocol (MCP) without needing custom wrappers etc., and couldn't find an existing solution that did this automatically.

So I built `@mcp-it/fastify` – a plugin for Fastify that automatically discovers the API routes and exposes them as MCP tools, making them callable by clients like Cursor, Claude Desktop, etc.

It supports: * Automatic route discovery. * SSE and Streamable HTTP transports. * Per-route configuration (e.g., hiding internal routes, custom tool names).

The project is open-source and available on https://github.com/AdirAmsalem/mcp-it.

I'd love to get your feedback! Is this useful? Are there other frameworks you'd like to see supported (NestJS, Express, others)?

Thanks!