Repository navigation
Add Prefect docs MCP server proxy functionality - #25
Merged
Merged
Conversation
Mount the Prefect docs MCP server at https://docs.prefect.io/mcp as a proxy with "docs" prefix to expose documentation search tools alongside existing Prefect API tools. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
There was a problem hiding this comment.
Pull Request Overview
This PR adds Prefect documentation search capability by mounting a Prefect docs MCP server as a proxy, enabling users to search the Prefect knowledge base alongside existing API tools.
Key changes:
- Mount Prefect docs MCP server proxy at
https://docs.prefect.io/mcpwith "docs" prefix - Add comprehensive test coverage for proxy functionality and original feature preservation
- Update existing tests to accommodate additional tools from the mounted proxy
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/prefect_mcp_server/server.py | Adds ProxyClient import and mounts docs proxy with "docs" prefix |
| tests/test_server.py | Updates tool count assertions and adds tests for prompts and proxy integration |
| tests/test_docs_proxy.py | Comprehensive test suite for docs proxy functionality and feature preservation |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
desertaxle
marked this pull request as ready for review
September 22, 2025 20:02
chrisguidry
approved these changes
Sep 22, 2025
chrisguidry
left a comment
Contributor
There was a problem hiding this comment.
:easy_button: Noice!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR exposes a tool to search the Prefect docs. This should help clients using this MCP server to write better Prefect code and interact with the CLI and other Prefect concepts.
Changes
Core Implementation
ProxyClientimport fromfastmcp.server.proxyFastMCP.as_proxy()pointing tohttps://docs.prefect.io/mcpmcp.mount()Tools Added
docs_SearchPrefect: Search the Prefect knowledge base for documentation, code examples, and API references🤖 Generated with Claude Code