mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
Rename filesystem-provider example dir to avoid mcp/ collision (#3878)
This commit is contained in:
parent
1d39e26025
commit
dfe9b307bd
6 changed files with 11 additions and 11 deletions
|
|
@ -22,7 +22,7 @@ from fastmcp.server.providers import FileSystemProvider
|
|||
# Functions decorated with @tool, @resource, or @prompt are registered.
|
||||
# Directory structure is purely organizational - decorators determine type.
|
||||
provider = FileSystemProvider(
|
||||
root=Path(__file__).parent / "mcp",
|
||||
root=Path(__file__).parent / "components",
|
||||
reload=True, # Set True for dev mode (re-scan on every request)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue