Is fastmcp safe?
What fastmcp does
FastMCP is a Python framework for building Model Context Protocol servers, clients and interactive apps. A plain Python function becomes an MCP tool, with its schema and validation generated for you. The PyPI author field lists Jeremiah Lowin and Nate Nowack, the README says Prefect makes it, and the code lives in PrefectHQ/fastmcp. Servers you build expose your own functions to MCP clients and can run over HTTP on a host and port you choose. Before installing, decide how clients will reach each server, bind HTTP servers to 127.0.0.1 as the documentation example does, and add authentication before you expose one on a network.
- MCP tool surface detected
What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.
fastmcp is a PyPI package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators. It can: mcp tools detected — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).
fastmcp 4.2.4
Get notified when this component changes
Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of fastmcp's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (1)
An MCP tool surface (manifest or tool definitions) was found.
mcp = FastMCP("Demo 🚀")@mcp.tool
Why it matters: Just context — review which tools it offers and their permissions.
Fix: Review the declared MCP tools and their permissions.
Maintain fastmcp?
The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →