FastMCP home page
FastMCP
  • jlowin/fastmcp
  • jlowin/fastmcp
  • Documentation
  • Community
  • SDK Reference
    • exceptions
    • settings
    fastmcp.cli
    • __init__
    • claude
    • cli
    • run
    fastmcp.client
    • __init__
    • auth
    • client
    • logging
    • oauth_callback
    • progress
    • roots
    • sampling
    • transports
    fastmcp.prompts
    • __init__
    • prompt
    • prompt_manager
    fastmcp.resources
    • __init__
    • resource
    • resource_manager
    • template
    • types
    fastmcp.server
    • __init__
    • auth
    • context
    • dependencies
    • http
    • middleware
    • openapi
    • proxy
    • Fastmcp server server
    fastmcp.tools
    • __init__
    • tool
    • tool_manager
    • Fastmcp tools tool transform
    fastmcp.utilities
    • __init__
    • cache
    • components
    • exceptions
    • http
    • json_schema
    • logging
    • mcp_config
    • openapi
    • types

    roots

    ​
    fastmcp.client.roots

    ​
    Functions

    ​
    convert_roots_list

    Copy
    Ask AI
    convert_roots_list(roots: RootsList) -> list[mcp.types.Root]
    

    ​
    create_roots_callback

    Copy
    Ask AI
    create_roots_callback(handler: RootsList | RootsHandler) -> ListRootsFnT
    
    progresssampling
    blueskygithubx
    Powered by Mintlify
    On this page
    • fastmcp.client.roots
    • Functions
    • convert_roots_list
    • create_roots_callback
    Assistant
    Responses are generated using AI and may contain mistakes.