MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,224 in github.com/PrefectHQ/fastmcp

Method__init__
(self, name: str)
fastmcp_slim/fastmcp/apps/app.py:168
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:146
Method__init__
( self, *, max_entries: int = _MAX_LOG_ENTRIES, max_bytes: int = _MAX_LOG_BYTE
fastmcp_slim/fastmcp/cli/apps_dev_log.py:21
Method__init__
(self, app: ASGIApp, *, host: str, port: int, token: str)
fastmcp_slim/fastmcp/cli/apps_dev_security.py:50
Method__init__
(self, state_directory: Path | None = None)
fastmcp_slim/fastmcp/cli/deploy/credentials.py:60
Method__init__
(self, state_directory: Path | None = None)
fastmcp_slim/fastmcp/cli/deploy/configuration.py:33
Method__init__
(self, message: str, *, status_code: int | None = None)
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:48
Method__init__
(self, version: str | None)
fastmcp_slim/fastmcp/utilities/versions.py:136
Method__init__
( self, logger: logging.Logger, min_level: Literal["DEBUG", "INFO", "WARNING", "ERROR"
fastmcp_slim/fastmcp/utilities/logging.py:195
Method__init__
Initialize HeadlessOAuth with stored response tracking.
fastmcp_slim/fastmcp/utilities/tests.py:494
Method__init__
(self, max_entries: int, max_weight: int)
fastmcp_slim/fastmcp/utilities/json_schema_type.py:188
Method__init__
( self, chunks: MemoryObjectReceiveStream[bytes], client_disconnected: anyio.Event,
fastmcp_slim/fastmcp/utilities/asgi_transport.py:54
Method__init__
(self, app: ASGIApp, *, cancel_on_close: bool = True)
fastmcp_slim/fastmcp/utilities/asgi_transport.py:106
Method__init__
( self, path: str | Path | None = None, data: bytes | None = None, format: str
fastmcp_slim/fastmcp/utilities/types.py:250
Method__init__
( self, path: str | Path | None = None, data: bytes | None = None, format: str
fastmcp_slim/fastmcp/utilities/types.py:328
Method__init__
( self, path: str | Path | None = None, data: bytes | None = None, format: str
fastmcp_slim/fastmcp/utilities/types.py:394
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, scopes: tuple[str, ...])
fastmcp_slim/fastmcp/utilities/authorization.py:73
Method__init__
(self, tag: str, scopes: list[str])
fastmcp_slim/fastmcp/utilities/authorization.py:90
Method__init__
( self, roles: tuple[str, ...], extract: Callable[[dict[str, Any]], Iterable[str]],
fastmcp_slim/fastmcp/utilities/authorization.py:115
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:125
Method__init__
Initialize with a parsed SchemaPath object.
fastmcp_slim/fastmcp/utilities/openapi/director.py:310
Method__init__
( self, fastmcp: FastMCP, session: ServerSession | None = None, *, tas
fastmcp_slim/fastmcp/server/context.py:203
Method__init__
( self, storage: AsyncKeyValue | None = None, max_events_per_stream: int = 100,
fastmcp_slim/fastmcp/server/event_store.py:83
Method__init__
(self)
fastmcp_slim/fastmcp/server/dependencies.py:1250
Method__init__
(self, claim_name: str)
fastmcp_slim/fastmcp/server/dependencies.py:1428
Method__init__
(self, *args: Any, **kwargs: Any)
fastmcp_slim/fastmcp/server/elicitation.py:45
Method__init__
( self, message: str = ( "Injected `session: UserSession` requires an authenticate
fastmcp_slim/fastmcp/server/sessions.py:114
Method__init__
(self, message: str = "Invalid or unknown session.")
fastmcp_slim/fastmcp/server/sessions.py:135
Method__init__
(self)
fastmcp_slim/fastmcp/server/sessions.py:525
Method__init__
( self, app: Any, event_store: EventStore | None = None, json_response: bool =
fastmcp_slim/fastmcp/server/http.py:47
Method__init__
(self, session_manager: StreamableHTTPSessionManager | None)
fastmcp_slim/fastmcp/server/http.py:87
Method__init__
( self, app: ASGIApp, allowed_hosts: Sequence[str] | None = None, allowed_orig
fastmcp_slim/fastmcp/server/http.py:234
Method__init__
(self, app)
fastmcp_slim/fastmcp/server/http.py:399
Method__init__
( self, schema_cache: dict[str, dict[str, Any]], server_transforms: list[Transform] |
fastmcp_slim/fastmcp/server/server.py:392
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:124
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:152
Method__init__
(self, event_store: EventStore, session_id: str)
fastmcp_slim/fastmcp/server/session_scoped_event_store.py:22
Method__init__
(self, fastmcp: FastMCP)
fastmcp_slim/fastmcp/server/low_level.py:176
Method__init__
(self, fastmcp: FastMCP, *args: Any, **kwargs: Any)
fastmcp_slim/fastmcp/server/low_level.py:456
Method__init__
Initialize logging middleware. Args: logger: Logger instance to use. If None, creates a logger named 'fastmcp.middleware.logging'
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.middlewa
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:38
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:164
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:279
Method__init__
( self, factory: Callable[[], LimiterT], *, idle_timeout: float | None )
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:25
Method__init__
(self, message: str = "Rate limit exceeded")
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:89
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:96
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:135
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:184
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:307
Method__init__
(self, auth: AuthCheck | list[AuthCheck])
fastmcp_slim/fastmcp/server/middleware/authorization.py:114
Method__init__
Initialize ping middleware. Args: interval_ms: Interval between pings in milliseconds (default: 30000) Raises:
fastmcp_slim/fastmcp/server/middleware/ping.py:30
Method__init__
Initialize the tool injection middleware.
fastmcp_slim/fastmcp/server/middleware/tool_injection.py:30
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:51
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:38
Method__init__
( self, root: str | Path = ".", reload: bool = False, )
fastmcp_slim/fastmcp/server/providers/filesystem.py:88
Method__init__
(self)
fastmcp_slim/fastmcp/server/providers/base.py:93
Method__init__
( self, server: Any, original_name: str, **kwargs: Any, )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:49
Method__init__
( self, server: Any, original_uri: str, **kwargs: Any, )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:140
Method__init__
( self, server: Any, original_name: str, **kwargs: Any, )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:202
Method__init__
( self, server: Any, original_uri_template: str, **kwargs: Any, )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:278
Method__init__
Initialize with an optional sequence of providers. Args: providers: Optional initial providers (without namespacing).
fastmcp_slim/fastmcp/server/providers/aggregate.py:83
Method__init__
(self, proxy: FastMCPProxy)
fastmcp_slim/fastmcp/server/providers/proxy.py:287
Method__init__
( self, client_factory: ClientFactoryT, *, _cached_content: ResourceResult | N
fastmcp_slim/fastmcp/server/providers/proxy.py:535
Method__init__
( self, client_factory: ClientFactoryT, *, identity: ProxyIdentity = "proxy",
fastmcp_slim/fastmcp/server/providers/proxy.py:655
Method__init__
( self, client_factory: ClientFactoryT, *, identity: ProxyIdentity = "proxy",
fastmcp_slim/fastmcp/server/providers/proxy.py:808
Method__init__
(self, items: Sequence[_ComponentT], timestamp: float)
fastmcp_slim/fastmcp/server/providers/proxy.py:931
Method__init__
Initialize a ProxyProvider. Args: client_factory: A callable that returns a Client instance when called.
fastmcp_slim/fastmcp/server/providers/proxy.py:977
Method__init__
( self, provider: ProxyProvider, *, identity: ProxyIdentity | None = None,
fastmcp_slim/fastmcp/server/providers/proxy.py:1330
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:1617
Method__init__
( self, transport: ClientTransportT | FastMCP[Any] | SDKServer | AnyUr
fastmcp_slim/fastmcp/server/providers/proxy.py:1896
Method__init__
(self, *args: Any, **kwargs: Any)
fastmcp_slim/fastmcp/server/providers/proxy.py:2011
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:81
Method__init__
( self, client: httpx2.AsyncClient, route: HTTPRoute, director: RequestDirecto
fastmcp_slim/fastmcp/server/providers/openapi/components.py:334
Method__init__
( self, client: httpx2.AsyncClient, route: HTTPRoute, director: RequestDirecto
fastmcp_slim/fastmcp/server/providers/openapi/components.py:424
Method__init__
( self, roots: str | Path | Sequence[str | Path], reload: bool = False, main_f
fastmcp_slim/fastmcp/server/providers/skills/directory_provider.py:81
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:208
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 the validator. Args: config: The identity assertion configuration. audience: The authorization server's ow
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:211
Method__init__
( self, app: Any, required_scopes: list[str], resource_metadata_url: AnyHttpUr
fastmcp_slim/fastmcp/server/auth/middleware.py:39
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:244
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:344
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:532
Method__init__
Initialize the remote auth provider. Args: token_verifier: TokenVerifier instance for token validation authorization_
fastmcp_slim/fastmcp/server/auth/auth.py:576
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:1065
← previousnext →3,301–3,400 of 16,224, ranked by callers