Skip to content

Fix MCP tool on docs welcome page#3874

Merged
jlowin merged 1 commit intoPrefectHQ:mainfrom
lkiesow:search_fast_mcp
Apr 12, 2026
Merged

Fix MCP tool on docs welcome page#3874
jlowin merged 1 commit intoPrefectHQ:mainfrom
lkiesow:search_fast_mcp

Conversation

@lkiesow
Copy link
Copy Markdown
Contributor

@lkiesow lkiesow commented Apr 12, 2026

Description

Trying out the example on the welcome page of FastMCP's docs, I ended up with the exception:

…
    raise McpError(response_or_error.error)
mcp.shared.exceptions.McpError: MCP error -32602: Tool SearchFastMcp not found

This patch fixes the problem by using the correct tool name search_fast_mcp.

Contribution type

  • Bug fix (simple, well-scoped fix for a clearly broken behavior)
  • Documentation improvement
  • Enhancement (maintainers typically implement enhancements — see CONTRIBUTING.md)

Checklist

  • This PR addresses an existing issue (or fixes a self-evident bug)
  • I have read CONTRIBUTING.md
  • I have self-reviewed my changes

Trying out the example on the welcome page of FastMCP's docs, I ended up
with the exception:

```
…
    raise McpError(response_or_error.error)
mcp.shared.exceptions.McpError: MCP error -32602: Tool SearchFastMcp not found
```

This patch fixes the problem by using the correct tool name
`search_fast_mcp`.
@marvin-context-protocol marvin-context-protocol Bot added bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. documentation Updates to docs, examples, or guides. Primary change is documentation-related. and removed documentation Updates to docs, examples, or guides. Primary change is documentation-related. labels Apr 12, 2026
@jlowin
Copy link
Copy Markdown
Member

jlowin commented Apr 12, 2026

I think this was already done in #3781?

@jlowin
Copy link
Copy Markdown
Member

jlowin commented Apr 12, 2026

Oh this is for v2 docs 👍

@jlowin jlowin merged commit 06f58eb into PrefectHQ:main Apr 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants