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
      • __init__
      • auth
      • providers
        • __init__
        • bearer
        • bearer_env
        • in_memory
    • 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

    in_memory

    ​
    fastmcp.server.auth.providers.in_memory

    ​
    Classes

    ​
    InMemoryOAuthProvider

    An in-memory OAuth provider for testing purposes. It simulates the OAuth 2.1 flow locally without external calls.

    bearer_envcontext
    blueskygithubx
    Powered by Mintlify
    On this page
    • fastmcp.server.auth.providers.in_memory
    • Classes
    • InMemoryOAuthProvider
    Assistant
    Responses are generated using AI and may contain mistakes.