MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

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, 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:181
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
Method__repr__
(self)
fastmcp_slim/fastmcp/client/transports/http.py:219
Method__repr__
(self)
fastmcp_slim/fastmcp/client/transports/stdio.py:169
Method__repr__
(self)
fastmcp_slim/fastmcp/client/transports/sse.py:157
Method__repr__
(self)
fastmcp_slim/fastmcp/resources/base.py:424
Method__repr__
(self)
fastmcp_slim/fastmcp/resources/template.py:182
Method__repr__
(self)
fastmcp_slim/fastmcp/apps/generative.py:88
Method__repr__
(self)
fastmcp_slim/fastmcp/apps/choice.py:77
Method__repr__
(self)
fastmcp_slim/fastmcp/apps/approval.py:101
Method__repr__
(self)
fastmcp_slim/fastmcp/apps/app.py:160
Method__repr__
(self)
fastmcp_slim/fastmcp/apps/form.py:143
Method__repr__
(self)
fastmcp_slim/fastmcp/apps/file_upload.py:159
Method__repr__
(self)
fastmcp_slim/fastmcp/utilities/versions.py:193
Method__repr__
(self)
fastmcp_slim/fastmcp/utilities/components.py:196
Method__repr__
(self)
fastmcp_slim/fastmcp/server/server.py:437
Method__repr__
(self)
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:49
Method__repr__
(self)
fastmcp_slim/fastmcp/server/providers/filesystem.py:224
Method__repr__
(self)
fastmcp_slim/fastmcp/server/providers/base.py:78
Method__repr__
(self)
fastmcp_slim/fastmcp/server/providers/aggregate.py:183
Method__repr__
(self)
fastmcp_slim/fastmcp/server/providers/openapi/components.py:177
Method__repr__
(self)
fastmcp_slim/fastmcp/server/providers/openapi/components.py:284
Method__repr__
(self)
fastmcp_slim/fastmcp/server/providers/openapi/components.py:400
Method__repr__
(self)
fastmcp_slim/fastmcp/server/providers/skills/directory_provider.py:148
Method__repr__
(self)
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:445
Method__repr__
(self)
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:75
Method__repr__
(self)
fastmcp_slim/fastmcp/server/transforms/visibility.py:92
Method__repr__
(self)
fastmcp_slim/fastmcp/server/transforms/tool_transform.py:58
Method__repr__
(self)
fastmcp_slim/fastmcp/server/transforms/__init__.py:88
Method__repr__
(self)
fastmcp_slim/fastmcp/server/transforms/namespace.py:53
Method__repr__
(self)
fastmcp_slim/fastmcp/server/transforms/version_filter.py:66
Method__repr__
(self)
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:72
Method__repr__
(self)
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:98
Method__str__
(self)
tests/resources/test_resource_template.py:277
Method__str__
(self)
tests/resources/test_function_resources.py:126
Method__str__
(self)
tests/server/middleware/test_logging.py:340
Function_alarm_handler
(signum: object, frame: object)
tests/utilities/json_schema_type/test_real_world_schemas.py:102
Function_allow_all
Global auth check that always passes (component-level auth still applies).
tests/server/auth/test_authorization.py:820
Function_apply_defaults
(cls, data: Mapping[str, Any])
fastmcp_slim/fastmcp/utilities/json_schema_type.py:720
Function_async_fn
(x: int)
tests/utilities/test_async_utils.py:15
Method_async_path
(self)
fastmcp_slim/fastmcp/resources/types.py:78
Method_async_path
(self)
fastmcp_slim/fastmcp/resources/types.py:149
Function_cleanup_subscriber
()
fastmcp_slim/fastmcp/server/tasks/handlers.py:211
Function_create_field_with_default
Create a field with simplified default handling.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:555
Function_deny_all
Auth check that always denies access.
tests/server/transforms/test_resources_as_tools.py:258
Function_elicitation_handler
( context: RequestContext[ClientSession, LifespanContextT], params: ElicitRequestParams, )
fastmcp_slim/fastmcp/client/elicitation.py:41
Method_enforce_strict
Enforce strict rules.
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:111
Function_exception_handler
(group: BaseExceptionGroup)
fastmcp_slim/fastmcp/utilities/exceptions.py:20
Function_expand_query_block
(match: re.Match[str])
fastmcp_slim/fastmcp/resources/template.py:141
Method_extract_upstream_claims
Extract claims from Azure token response to embed in FastMCP JWT. Decodes the Azure access token (which is a JWT) to extract user identity
fastmcp_slim/fastmcp/server/auth/providers/azure.py:548
Function_fake_import_module
(name: str, package: str | None = None)
tests/experimental/transforms/test_code_mode.py:698
Function_fetch_app_bridge_bundle_sync
Download app-bridge.js and build an import-map that fixes Zod v4 on esm.sh. Returns ``(app_bridge_js, import_map_json)`` where *import_map_json*
fastmcp_slim/fastmcp/cli/apps_dev.py:1246
Function_fn
()
tests/server/transforms/test_catalog.py:26
Function_format_message
(msg: str)
examples/filesystem-provider/components/tools/greeting.py:27
Method_forward
(**kwargs: Any)
fastmcp_slim/fastmcp/tools/tool_transform.py:717
Method_get_component
Get a component by its prefixed key. Args: key: The prefixed key (e.g., "tool:name", "resource:uri"). Returns:
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:218
Function_get_default_value
Get default value with proper priority ordering. 1. Value from parent's default if it exists 2. Property's own default if it exists 3. Non
fastmcp_slim/fastmcp/utilities/json_schema_type.py:540
Method_get_prompt
(self, name: str, version: Any = None)
fastmcp_slim/fastmcp/apps/generative.py:192
Method_get_prompt
Get a prompt by name via aggregation from providers. Extends AggregateProvider._get_prompt() with component-level auth checks. Args:
fastmcp_slim/fastmcp/server/server.py:1069
Method_get_prompt
Delegate to inner's get_prompt (includes inner's transforms).
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:98
Method_get_prompt
( self, name: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/filesystem.py:219
Method_get_prompt
Get a prompt by name as a FastMCPProviderPrompt. Passes the full VersionSpec to the nested server, which handles both exact version m
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:646
Method_get_prompt
Get prompt by name from providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:296
Method_get_prompt
( self, name: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/proxy.py:766
Method_get_prompt
Get a prompt by name. Args: name: The prompt name. version: Optional version filter. If None, returns highest version
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:425
← previousnext →1,801–1,900 of 10,312, ranked by callers