Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,725 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,725
◇
Types & classes
2,302
↳
Endpoints
198
Method
_owns_skill_resource
(self, uri: str)
fastmcp_slim/fastmcp/skills/_proxy.py:50
Method
_owns_skill_resource
(self, uri: str)
fastmcp_slim/fastmcp/skills/_composition.py:82
Method
_parse_provider_response
(self, response: Any, **kwargs: Any)
tests/downstream/smoke_agno.py:88
Method
_parse_provider_response_delta
(self, response: Any)
tests/downstream/smoke_agno.py:91
Function
_patch_client
Patch resolve_server_spec and _build_client so CLI commands use the in-process test server without needing a real transport.
tests/cli/test_client_commands.py:832
Function
_patch_client
Patch resolve_server_spec and _build_client to use an in-process server.
tests/cli/test_generate_cli.py:594
Method
_perform_authorization
Reject expired registrations before attempting authorization.
fastmcp_slim/fastmcp/client/auth/oauth.py:423
Method
_perform_authorization
(self)
fastmcp_slim/fastmcp/client/auth/client_credentials.py:285
Method
_prepare_scopes_for_token_exchange
Omit scope from the upstream auth-code token exchange.
fastmcp_slim/fastmcp/server/auth/providers/oci.py:220
Method
_press_enter
(self, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_client_commands.py:1166
Function
_providers_with_timeouts
Build parametrize list with per-provider timeouts.
tests/utilities/json_schema_type/test_real_world_schemas.py:392
Function
_quiet
()
tests/pbt/test_openapi.py:179
Function
_quiet
()
tests/pbt/test_tool_transform.py:183
Method
_read
Server entry point for template reads. The server calls this instead of create_resource()/read() directly so subclasses can customize
fastmcp_slim/fastmcp/resources/template.py:564
Method
_read
Optimized server entry point that skips ephemeral resource creation. For FunctionResourceTemplate, we can call read() directly instead of
fastmcp_slim/fastmcp/resources/template.py:640
Method
_read
Delegate to the child server's read_resource(). fn_key is already set by the parent server before calling this method.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:169
Method
_read
Delegate to the child server's read_resource(). fn_key is already set by the parent server before calling this method.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:340
Method
_record
(result: ClaimedResult, ctx: ClaimContext)
tests/client/test_client_extensions.py:310
Method
_register
(fn: F, tool_name: str | None)
fastmcp_slim/fastmcp/apps/app.py:239
Function
_reject_all
Validator that rejects every value, implementing JSON Schema `false`.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:154
Method
_reject_discover
(version: str)
tests/client/client/test_mode_negotiation.py:125
Function
_renamed_mode
(mode: Literal["quick", "careful"])
tests/tools/tool_transform/test_schema_compatibility.py:338
Method
_render
Server entry point for prompt renders. The server calls this method instead of render() directly so that subclasses can customize dis
fastmcp_slim/fastmcp/prompts/base.py:370
Method
_require_at_least_one_transform_field
Reject if none of the transforming fields are set. This ensures that plain server configs (without tools, include_tags, or exclude_ta
fastmcp_slim/fastmcp/mcp_config.py:105
Function
_require_npx
()
tests/conformance/test_conformance.py:42
Method
_requires_live_resource
Whether an extension requires this resource to bypass response caching.
fastmcp_slim/fastmcp/server/extensions.py:239
Method
_requires_live_resource
(self, uri: str)
tests/server/middleware/test_extension_resource_caching.py:15
Function
_resolve_claimed
Finish a claimed result into an ordinary CallToolResult. Echoes the claimed payload so a test can prove the resolver ran on the server-emitte
tests/client/test_client_extensions.py:55
Function
_resolve_extra
(result: ExtraClaimed, ctx: ClaimContext)
tests/client/test_client_extensions.py:214
Method
_resolve_task
Finish a tasked `tools/call` by polling `tasks/get` to completion. Returns the tool's real result on completion; a failed or cancelled task
fastmcp_tasks/fastmcp_tasks/client.py:352
Function
_resolve_tool_ref
(fn: Any)
fastmcp_slim/fastmcp/apps/app.py:85
Function
_resolved_targets
Serve the in-process test server and record what each CLI invocation resolved its server to, so argument parsing and ``resolve_server_spec`` are
tests/cli/test_client_commands.py:998
Method
_retry
( input_responses: mcp_types.InputResponses | None, request_state: str | None,
fastmcp_slim/fastmcp/client/mixins/prompts.py:167
Method
_retry
( input_responses: mcp_types.InputResponses | None, request_state: str | None,
fastmcp_slim/fastmcp/client/mixins/resources.py:260
Method
_retry
( input_responses: mcp_types.InputResponses | None, request_state: str | None,
fastmcp_slim/fastmcp/client/mixins/tools.py:205
Function
_return_Any
()
fastmcp_slim/fastmcp/utilities/json_schema_type.py:1007
Function
_revocation_is_per_grant
True while revoking an access token and then refreshing revives it. The probe runs the minimal history from FINDINGS.md: redeem a code, revok
tests/pbt/test_oauth_proxy_machine.py:121
Function
_roots_callback
( context: ClientRequestContext, )
fastmcp_slim/fastmcp/client/roots.py:50
Function
_roots_cb
(context: ClientRequestContext)
tests/server/test_protocol_eras.py:245
Method
_route_bound
(self, kind: str, frame: StreamFrame)
fastmcp_slim/fastmcp/experimental/events/client.py:145
Function
_run
()
tests/client/auth/test_client_credentials.py:740
Method
_run
Server entry point for tool execution. The server calls this method instead of ``run()`` directly so that subclasses can customize di
fastmcp_slim/fastmcp/tools/base.py:548
Method
_run_monty
( self, pydantic_monty: Any, *, code: str, inputs:
tests/experimental/transforms/test_code_mode.py:1069
Method
_run_monty
( self, pydantic_monty: Any, *, code: str, inputs:
tests/experimental/transforms/test_monty_callback_lifecycle.py:104
Function
_run_server
(mcp_server: FastMCP, transport: Literal["sse"], port: int)
fastmcp_slim/fastmcp/utilities/tests.py:68
Function
_sampling_cb
( context: ClientRequestContext, params: types.CreateMessageRequestParams )
tests/server/test_protocol_eras.py:235
Function
_sampling_handler
( context, params: SamplingParams, )
fastmcp_slim/fastmcp/client/sampling/__init__.py:47
Method
_search
Search the given tools and return matches.
fastmcp_slim/fastmcp/server/transforms/search/base.py:411
Method
_send
()
fastmcp_slim/fastmcp/client/mixins/prompts.py:63
Method
_send
()
fastmcp_slim/fastmcp/client/mixins/resources.py:64
Method
_send
()
fastmcp_slim/fastmcp/client/mixins/skills.py:105
Method
_send
()
fastmcp_slim/fastmcp/client/mixins/tools.py:72
Method
_send_auth_error
Send an authentication error response with enhanced error messages. Overrides the SDK's _send_auth_error to provide more detailed err
fastmcp_slim/fastmcp/server/auth/middleware.py:141
Function
_serialize_with_task_production
Serialize a server result, letting a tagged task result through. A modern `tools/call` result carrying `resultType: "task"` is returned as th
fastmcp_tasks/fastmcp_tasks/wire_production.py:54
Method
_served_servers
(self)
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:55
Method
_served_servers
FastMCP servers whose components this provider serves. A server that adds this provider links itself to each of them, so their `notif
fastmcp_slim/fastmcp/server/providers/base.py:107
Method
_served_servers
(self)
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:422
Method
_served_servers
(self)
fastmcp_slim/fastmcp/server/providers/aggregate.py:114
Method
_session
(self)
fastmcp_tasks/fastmcp_tasks/client.py:428
Function
_set
(value: str)
tests/telemetry/test_interop.py:37
Method
_set_auth
(self, auth: httpx2.Auth | Literal["oauth"] | str | None)
fastmcp_slim/fastmcp/client/transports/base.py:224
Function
_settings_home_root
Session-scoped (i.e. per xdist-worker) base directory for isolated settings.home directories. Created once via ``tmp_path_factory`` so ``isol
tests/conftest.py:104
Method
_skill_uris
(self, uri: str | None = None)
fastmcp_slim/fastmcp/skills/provider.py:143
Method
_skill_uris
(self, uri: str | None = None)
fastmcp_slim/fastmcp/skills/_proxy.py:53
Method
_skill_uris
(self, uri: str | None = None)
fastmcp_slim/fastmcp/skills/_composition.py:88
Method
_skill_uris
(self, uri: str | None = None)
tests/skills/test_extension.py:68
Method
_sources
(self)
fastmcp_slim/fastmcp/skills/extension.py:91
Method
_state_store
Create the session-state adapter only when state is first used.
fastmcp_slim/fastmcp/server/server.py:713
Function
_sync_fn
(x: int)
tests/utilities/test_async_utils.py:25
Method
_tracking_read_text
(self: Path, *args: Any, **kwargs: Any)
tests/cli/test_discovery.py:184
Function
_trigger_docket
()
tests/server/test_server_docket.py:43
Method
_trigger_docket
()
tests/server/mount/test_advanced.py:615
Method
_unwrap_provider
Unwrap _WrappedProvider layers to find the inner provider.
fastmcp_slim/fastmcp/server/mixins/transport.py:199
Method
_uses_alternate_verification
Patch returned token scopes from the upstream token response. WorkOS access tokens are opaque. The userinfo endpoint validates the to
fastmcp_slim/fastmcp/server/auth/providers/workos.py:308
Method
_validate_algorithm
(cls, v: str | None)
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:156
Method
_validate_algorithms
(cls, v: dict[str, str] | None)
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:173
Method
_validate_issuer
(self, issuer: Any)
fastmcp_slim/fastmcp/server/auth/providers/descope.py:108
Method
_validate_tool_name
Validate tool name according to MCP specification (SEP-986).
fastmcp_slim/fastmcp/tools/base.py:367
Method
_validate_trusted_issuers
(cls, v: list[str])
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:146
Function
_validate_unique_items
Reject duplicate JSON array items while preserving list semantics.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:804
Function
_widened_mode
(mode: Literal["fast", "slow", "turbo"])
tests/tools/tool_transform/test_schema_compatibility.py:342
Function
a
Tool A.
tests/experimental/transforms/test_code_mode_discovery.py:510
Method
a
()
tests/client/client/test_client.py:1189
Function
accept
( message: str, response_type: Any, params: Any, context: Any )
tests/downstream/smoke_pydantic_ai.py:69
Function
accept
(message: str, response_type: Any, params: Any, context: Any)
tests/downstream/smoke_langchain_mcp.py:83
Function
accept
( message: str, response_type: Any, params: Any, context: Any )
tests/server/providers/proxy/test_relayed_capabilities.py:106
Method
aclose
(self)
tests/client/auth/test_oauth_client.py:484
Function
act
( step: str, session: str = Depends(get_session), log: str = Depends(audit), )
tests/server/test_call_arguments.py:134
Method
action
()
tests/server/transforms/test_search.py:375
Method
activate
(ctx: Context)
tests/server/test_session_visibility.py:409
Function
activate_admin
Activate admin tools for this session.
examples/namespace_activation/server.py:55
Function
activate_finance
Activate finance tools for this session.
examples/namespace_activation/server.py:48
Method
activate_finance
(ctx: Context)
tests/server/test_session_visibility.py:73
Method
activate_finance
(ctx: Context)
tests/server/test_session_visibility.py:569
Method
activate_multiple
(ctx: Context)
tests/server/test_session_visibility.py:294
Method
activate_premium
(ctx: Context)
tests/server/test_session_visibility.py:626
Function
activate_scene
Recall a saved scene within a room, including its native per-light effects. active recalls the saved look; dynamic_palette requests palette cycli
examples/smart_home/src/smart_home/lights/server.py:161
Method
activate_tools_only
(ctx: Context)
tests/server/test_session_visibility.py:497
Method
activated_session
(session_id: str)
tests/server/test_session_visibility.py:635
Function
adapter_from_config
()
tests/downstream/smoke_langchain_mcp.py:328
← previous
next →
4,001–4,100 of 16,725, ranked by callers