Rename filesystem-provider example dir to avoid mcp/ collision (#3878)

This commit is contained in:
Jeremiah Lowin 2026-04-12 17:01:58 -04:00 committed by GitHub
commit dfe9b307bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 11 additions and 11 deletions

View file

@ -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)
)