MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,224 in github.com/PrefectHQ/fastmcp

Method_mock_jwks
(self, idp_key: RSAKeyPair, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_identity_assertion.py:446
Method_no_dns
(*args, **kwargs)
tests/server/auth/test_ssrf_protection.py:835
Function_no_progress
(phase: str, done: int, total: int)
scripts/rank_issues.py:387
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_local_provider_tools.py:23
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_enabled.py:13
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_decorator.py:15
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_tags.py:13
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_context.py:13
Function_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_parameters.py:22
Function_ok_app
(scope: Scope, receive: Receive, send: Send)
tests/server/http/test_http_auth_middleware.py:41
Method_on_complete
Handle MCP 'completion/complete' requests. Routes to the server's registered completion handler (set via ``@mcp.completion``). The ha
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:511
Method_on_connection_exit
()
fastmcp_slim/fastmcp/server/providers/proxy.py:2058
Method_on_get_prompt
Handle MCP 'prompts/get' requests.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:442
Method_on_list_prompts
List all available prompts. Supports pagination via params.cursor.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:265
Method_on_list_resource_templates
List all available resource templates. Supports pagination.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:241
Method_on_list_tools
List all available tools. Supports pagination via params.cursor.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:143
Method_on_set_logging_level
Handle MCP 'logging/setLevel' requests. Stores the requested minimum log level so that subsequent log messages below this level are s
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:490
Function_on_signal
()
fastmcp_slim/fastmcp/cli/apps_dev.py:1819
Function_other_manifest
()
tests/skills/test_read_skill.py:271
Function_other_skill
()
tests/skills/test_read_skill.py:275
Method_owns_skill_resource
(self, uri: str)
fastmcp_slim/fastmcp/skills/provider.py:140
Method_owns_skill_resource
(self, uri: str)
fastmcp_slim/fastmcp/skills/provider.py:268
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:831
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:1046
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
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:997
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:120
Function_roots_callback
( context: ClientRequestContext, )
fastmcp_slim/fastmcp/client/roots.py:50
Function_roots_cb
(context: ClientRequestContext)
tests/server/test_protocol_eras.py:245
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_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:216
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:699
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:154
Method_validate_algorithms
(cls, v: dict[str, str] | None)
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:171
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:144
Function_validate_unique_items
Reject duplicate JSON array items while preserving list semantics.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:794
Function_widened_mode
(mode: Literal["fast", "slow", "turbo"])
tests/tools/tool_transform/test_schema_compatibility.py:342
Functiona
Tool A.
tests/experimental/transforms/test_code_mode_discovery.py:510
Methoda
()
tests/client/client/test_client.py:1189
Functionaccept
( message: str, response_type: Any, params: Any, context: Any )
tests/downstream/smoke_pydantic_ai.py:69
← previousnext →3,801–3,900 of 16,224, ranked by callers