Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
Function
test_custom_fn_with_kwargs_and_no_transform_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:537
Function
test_custom_headers
Mirrors an argument into an `Mcp-Param-Message` header (SEP-2243). The annotation is what makes the header recognized; the transport compares
tests/conformance/server.py:363
Method
test_custom_heading_in_prose_is_not_a_section
(self)
tests/utilities/test_docstring_parsing.py:371
Method
test_custom_identifier_uri
(self)
tests/server/auth/providers/test_azure_scopes.py:552
Method
test_custom_issuer_url
Test that a custom issuer_url is used when provided.
tests/server/auth/providers/test_clerk.py:204
Method
test_custom_json_content_type_with_dict_body
Any non-standard JSON content type gets the correct header.
tests/utilities/openapi/test_director.py:502
Method
test_custom_lambda_check
(self)
tests/server/auth/test_authorization.py:327
Function
test_custom_main_file_is_told_to_rename
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:66
Method
test_custom_max_rounds
(self)
tests/client/client/test_input_required_driver.py:89
Function
test_custom_method_callable_end_to_end
()
tests/server/test_extensions.py:125
Method
test_custom_mime_type
Custom mime type overrides default.
tests/resources/test_resources.py:162
Method
test_custom_name
(self)
tests/apps/test_choice.py:24
Method
test_custom_name
(self)
tests/apps/test_file_upload.py:129
Method
test_custom_name
(self)
tests/apps/test_approval.py:33
Method
test_custom_path_is_used
(self)
tests/utilities/test_asgi_transport.py:197
Method
test_custom_patterns
Test validation with custom pattern list.
tests/server/auth/test_redirect_validation.py:411
Method
test_custom_patterns
Test custom redirect URI patterns.
tests/server/auth/test_oauth_proxy_redirect_validation.py:107
Method
test_custom_patterns_cannot_allow_unsafe_browser_schemes
Unsafe browser schemes stay blocked even if a pattern names them.
tests/server/auth/test_redirect_validation.py:399
Method
test_custom_poll_interval_preserved
Custom poll_interval should be preserved in TaskConfig.
tests/tasks/server/test_task_config.py:314
Function
test_custom_resource_uri_is_untouched
()
tests/server/providers/test_prefab_sharing.py:104
Method
test_custom_route_after_component_manager_stays_reachable
( self, rsa_key_pair: RSAKeyPair )
tests/contrib/test_component_manager.py:1000
Method
test_custom_routes_apply_filtering_http_app
Test that custom routes are included when using server.http_app().
tests/server/http/test_custom_routes.py:22
Method
test_custom_routes_via_sse_app_direct
Test that custom routes are included when using create_sse_app directly.
tests/server/http/test_custom_routes.py:54
Method
test_custom_routes_via_streamable_http_app_direct
Test that custom routes are included when using create_streamable_http_app directly.
tests/server/http/test_custom_routes.py:36
Method
test_custom_scopes
Test that custom scopes are accepted.
tests/server/auth/providers/test_clerk.py:127
Method
test_custom_security_without_stable_audience_warns
A supplied policy with neither an explicit audience nor a stable server name warns (shared keys across replicas would stamp per-replica
tests/server/test_mrtr_guards.py:1083
Method
test_custom_storage
Subclassing lets users provide their own persistence.
tests/apps/test_file_upload.py:191
Function
test_custom_storage_controls_its_own_retention
(clock: list[float])
tests/apps/test_file_upload_retention.py:178
Method
test_custom_store_builds_cache
(self)
tests/client/client/test_kv_response_cache.py:224
Method
test_custom_store_requires_target_id
A custom shared store cannot derive an identity from a FastMCP transport.
tests/client/client/test_response_cache.py:63
Method
test_custom_store_without_partition_raises
The SDK requires an explicit partition for any custom store.
tests/client/client/test_kv_response_cache.py:219
Method
test_custom_store_without_target_id_raises
FastMCP requires a target_id for a custom shared store on an in-memory transport.
tests/client/client/test_kv_response_cache.py:213
Method
test_custom_title
(self)
tests/apps/test_choice.py:31
Method
test_custom_token_verifier_audience_not_overwritten
If the caller supplies their own verifier, we treat its audience as intentional and do not touch it.
tests/server/auth/providers/test_workos.py:312
Method
test_custom_token_verifier_initialization
Test initialization with custom token verifier.
tests/server/auth/test_oidc_proxy.py:658
Method
test_custom_token_verifier_not_replaced
(self, valid_oidc_configuration_dict)
tests/server/auth/providers/test_auth0_mcp.py:117
Method
test_custom_token_verifier_scopes_skip_discovery
Scopes supplied by a custom verifier retain the parent behavior.
tests/server/auth/providers/test_descope.py:286
Method
test_custom_token_verifier_with_algorithm_raises_error
Test that providing algorithm with custom verifier raises error.
tests/server/auth/test_oidc_proxy.py:694
Method
test_custom_token_verifier_with_audience_allowed
Test that providing audience with custom verifier is allowed (for OAuth flow).
tests/server/auth/test_oidc_proxy.py:758
Method
test_custom_token_verifier_with_required_scopes_raises_error
Test that providing required_scopes with custom verifier raises error.
tests/server/auth/test_oidc_proxy.py:726
Function
test_custom_tool_background_execution
Custom tool executes as a background task when opted in.
tests/tasks/server/test_custom_subclass_tasks.py:110
Function
test_custom_tool_forbidden_does_not_register
A forbidden custom tool does not register with Docket.
tests/tasks/server/test_custom_subclass_tasks.py:204
Function
test_custom_tool_forbidden_rejects_task
A forbidden tool runs synchronously even when the client opts in.
tests/tasks/server/test_custom_subclass_tasks.py:139
Function
test_custom_tool_forbidden_sync_only
Custom tool with forbidden mode executes synchronously.
tests/tasks/server/test_custom_subclass_tasks.py:130
Method
test_custom_tool_name
(self)
tests/apps/test_form.py:47
Method
test_custom_tool_names
(self)
tests/server/transforms/test_search.py:126
Function
test_custom_tool_raising_generic_error_is_masked
A custom Tool's non-FastMCP exception is masked, like the sync path. A base `Tool` subclass must route through the same error conversion as a
tests/tasks/server/test_custom_subclass_tasks.py:169
Function
test_custom_tool_raising_tool_error_completes_with_is_error
A custom Tool that raises `ToolError` is a completed, is_error task. Same contract as a raising `FunctionTool`: a raised tool error is a comp
tests/tasks/server/test_custom_subclass_tasks.py:148
Function
test_custom_tool_registers_with_docket
A task-capable custom tool registers its `run` entry point with Docket.
tests/tasks/server/test_custom_subclass_tasks.py:192
Function
test_custom_tool_result_matches_legacy_advertised_wrapper
( mode: str, transform_results: bool, raw_output: bool, schema: dict[str, Any], )
tests/server/providers/proxy/test_non_object_outputs.py:300
Function
test_custom_tool_sync_execution
Custom tool executes synchronously without a tasks opt-in.
tests/tasks/server/test_custom_subclass_tasks.py:103
Function
test_custom_tool_with_arguments
Custom tool receives arguments correctly in background execution.
tests/tasks/server/test_custom_subclass_tasks.py:120
Function
test_custom_transform_does_not_mutate_schema_default
()
tests/tools/tool_transform/test_args.py:95
Method
test_custom_truncation_suffix
Test that custom truncation suffix is applied.
tests/server/middleware/test_response_limiting.py:109
Method
test_custom_type_conversion
Test handling of custom types.
tests/resources/test_resource_template.py:296
Method
test_custom_type_return_raises_type_error
Returning custom type from read() raises TypeError - use ResourceResult.
tests/resources/test_function_resources.py:122
Method
test_custom_verifier_audience_not_overwritten
( self, valid_oidc_configuration_dict )
tests/server/auth/providers/test_auth0_mcp.py:177
Function
test_custom_verifier_keeps_provider_required_scopes
(name: str)
tests/server/auth/test_remote_auth_required_scopes.py:82
Function
test_custom_verifier_without_required_scopes_uses_verifier
(name: str)
tests/server/auth/test_remote_auth_required_scopes.py:90
Method
test_cwd_path_resolution
Test that working directory is resolved relative to config.
tests/cli/test_mcp_server_config_integration.py:196
Function
test_cyclic_composition_budget
(monkeypatch)
tests/utilities/openapi/test_composition_graphs.py:145
Function
test_cyclic_members_keep_contextual_merge_order
()
tests/utilities/openapi/test_composition_graphs.py:99
Function
test_cyclic_references_do_not_hang_projection
()
tests/server/providers/openapi/test_write_only_responses.py:319
Method
test_cycling_cursors_terminates
list_tools should stop if the server cycles through a set of cursors.
tests/server/test_pagination.py:522
Function
test_daily_history_keeps_zero_days_and_utc_boundaries
(status_module)
tests/test_maintenance_status.py:135
Method
test_dangerous_characters_encoded
(self)
tests/cli/test_goose.py:117
Method
test_data_parsed_on_terminal_result_only
`.data` deserialization runs on the resolved terminal result, never on the intermediate InputRequiredResult.
tests/client/client/test_input_required_driver.py:121
Method
test_data_uri_icon
Test using data URIs for icons.
tests/server/test_icons.py:298
Method
test_data_uri_icons
Test that data URI icons are extracted correctly.
tests/utilities/test_inspect_icons.py:240
Method
test_dataclass_return_annotation
(self)
tests/tools/tool/test_output_schema.py:171
Method
test_dataclass_return_creates_structured_content_without_schema
Test that dataclass returns automatically create structured content even without output schema.
tests/tools/tool/test_content.py:267
Method
test_dataclass_union_string_works
Test that union of dataclass and string works correctly.
tests/tools/tool/test_results.py:226
Method
test_date_invalid
(self, date_format)
tests/utilities/json_schema_type/test_formats.py:143
Method
test_date_time_string_is_accepted
(self)
tests/client/test_elicitation.py:857
Method
test_date_type
(self)
tests/server/providers/local_provider_tools/test_parameters.py:358
Method
test_date_type_parse_string
(self)
tests/server/providers/local_provider_tools/test_parameters.py:370
Method
test_date_valid
(self, date_format)
tests/utilities/json_schema_type/test_formats.py:137
Method
test_date_versions
Works with date-based versions like '2025-01-15'.
tests/server/versioning/test_filtering.py:190
Method
test_datetime
(self)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:98
Method
test_datetime_invalid
(self, datetime_format)
tests/utilities/json_schema_type/test_formats.py:79
Method
test_datetime_type
(self)
tests/server/providers/local_provider_tools/test_parameters.py:324
Method
test_datetime_type_error
(self)
tests/server/providers/local_provider_tools/test_parameters.py:346
Method
test_datetime_type_parse_string
(self)
tests/server/providers/local_provider_tools/test_parameters.py:336
Method
test_datetime_valid
(self, datetime_format)
tests/utilities/json_schema_type/test_formats.py:74
Method
test_dcr_adds_jwt_bearer_when_enabled
(self, config: IdentityAssertion)
tests/server/auth/oauth_proxy/test_identity_assertion.py:961
Method
test_dcr_client_accepts_registered_external_redirect_uri
Open DCR still accepts arbitrary redirect URIs that clients register.
tests/server/auth/oauth_proxy/test_client_registration.py:200
Method
test_dcr_client_rejects_unregistered_redirect_uri
DCR clients honor their registered redirect_uris by default.
tests/server/auth/oauth_proxy/test_client_registration.py:177
Method
test_dcr_does_not_add_jwt_bearer_when_disabled
(self)
tests/server/auth/oauth_proxy/test_identity_assertion.py:976
Method
test_dcr_registered_client_can_exchange
A client that registers via DCR without the jwt-bearer grant can still exchange an ID-JAG, because the enabled-path adds the grant on registra
tests/server/auth/oauth_proxy/test_identity_assertion.py:991
Method
test_dcr_response_is_public_client
The DCR response must describe the public client the proxy actually stores — never a confidential method / secret the proxy does not enforce
tests/server/auth/oauth_proxy/test_client_registration.py:277
Method
test_declared_mime_type_is_served_on_read
A string return honors the template's declared mime_type.
tests/resources/test_resource_template.py:1595
Method
test_declared_private_use_redirect_reaches_consent
( self, oauth_proxy, declare_client, redirect_uri )
tests/server/auth/oauth_proxy/test_authorization.py:314
Function
test_declared_reserved_names_do_not_override_extra_field_validation
()
tests/utilities/json_schema_type/test_typed_extra_fields.py:66
Method
test_declined_answer_shape
A client that declines delivers an ElicitResult with action='decline' and no content into ctx.input_responses (not an error).
tests/server/test_mrtr_guards.py:360
Method
test_declined_content_is_not_validated
(self)
tests/client/test_elicitation.py:867
Method
test_declined_elicitation_is_not_an_accepted_answer
A handler's decline or cancel reaches the resolver as a refusal, whether it returns FastMCP's `ElicitResult` or the SDK's own.
tests/client/client/test_input_required_driver.py:139
Method
test_decode_accepts_bytes
Redis hands back bytes on some backends.
tests/tasks/server/test_snapshot_encryption.py:113
Method
test_decode_basic_header
Test decoding a basic JWT header.
tests/utilities/test_auth.py:26
Method
test_decode_basic_payload
Test decoding a basic JWT payload.
tests/utilities/test_auth.py:81
Method
test_decode_header_length_divisible_by_4
Test decoding when base64 length is divisible by 4 (no padding needed). This tests the edge case where len(part) % 4 == 0. The paddin
tests/utilities/test_auth.py:63
← previous
next →
8,701–8,800 of 15,974, ranked by callers