Platformatic MCP
MCP server by platformatic Verified · npm:@platformatic
Platformatic MCP is a Fastify plugin that implements the Model Context Protocol server using JSON-RPC 2.0. It lets Fastify applications expose tools, resources and prompts to AI assistants. It is aimed at developers who want to add MCP support to an existing Fastify app.
Install Platformatic MCP
Built from the published package, never by AI.
claude mcp add platformatic-mcp -- npx -y @platformatic/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"platformatic-mcp": {
"args": [
"-y",
"@platformatic/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"platformatic-mcp": {
"args": [
"-y",
"@platformatic/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"platformatic-mcp": {
"args": [
"-y",
"@platformatic/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add platformatic-mcp -- npx -y @platformatic/mcp{
"mcpServers": {
"platformatic-mcp": {
"args": [
"-y",
"@platformatic/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add platformatic-mcp npx -y @platformatic/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the platformatic-mcp block.
About
Platformatic MCP is an npm package, @platformatic/mcp, that adds a Model Context Protocol server to a Fastify application. You register the plugin, then add tools, resources and prompts with handlers through methods such as mcpAddTool, mcpAddResource and mcpAddPrompt. The source says it follows the MCP 2025-06-18 specification and negotiates protocol versions down to older revisions for older clients.
The plugin supports HTTP with SSE and stdio transports, session management with an optional Redis backend for horizontal scaling, and elicitation in form and URL modes. It also includes an in-process MCP client that uses app.inject() for tests and in-process use. The source is aimed at developers who build MCP servers on Fastify and want type-safe schemas through optional TypeBox support.
Written from the project's README and checked against it.
What you need
- npm
- A Fastify application
- TypeBox (optional, for type-safe schemas)
- Redis (optional, for distributed storage)
Try asking
- Add a calculator tool to my Fastify MCP server
- Expose my config file as an MCP resource in Fastify
- Create an MCP prompt that generates code review comments
Good to know
- Tasks support is marked experimental in the source.
- No OAuth or JWT credentials are generated for you.
- Browser clients need the application to configure CORS for /mcp.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Add MCP tools to a Fastify app
- Expose app resources to AI assistants
- Test MCP servers in process
- Scale MCP sessions with Redis
Alternatives to Platformatic MCP
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Platformatic MCP: common questions
Does Platformatic MCP include ready-made tools?
The source shows example tools such as a calculator, but it does not list built-in tools. You add your own tools, resources and prompts with handlers.
Which MCP protocol versions does it support?
The source lists 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05. The server answers with the client's requested revision when it supports it.
Can it run on more than one server instance?
The source says it offers Redis-backed session management and message broadcasting for horizontal scaling, with memory and Redis backends that can be switched.
How do I install Platformatic MCP?
In Claude Code run claude mcp add platformatic-mcp -- npx -y @platformatic/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Platformatic MCP the official server?
Platformatic MCP is published by npm:@platformatic from its verified domain in the official MCP Registry.
Is Platformatic MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Platformatic MCP safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Platformatic MCP?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Platformatic MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
