Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
10,524 in github.com/PrefectHQ/fastmcp
⨍
Functions
10,524
◇
Types & classes
1,545
↳
Endpoints
103
Method
__init__
( self, *, tool_name: str = "generate_prefab_ui", include_components_tool: boo
fastmcp_slim/fastmcp/apps/generative.py:73
Method
__init__
( self, name: str = "Choice", *, title: str = "Choose an Option", vari
fastmcp_slim/fastmcp/apps/choice.py:63
Method
__init__
( self, name: str = "Approval", *, title: str = "Approval Required", a
fastmcp_slim/fastmcp/apps/approval.py:79
Method
__init__
(self, name: str)
fastmcp_slim/fastmcp/apps/app.py:153
Method
__init__
( self, model: type[pydantic.BaseModel], *, name: str | None = None, t
fastmcp_slim/fastmcp/apps/form.py:122
Method
__init__
( self, name: str = "Files", *, max_file_size: int = 10 * 1024 * 1024,
fastmcp_slim/fastmcp/apps/file_upload.py:135
Method
__init__
(self)
fastmcp_slim/fastmcp/cli/apps_dev.py:78
Method
__init__
(self, version: str | None)
fastmcp_slim/fastmcp/utilities/versions.py:136
Method
__init__
( self, min_level: Literal["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"] | None = N
fastmcp_slim/fastmcp/utilities/logging.py:184
Method
__init__
Initialize HeadlessOAuth with stored response tracking.
fastmcp_slim/fastmcp/utilities/tests.py:233
Method
__init__
( self, path: str | Path | None = None, data: bytes | None = None, format: str
fastmcp_slim/fastmcp/utilities/types.py:241
Method
__init__
( self, path: str | Path | None = None, data: bytes | None = None, format: str
fastmcp_slim/fastmcp/utilities/types.py:313
Method
__init__
( self, path: str | Path | None = None, data: bytes | None = None, format: str
fastmcp_slim/fastmcp/utilities/types.py:371
Method
__init__
Initialise the cache. Args: ttl_seconds: How long cached entries remain valid, in seconds. ``None`` or ``0`` disa
fastmcp_slim/fastmcp/utilities/token_cache.py:62
Method
__init__
(self, *, source: dict | FileSystemSource, **data)
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:174
Method
__init__
Initialize FileSystemSource, handling path:object syntax.
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/sources/filesystem.py:46
Method
__init__
Initialize the parser with the OpenAPI schema and type classes.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:123
Method
__init__
Initialize with a parsed SchemaPath object.
fastmcp_slim/fastmcp/utilities/openapi/director.py:32
Method
__init__
( self, fastmcp: FastMCP, session: ServerSession | None = None, *, tas
fastmcp_slim/fastmcp/server/context.py:192
Method
__init__
(self, event_store: SDKEventStore, session_id: str)
fastmcp_slim/fastmcp/server/event_store.py:43
Method
__init__
( self, storage: AsyncKeyValue | None = None, max_events_per_stream: int = 100,
fastmcp_slim/fastmcp/server/event_store.py:122
Method
__init__
(self)
fastmcp_slim/fastmcp/server/dependencies.py:1152
Method
__init__
(self, claim_name: str)
fastmcp_slim/fastmcp/server/dependencies.py:1330
Method
__init__
( self, app: Any, event_store: EventStore | None = None, json_response: bool =
fastmcp_slim/fastmcp/server/http.py:46
Method
__init__
( self, app: ASGIApp, allowed_hosts: Sequence[str] | None = None, allowed_orig
fastmcp_slim/fastmcp/server/http.py:228
Method
__init__
(self, app)
fastmcp_slim/fastmcp/server/http.py:366
Method
__init__
( self, name: str | None = None, instructions: str | None = None, *, v
fastmcp_slim/fastmcp/server/server.py:321
Method
__init__
Initialize a Lifespan wrapper. Args: fn: An async generator function that takes a FastMCP server and yields a dic
fastmcp_slim/fastmcp/server/lifespan.py:68
Method
__init__
Initialize with a context manager factory function.
fastmcp_slim/fastmcp/server/lifespan.py:118
Method
__init__
Initialize a composed lifespan. Args: left: The first lifespan to enter. right: The second lifespan to enter.
fastmcp_slim/fastmcp/server/lifespan.py:144
Method
__init__
(self, fastmcp: FastMCP, *args, **kwargs)
fastmcp_slim/fastmcp/server/low_level.py:40
Method
__init__
Initialize logging middleware. Args: logger: Logger instance to use. If None, creates a logger named 'fastmcp.requests'
fastmcp_slim/fastmcp/server/middleware/logging.py:167
Method
__init__
Initialize structured logging middleware. Args: logger: Logger instance to use. If None, creates a logger named 'fastmcp.structur
fastmcp_slim/fastmcp/server/middleware/logging.py:219
Method
__init__
Initialize error handling middleware. Args: logger: Logger instance for error logging. If None, uses 'fastmcp.errors'
fastmcp_slim/fastmcp/server/middleware/error_handling.py:37
Method
__init__
Initialize retry middleware. Args: max_retries: Maximum number of retry attempts base_delay: Initial delay between re
fastmcp_slim/fastmcp/server/middleware/error_handling.py:157
Method
__init__
Initialize timing middleware. Args: logger: Logger instance to use. If None, creates a logger named 'fastmcp.timing'
fastmcp_slim/fastmcp/server/middleware/timing.py:27
Method
__init__
Initialize detailed timing middleware. Args: logger: Logger instance to use. If None, creates a logger named 'fastmcp.timing.deta
fastmcp_slim/fastmcp/server/middleware/timing.py:79
Method
__init__
Initialize the response caching middleware. Args: cache_storage: The cache backend to use. If None, an in-memory cache is used.
fastmcp_slim/fastmcp/server/middleware/caching.py:208
Method
__init__
(self, message: str = "Rate limit exceeded")
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:19
Method
__init__
Initialize token bucket. Args: capacity: Maximum number of tokens in the bucket refill_rate: Tokens added per second
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:26
Method
__init__
Initialize sliding window rate limiter. Args: max_requests: Maximum requests allowed in the time window window_second
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:65
Method
__init__
Initialize rate limiting middleware. Args: max_requests_per_second: Sustained requests per second allowed burst_capac
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:114
Method
__init__
Initialize sliding window rate limiting middleware. Args: max_requests: Maximum requests allowed in the time window w
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:198
Method
__init__
(self, auth: AuthCheck | list[AuthCheck])
fastmcp_slim/fastmcp/server/middleware/authorization.py:109
Method
__init__
Initialize ping middleware. Args: interval_ms: Interval between pings in milliseconds (default: 30000) Raises:
fastmcp_slim/fastmcp/server/middleware/ping.py:27
Method
__init__
Initialize the tool injection middleware.
fastmcp_slim/fastmcp/server/middleware/tool_injection.py:27
Method
__init__
(self)
fastmcp_slim/fastmcp/server/middleware/tool_injection.py:132
Method
__init__
Initialize response limiting middleware. Args: max_size: Maximum response size in bytes. Defaults to 1MB (1,000,000).
fastmcp_slim/fastmcp/server/middleware/response_limiting.py:50
Method
__init__
Initialize wrapped provider. Args: inner: The provider to wrap. transform: The transform to apply on top of inner's r
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:36
Method
__init__
( self, root: str | Path = ".", reload: bool = False, )
fastmcp_slim/fastmcp/server/providers/filesystem.py:86
Method
__init__
(self)
fastmcp_slim/fastmcp/server/providers/base.py:75
Method
__init__
( self, server: Any, original_name: str, **kwargs: Any, )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:53
Method
__init__
( self, server: Any, original_uri: str, **kwargs: Any, )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:160
Method
__init__
( self, server: Any, original_name: str, **kwargs: Any, )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:234
Method
__init__
( self, server: Any, original_uri_template: str, **kwargs: Any, )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:336
Method
__init__
Initialize with an optional sequence of providers. Args: providers: Optional initial providers (without namespacing).
fastmcp_slim/fastmcp/server/providers/aggregate.py:71
Method
__init__
(self, proxy: FastMCPProxy)
fastmcp_slim/fastmcp/server/providers/proxy.py:79
Method
__init__
( self, client_factory: ClientFactoryT, *, _cached_content: ResourceResult | N
fastmcp_slim/fastmcp/server/providers/proxy.py:241
Method
__init__
(self, client_factory: ClientFactoryT, **kwargs: Any)
fastmcp_slim/fastmcp/server/providers/proxy.py:347
Method
__init__
(self, client_factory: ClientFactoryT, **kwargs)
fastmcp_slim/fastmcp/server/providers/proxy.py:462
Method
__init__
(self, items: Sequence[Any], timestamp: float)
fastmcp_slim/fastmcp/server/providers/proxy.py:549
Method
__init__
Initialize a ProxyProvider. Args: client_factory: A callable that returns a Client instance when called.
fastmcp_slim/fastmcp/server/providers/proxy.py:595
Method
__init__
Initialize the proxy server. FastMCPProxy requires explicit session management via client_factory. Use create_proxy() for convenience
fastmcp_slim/fastmcp/server/providers/proxy.py:885
Method
__init__
( self, transport: ClientTransportT | FastMCP[Any] | FastMCP1Server |
fastmcp_slim/fastmcp/server/providers/proxy.py:1082
Method
__init__
(self, *args: Any, **kwargs: Any)
fastmcp_slim/fastmcp/server/providers/proxy.py:1147
Method
__init__
Initialize a LocalProvider with empty storage. Args: on_duplicate: Behavior when adding a component that already exists:
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:91
Method
__init__
Initialize provider by parsing OpenAPI spec and creating components. Args: openapi_spec: OpenAPI schema as a dictionary
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:71
Method
__init__
( self, client: httpx.AsyncClient, route: HTTPRoute, director: RequestDirector
fastmcp_slim/fastmcp/server/providers/openapi/components.py:262
Method
__init__
( self, client: httpx.AsyncClient, route: HTTPRoute, director: RequestDirector
fastmcp_slim/fastmcp/server/providers/openapi/components.py:368
Method
__init__
( self, roots: str | Path | Sequence[str | Path], reload: bool = False, main_f
fastmcp_slim/fastmcp/server/providers/skills/directory_provider.py:55
Method
__init__
( self, reload: bool = False, supporting_files: Literal["template", "resources"] = "te
fastmcp_slim/fastmcp/server/providers/skills/vendor_providers.py:14
Method
__init__
( self, reload: bool = False, supporting_files: Literal["template", "resources"] = "te
fastmcp_slim/fastmcp/server/providers/skills/vendor_providers.py:32
Method
__init__
( self, reload: bool = False, supporting_files: Literal["template", "resources"] = "te
fastmcp_slim/fastmcp/server/providers/skills/vendor_providers.py:76
Method
__init__
( self, reload: bool = False, supporting_files: Literal["template", "resources"] = "te
fastmcp_slim/fastmcp/server/providers/skills/vendor_providers.py:94
Method
__init__
( self, reload: bool = False, supporting_files: Literal["template", "resources"] = "te
fastmcp_slim/fastmcp/server/providers/skills/vendor_providers.py:112
Method
__init__
( self, reload: bool = False, supporting_files: Literal["template", "resources"] = "te
fastmcp_slim/fastmcp/server/providers/skills/vendor_providers.py:130
Method
__init__
( self, skill_path: str | Path, main_file_name: str = "SKILL.md", supporting_f
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:213
Method
__init__
( self, reload: bool = False, supporting_files: Literal["template", "resources"] = "te
fastmcp_slim/fastmcp/server/providers/skills/claude_provider.py:32
Method
__init__
Initialize JWT issuer. Args: issuer: Token issuer (FastMCP server base URL) audience: Token audience (typically {base
fastmcp_slim/fastmcp/server/auth/jwt_issuer.py:87
Method
__init__
Initialize the authenticator. Args: provider: OAuth provider for client lookups cimd_manager: CIMD manager for privat
fastmcp_slim/fastmcp/server/auth/auth.py:139
Method
__init__
Initialize the auth provider. Args: base_url: The base URL of this server (e.g., http://localhost:8000).
fastmcp_slim/fastmcp/server/auth/auth.py:216
Method
__init__
Initialize the token verifier. Args: base_url: The base URL of this server resource_base_url: Optional publi
fastmcp_slim/fastmcp/server/auth/auth.py:373
Method
__init__
Initialize the remote auth provider. Args: token_verifier: TokenVerifier instance for token validation authorization_
fastmcp_slim/fastmcp/server/auth/auth.py:428
Method
__init__
Initialize the OAuth provider. Args: base_url: The public URL of this FastMCP server resource_base_url: Opti
fastmcp_slim/fastmcp/server/auth/auth.py:647
Method
__init__
Initialize the OIDC proxy provider. Args: config_url: URL of upstream configuration strict: Optional strict flag for
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:205
Method
__init__
Initialize the CIMD fetcher. Args: timeout: HTTP request timeout in seconds (default 10.0)
fastmcp_slim/fastmcp/server/auth/cimd.py:212
Method
__init__
(self)
fastmcp_slim/fastmcp/server/auth/cimd.py:477
Method
__init__
Initialize CIMD client manager. Args: enable_cimd: Whether CIMD support is enabled default_scope: Default scope for C
fastmcp_slim/fastmcp/server/auth/cimd.py:694
Method
__init__
Initialize Supabase metadata provider. Args: project_url: Your Supabase project URL (e.g., "https://abc123.supabase.co")
fastmcp_slim/fastmcp/server/auth/providers/supabase.py:71
Method
__init__
(self, *, audience: str | list[str] | None = None, **kwargs)
fastmcp_slim/fastmcp/server/auth/providers/aws.py:52
Method
__init__
( self, base_url: AnyHttpUrl | str | None = None, resource_base_url: AnyHttpUrl | str
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:37
Method
__init__
Initialize the debug token verifier. Args: validate: Callable that takes a token string and returns True if valid.
fastmcp_slim/fastmcp/server/auth/providers/debug.py:55
Method
__init__
Initialize the GitHub token verifier. Args: required_scopes: Required OAuth scopes (e.g., ['user:email']) timeout_sec
fastmcp_slim/fastmcp/server/auth/providers/github.py:52
Method
__init__
Initialize Auth0 OAuth provider. Args: config_url: Auth0 config URL client_id: Auth0 application client id
fastmcp_slim/fastmcp/server/auth/providers/auth0.py:63
Method
__init__
Initialize Azure JWT verifier. Args: client_id: Azure application (client) ID from your App registration tenant_id: A
fastmcp_slim/fastmcp/server/auth/providers/azure.py:721
Method
__init__
(self, scopes: list[str])
fastmcp_slim/fastmcp/server/auth/providers/azure.py:823
Method
__init__
Initialize the Clerk token verifier. Args: domain: Clerk instance domain (e.g., "saving-primate-16.clerk.accounts.dev")
fastmcp_slim/fastmcp/server/auth/providers/clerk.py:62
Method
__init__
Initialize PropelAuth provider. Args: auth_url: Your PropelAuth Auth URL (from the Backend Integration page) introspe
fastmcp_slim/fastmcp/server/auth/providers/propelauth.py:75
Method
__init__
Initialize the Keycloak auth provider. Args: realm_url: Keycloak realm URL (e.g., "https://keycloak.example.com/realms/myrealm")
fastmcp_slim/fastmcp/server/auth/providers/keycloak.py:35
Method
__init__
Initialize the Google token verifier. Args: required_scopes: Required OAuth scopes (e.g., ['openid', 'https://www.googleapis.com/
fastmcp_slim/fastmcp/server/auth/providers/google.py:67
← previous
next →
1,701–1,800 of 10,524, ranked by callers