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__
Initialize the introspection token verifier. Args: introspection_url: URL of the OAuth 2.0 token introspection endpoint
fastmcp_slim/fastmcp/server/auth/providers/introspection.py:80
Method
__init__
Initialize Scalekit resource server provider. Args: environment_url: Your Scalekit environment URL (e.g., "https://your-env.scale
fastmcp_slim/fastmcp/server/auth/providers/scalekit.py:63
Method
__init__
Initialize the static token verifier. Args: tokens: Dict mapping token strings to token metadata Each
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:610
Method
__init__
Initialize the Discord token verifier. Args: expected_client_id: Expected Discord OAuth client ID for audience binding
fastmcp_slim/fastmcp/server/auth/providers/discord.py:49
Method
__init__
Initialize the WorkOS token verifier. Args: authkit_domain: WorkOS AuthKit domain (e.g., "https://your-app.authkit.app")
fastmcp_slim/fastmcp/server/auth/providers/workos.py:38
Method
__init__
Initialize AuthKit metadata provider. Args: authkit_domain: Your AuthKit domain (e.g., "https://your-app.authkit.app")
fastmcp_slim/fastmcp/server/auth/providers/workos.py:332
Method
__init__
Initialize Descope metadata provider. Args: base_url: Public URL of this FastMCP server config_url: Your Descope Well
fastmcp_slim/fastmcp/server/auth/providers/descope.py:63
Method
__init__
Initialize OCI OIDC provider. Args: config_url: OCI OIDC Discovery URL client_id: OCI IAM Domain Integrated Applicati
fastmcp_slim/fastmcp/server/auth/providers/oci.py:122
Method
__init__
( self, *, required_scopes: list[str] | None = None, timeout_seconds: int = 10
fastmcp_slim/fastmcp/server/auth/providers/huggingface.py:62
Method
__init__
Initialize the OAuth proxy provider. Args: upstream_authorization_endpoint: URL of upstream authorization endpoint up
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:238
Method
__init__
Initialize the enhanced authorization handler. Args: provider: OAuth authorization server provider base_url: Base URL
fastmcp_slim/fastmcp/server/auth/handlers/authorize.py:176
Method
__init__
(self, provider: Provider)
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:63
Method
__init__
(self)
fastmcp_slim/fastmcp/server/transforms/catalog.py:79
Method
__init__
Initialize a visibility marker. Args: enabled: If True, mark matching as enabled; if False, mark as disabled. names:
fastmcp_slim/fastmcp/server/transforms/visibility.py:60
Method
__init__
Initialize ToolTransform. Args: transforms: Map of original tool name → transform config.
fastmcp_slim/fastmcp/server/transforms/tool_transform.py:33
Method
__init__
Initialize Namespace transform. Args: prefix: The namespace prefix to apply.
fastmcp_slim/fastmcp/server/transforms/namespace.py:44
Method
__init__
( self, *, version_gte: str | None = None, version_lt: str | None = None,
fastmcp_slim/fastmcp/server/transforms/version_filter.py:50
Method
__init__
(self, provider: Provider)
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:60
Method
__init__
( self, *, max_results: int = 5, always_visible: list[str] | None = None,
fastmcp_slim/fastmcp/server/transforms/search/base.py:177
Method
__init__
( self, *, max_results: int = 5, always_visible: list[str] | None = None,
fastmcp_slim/fastmcp/server/transforms/search/bm25.py:93
Method
__init__
Initialize a FastMCP server from an OpenAPI schema. .. deprecated:: Use FastMCP with OpenAPIProvider instead. Args:
fastmcp_slim/fastmcp/server/openapi/server.py:61
Method
__init__
Create PromptResult. Args: messages: String or list of Message objects. description: Optional description of the prom
fastmcp_slim/fastmcp/prompts/base.py:152
Method
__init__
( self, *, limits: "ResourceLimits | None | _UnsetType" = _UNSET, )
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:131
Method
__init__
( self, *, name: str = "get_schema", default_detail: ToolDetailLevel | None =
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:332
Method
__init__
( self, *, name: str = "tags", default_detail: Literal["brief", "full"] | None
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:394
Method
__init__
( self, *, name: str = "list_tools", default_detail: ToolDetailLevel | None =
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:459
Method
__init__
( self, *, sandbox_provider: SandboxProvider | None = None, discovery_tools: l
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:510
Method
__init__
(self, token: str, owner: str, repo: str)
scripts/auto_close_needs_mre.py:62
Method
__init__
(self, token: str, owner: str, repo: str)
scripts/auto_close_duplicates.py:58
Method
__init__
(self, patterns: Sequence[str])
fastmcp_remote/fastmcp_remote/cli.py:52
Method
__init__
(self, data: str)
tests/tools/tool/test_output_schema.py:135
Method
__init__
(self, data: Any)
tests/tools/tool/test_output_schema.py:212
Method
__init__
(self, multiplier: int)
tests/tools/tool/test_callable.py:17
Method
__init__
(self, multiplier: int)
tests/tools/tool/test_callable.py:31
Method
__init__
(self, name: str | None = None)
tests/client/test_notifications.py:24
Method
__init__
(self)
tests/client/test_logs.py:12
Method
__init__
(self)
tests/client/client/test_client.py:262
Method
__init__
( self, inner: ClientTransport, connect_started: anyio.Event, allow_connect: a
tests/client/client/test_client.py:420
Method
__init__
( self, inner: ClientTransport, disconnect_started: anyio.Event, allow_disconn
tests/client/client/test_client.py:444
Method
__init__
( self, family: socket.AddressFamily, socket_type: socket.Sock
tests/client/auth/test_oauth_client.py:252
Method
__init__
(self)
tests/client/auth/test_oauth_client.py:292
Method
__init__
(self)
tests/client/auth/test_oauth_client.py:344
Method
__init__
(self, value: str)
tests/resources/test_resource_template.py:274
Method
__init__
(self, value: str)
tests/resources/test_function_resources.py:306
Method
__init__
(self, value: str)
tests/resources/test_function_resources.py:320
Method
__init__
( self, responses: dict[str, list[TextResourceContents | BlobResourceContents]], )
tests/utilities/test_skills.py:28
Method
__init__
(self, x: str)
tests/utilities/test_docstring_parsing.py:537
Method
__init__
(self)
tests/server/test_dependencies.py:20
Method
__init__
(self)
tests/server/test_auth_integration_errors.py:34
Method
__init__
(self)
tests/server/test_auth_integration.py:35
Method
__init__
(self, tools: Sequence[Tool] | None = None)
tests/server/test_providers.py:45
Method
__init__
(self)
tests/server/test_context.py:254
Method
__init__
(self)
tests/server/test_context.py:346
Method
__init__
(self)
tests/server/test_session_visibility.py:26
Method
__init__
(self)
tests/server/test_dependencies_advanced.py:17
Method
__init__
(self, prefix: str)
tests/server/test_dependencies_advanced.py:183
Method
__init__
(self, multiplier: int)
tests/server/test_dependencies_advanced.py:217
Method
__init__
(self)
tests/server/middleware/test_initialization_middleware.py:24
Method
__init__
(self)
tests/server/middleware/test_initialization_middleware.py:62
Method
__init__
(self)
tests/server/middleware/test_initialization_middleware.py:214
Method
__init__
(self)
tests/server/middleware/test_initialization_middleware.py:273
Method
__init__
(self)
tests/server/middleware/test_initialization_middleware.py:360
Method
__init__
(self, name: str | None = None)
tests/server/middleware/test_middleware_nested.py:26
Method
__init__
(self, name: str | None = None)
tests/server/middleware/test_middleware.py:25
Method
__init__
(self)
tests/server/middleware/test_caching.py:114
Method
__init__
(self, prefix: str)
tests/server/providers/test_local_provider_resources.py:367
Method
__init__
(self, prefix: str)
tests/server/providers/test_local_provider_resources.py:576
Method
__init__
(self, tools: list[Tool] | None = None)
tests/server/providers/test_base_provider.py:27
Method
__init__
(self, prefix: str)
tests/server/providers/test_local_provider_prompts.py:147
Method
__init__
(self, name: str, calls: list[str])
tests/server/providers/test_fastmcp_provider.py:36
Method
__init__
(self, name: str, calls: list[str])
tests/server/providers/test_fastmcp_provider.py:55
Method
__init__
(self, x: int)
tests/server/providers/local_provider_tools/test_decorator.py:100
Method
__init__
(self, return_value: AccessToken | None = None)
tests/server/http/test_bearer_auth_backend.py:121
Method
__init__
(self, app: ASGIApp, key: str, value: Any)
tests/server/http/test_http_middleware.py:36
Method
__init__
( self, base_url: AnyHttpUrl | str | None = None, required_scopes: list[str] | None =
tests/server/auth/test_auth_provider.py:16
Method
__init__
Initialize with a secret key.
tests/server/auth/test_jwt_provider.py:24
Method
__init__
(self)
tests/server/auth/test_oauth_proxy_redirect_validation.py:22
Method
__init__
(self)
tests/server/auth/test_oauth_consent_page.py:27
Method
__init__
(self)
tests/server/auth/test_oauth_consent_flow.py:36
Method
__init__
(self)
tests/server/auth/test_oauth_consent_flow.py:52
Method
__init__
(self, data: dict[str, str])
tests/server/auth/providers/test_propelauth.py:296
Method
__init__
(self, data: dict[str, str])
tests/server/auth/providers/test_scalekit.py:180
Method
__init__
(self, port: int = 0)
tests/server/auth/oauth_proxy/conftest.py:29
Method
__init__
(self, required_scopes=None)
tests/server/auth/oauth_proxy/conftest.py:264
Method
__init__
(self)
tests/server/transforms/test_catalog.py:39
Method
__init__
(self)
tests/server/tasks/test_notifications.py:26
Method
__init__
(self, calls: list[str])
tests/server/tasks/test_task_meta_parameter.py:144
Method
__init__
(self, name: str, calls: list[str])
tests/server/tasks/test_task_mount.py:708
Method
__init__
(self, name: str, calls: list[str])
tests/server/tasks/test_task_mount.py:727
Method
__init__
(self)
tests/server/tasks/test_task_tools.py:81
Method
__init__
(self, greeting: str)
tests/prompts/test_prompt.py:805
Method
__init__
(self, greeting: str)
tests/prompts/test_prompt.py:819
Method
__init__
(self, db_path: str)
examples/providers/sqlite/server.py:74
Method
__init_subclass__
(cls, **kwargs: Any)
fastmcp_slim/fastmcp/utilities/components.py:79
Method
__lt__
(self, other: object)
fastmcp_slim/fastmcp/utilities/versions.py:167
Method
__or__
Compose with another lifespan using the | operator. Args: other: Another Lifespan instance. Returns: A Compo
fastmcp_slim/fastmcp/server/lifespan.py:90
Method
__post_init__
Validate that only one of default or default_factory is provided.
fastmcp_slim/fastmcp/tools/tool_transform.py:186
Method
__repr__
(self)
fastmcp_slim/fastmcp/client/transports/config.py:223
Method
__repr__
(self)
fastmcp_slim/fastmcp/client/transports/memory.py:91
Method
__repr__
(self)
fastmcp_slim/fastmcp/client/transports/base.py:69
← previous
next →
1,801–1,900 of 10,524, ranked by callers