PrefectHQ/fastmcp
🚀 The fast, Pythonic way to build MCP servers and clients.
2999234dc18afastmcp-agentic-maintenance0.1.0 in .github/agentic/pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 249 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 195 of 2,846 tools, prompts and resources could not be followed through the code
- 2,811 tools, prompts and resources registered only in the repository's tests and examples are not counted on this page
Top risks in plain words
- HIGH3 security advisories have been published for this server itself (worst: high).
- HIGHTools
list_files,read_fileread or write any file path by design: an agent steered by prompt injection can use them that way. - HIGH1 production dependency has known vulnerabilities (worst: high).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
list_files,read_filecan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
list_files,read_file, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
dnspython2.9.2 or later. - Use a fixed version
Versions before
fastmcp4.1.2 have a published vulnerability that is fixed in 4.1.2. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 22 tools, 7 resources, 6 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
active_work, claim_work, read, release_work, report_progress, searchactive_work, claim_work, read, release_work, report_progress, searchactive_work, claim_work, read, release_work, report_progress, searchNo tool was seen to: start other programs on the machine; read or write files; connect to the internet or other hosts.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
6 of 35 tools declare annotations. readOnlyHint 3, openWorldHint 4.
Tools, prompts and resources (35: 22 tools, 7 resources, 6 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
list_filestool List all uploaded files with metadata.Reads/writes files
List all uploaded files with metadata.
read_filetool Read an uploaded file's contents by name.Reads/writes files
Read an uploaded file's contents by name.
componentprompt
No description.
first_promptprompt First prompt description.
First prompt description.
fnprompt
No description.
name_or_fnprompt
No description.
promptprompt
No description.
promptprompt
No description.
componentresource
No description.
first_resourceresource First resource description.
First resource description.
fnresource
No description.
get_greetingresource Provides a simple greeting message.
Provides a simple greeting message.
resourceresource
No description.
resourceresource
No description.
uriresource
No description.
active_worktool Everything someone has claimed right now: target, agent kind, phase, andCredentialsEnv varsSensitive pathsread-only (declared)
Everything someone has claimed right now: target, agent kind, phase, and
since when. Clients that can't subscribe to the work.activity event can
check this instead.call_tool_bulktool Call a single tool registered on this MCP server multiple times with a single request.
Call a single tool registered on this MCP server multiple times with a single request.
Each call can include different arguments. Useful for speeding up what would otherwise
take several individual tool calls.
Args:
tool: The name of the tool to call.
tool_arguments: A list of dictionaries, where each dictionary contains the arguments for an individual run of the tool.call_tools_bulktool Call multiple tools registered on this MCP server in a single request. Each call can
Call multiple tools registered on this MCP server in a single request. Each call can
be for a different tool and can include different arguments. Useful for speeding up
what would otherwise take several individual tool calls.claim_worktool Claim an issue, PR or deploy before you start on it, so no one else does.CredentialsEnv varsSensitive paths
Claim an issue, PR or deploy before you start on it, so no one else does.
If someone holds it, you get who and since when: don't start competing work.
If you get it, you get a fence for report_progress and release_work, a
30-minute lease that every report_progress renews, and context: the item's
triage labels, related past items from triage memory, and earlier attempts.
Claims are public records (sites.wisp.place/prefect.io/triage-floor shows
them), carrying only the target, phase, agent kind and outcome. Never claim
security work.componenttool
No description.
echo_tooltool Echo the input text
Echo the input text
first_tooltool First tool description.
First tool description.
fntool
No description.
greetingtool Provides a simple info.
Provides a simple info.
name_or_fntool
No description.
readtool The current issue or PR, read live from GitHub: state, labels, body andCredentialsEnv varsSensitive pathsread-only (declared)
The current issue or PR, read live from GitHub: state, labels, body and
human comments.release_worktool Release a claim when you stop, whatever the reason. Every claim ends withCredentialsEnv varsSensitive paths
Release a claim when you stop, whatever the reason. Every claim ends with
an outcome; a claim left to lapse counts as a failed attempt.report_progresstool Report your phase on work you've claimed. Call it whenever your phaseCredentialsEnv varsSensitive paths
Report your phase on work you've claimed. Call it whenever your phase
changes and at least every 30 minutes, or the claim lapses and counts as a
failed attempt.searchtool Nearest past fastmcp issues or PRs to `query`, best first, one hit per item.CredentialsEnv varsSensitive pathsread-only (declared)
Nearest past fastmcp issues or PRs to `query`, best first, one hit per item.
Hybrid search (keywords and meaning) over titles, bodies and human comments.
States are as of the last index sync, at most about 30 minutes old.store_filestool Store uploaded files. Receives file objects with name, size, type, data (base64).
Store uploaded files. Receives file objects with name, size, type, data (base64).
submit_formtool Validate and process form submission.
Validate and process form submission.
tooltool
No description.
tooltool
No description.
tooltool
No description.
tooltool
No description.
Text the model reads (115)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
search tool
Nearest past fastmcp issues or PRs to `query`, best first, one hit per item.
Hybrid search (keywords and meaning) over titles, bodies and human comments.
States are as of the last index sync, at most about 30 minutes old.read tool
The current issue or PR, read live from GitHub: state, labels, body and
human comments.claim_work tool
Claim an issue, PR or deploy before you start on it, so no one else does.
If someone holds it, you get who and since when: don't start competing work.
If you get it, you get a fence for report_progress and release_work, a
30-minute lease that every report_progress renews, and context: the item's
triage labels, related past items from triage memory, and earlier attempts.
Claims are public records (sites.wisp.place/prefect.io/triage-floor shows
them), carrying only the target, phase, agent kind and outcome. Never claim
security work.report_progress tool
Report your phase on work you've claimed. Call it whenever your phase
changes and at least every 30 minutes, or the claim lapses and counts as a
failed attempt.release_work tool
Release a claim when you stop, whatever the reason. Every claim ends with
an outcome; a claim left to lapse counts as a failed attempt.active_work tool
Everything someone has claimed right now: target, agent kind, phase, and
since when. Clients that can't subscribe to the work.activity event can
check this instead.search tool
Search for posts containing specific text.
list_files tool
List files in a directory.
read_file tool
Read the contents of a file.
echo_tool tool
Echo the input text
list_files tool
List files in a directory.
read_file tool
Read the contents of a file.
store_files tool
Store uploaded files. Receives file objects with name, size, type, data (base64).
list_files tool
List all uploaded files with metadata.
read_file tool
Read an uploaded file's contents by name.
submit_form tool
Validate and process form submission.
call_tools_bulk tool
Call multiple tools registered on this MCP server in a single request. Each call can
be for a different tool and can include different arguments. Useful for speeding up
what would otherwise take several individual tool calls.call_tool_bulk tool
Call a single tool registered on this MCP server multiple times with a single request.
Each call can include different arguments. Useful for speeding up what would otherwise
take several individual tool calls.
Args:
tool: The name of the tool to call.
tool_arguments: A list of dictionaries, where each dictionary contains the arguments for an individual run of the tool.echo_tool tool
Echo the input text
greeting tool
Provides a simple info.
first_tool tool
First tool description.
tool tool
component tool
fn tool
tool tool
tool tool
tool tool
name_or_fn tool
read tool
tool tool
search tool
search tool
fn tool
tool tool
read tool
first_tool tool
report_progress tool
tool tool
tool tool
tool tool
tool tool
read tool
tool tool
tool tool
tool tool
fn tool
tool tool
tool tool
tool tool
search tool
Search for items.
search tool
Custom description
search tool
search tool
Search for items.
read tool
first_prompt prompt
First prompt description.
prompt prompt
component prompt
fn prompt
prompt prompt
name_or_fn prompt
greeting prompt
greeting prompt
fn prompt
greeting prompt
prompt prompt
prompt prompt
prompt prompt
prompt prompt
prompt prompt
greeting prompt
fn prompt
fn prompt
fn prompt
A custom description
greeting prompt
greeting prompt
greeting prompt
greeting prompt
greeting prompt
greeting prompt
get_greeting resource
Get a personalized greeting
read_file resource
Read a file from a directory.
get_greeting resource
Provides a simple greeting message.
first_resource resource
First resource description.
resource resource
component resource
fn resource
resource resource
uri resource
greeting resource
fn resource
resource resource
read_file resource
read_file resource
read_file resource
read_file resource
read resource
read resource
read_file resource
read_file resource
read_file resource
search resource
resource resource
read resource
search resource
search resource
search resource
fn resource
resource resource
first_resource resource
first_resource resource
greeting resource
search resource
resource resource
read_file resource
read_file resource
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 35 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 35 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path HIGH4 findings in list_files, read_file
- Requests any addressNo tool sends a request to an address the caller supplies — 35 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 35 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 35 capabilities; 12 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 35 capabilities; 12 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 35 capabilities; 12 more call code the scanner could not follow, where it may happen
Where the code is: 35 handlers in 13 files at commit 2999234dc18a
.github/agentic/memory_server.pysearch, read, claim_work, report_progress, release_work, active_workfastmcp_slim/fastmcp/apps/file_upload.pystore_files, list_files, read_filefastmcp_slim/fastmcp/apps/form.pysubmit_formfastmcp_slim/fastmcp/contrib/bulk_tool_caller/bulk_tool_caller.pycall_tools_bulk, call_tool_bulkfastmcp_slim/fastmcp/contrib/bulk_tool_caller/example.pyecho_toolfastmcp_slim/fastmcp/contrib/component_manager/example.pyget_greeting, greetingfastmcp_slim/fastmcp/contrib/mcp_mixin/example.pyfirst_tool, first_resource, first_promptfastmcp_slim/fastmcp/contrib/mcp_mixin/mcp_mixin.pytool, resource, promptfastmcp_slim/fastmcp/server/providers/filesystem.pycomponent, component, componentfastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.pyfnfastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.pyfnfastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.pyfnfastmcp_slim/fastmcp/server/server.pytool, tool, tool, name_or_fn, resource, uri, prompt, name_or_fn
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests10 manifests: .github/agentic/pyproject.toml, examples/apps/qr_server/pyproject.toml, examples/atproto_mcp/pyproject.toml, examples/auth/aws_oauth/requirements.txt, examples/smart_home/pyproject.toml
- Lockfiles checked against OSV5 files resolved and checked against the OSV database; 10 not resolved: .github/agentic/pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; examples/apps/qr_server/pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies HIGH1 production package with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp >=3.4.8
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials6 of 35 capabilities read credentials; 6 more call code the scanner could not follow, where it may happen
- Environment variables6 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (21 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (1 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
dnspythonPyPI 2.8.0 HIGH 2 advisories 2.9.02.9.2
- HIGHGHSA-45c3-73f7-pv4m CVE-2026-114605dnspython dns.name.from_wire_parser() excessive CPU use
- HIGHGHSA-vvf4-9x63-8xvv CVE-2026-128089dnspython has excessive memory and CPU use
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
- MEDIUM FastMCP: Post-transform component authorization is skipped on direct calls
- MEDIUM FastMCP MCP client wrappers construct M2M OAuth providers without issuer binding — client secret redirectable to attacker-advertised authorization server
- HIGH GHSA-5h2m-4q8j-pqpjCVE-2025-69196FastMCP OAuth Proxy token reuse across MCP servers
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp , fastmcp >=0.8.0, fastmcp >=3.4.8 |
| Servers in the code | 20 (fastmcp-triage-memory, Approval Demo, Approvals Server, Sales Dashboard, Choice Demo, Contacts Server, Team Directory, Data Explorer, File Upload Server, Form Demo, Prefab Studio, Greeter, Inspector Demo, Inventory Server, Interactive Map, Media Picker, Test actuator, Patterns Showcase, QR Code Server) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | 3 · 3 with a fixed version released |
| Last push | 2026-11-15 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | Apache-2.0 |
| Created | 2024-11-30 |
| Topics | agents fastmcp llms mcp mcp-clients mcp-servers mcp-tools model-context-protocol python |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.