Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
17,519 in github.com/PrefectHQ/fastmcp
⨍
Functions
17,519
◇
Types & classes
2,390
↳
Endpoints
196
Method
test_empty_corpus
(self)
tests/server/transforms/test_search.py:507
Method
test_empty_criteria_matches_nothing
Empty criteria is a safe default - matches nothing.
tests/server/transforms/test_visibility.py:13
Method
test_empty_csp_disables_csp_meta_tag
Test that empty string CSP disables CSP meta tag entirely.
tests/server/auth/test_oauth_consent_page.py:520
Method
test_empty_cursor_fetches_the_next_page
( self, method: str, first_page: mcp_types.PaginatedResult, second_page: mcp_t
tests/server/test_pagination.py:217
Method
test_empty_data_uses_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:1017
Method
test_empty_dict
Test that an empty dictionary is converted to TextContent.
tests/tools/tool/test_content.py:239
Method
test_empty_enum
Empty enum means no value is valid — should reject like a false schema.
tests/utilities/json_schema_type/test_json_schema_type.py:422
Method
test_empty_filtered_view_is_served_from_cache
(self)
tests/server/middleware/test_caching.py:1242
Method
test_empty_fragment_rejected
A bare trailing `#` is still a fragment component.
tests/server/auth/test_redirect_validation.py:478
Method
test_empty_list
Test that an empty list results in an empty list.
tests/tools/tool/test_content.py:233
Method
test_empty_list
Empty list should return empty page and no cursor.
tests/server/test_pagination.py:99
Method
test_empty_list_allows_none
Test that empty list allows no redirect URIs.
tests/server/auth/test_redirect_validation.py:575
Method
test_empty_list_blocks_all
Empty allowed_redirect_uri_patterns blocks all redirect URIs, including pre-registered ones.
tests/server/auth/test_oauth_proxy_redirect_validation.py:159
Method
test_empty_list_is_served_from_cache
(self, operation: str)
tests/server/middleware/test_caching.py:1232
Method
test_empty_list_passes
(self)
tests/server/auth/test_authorization.py:323
Method
test_empty_list_return_is_unchanged
Control: an empty list still serializes to a single JSON item.
tests/resources/test_resources.py:488
Method
test_empty_material_is_rejected
An empty key would derive a universally reproducible Fernet key.
tests/tasks/server/test_snapshot_encryption.py:108
Method
test_empty_mcp_servers
(self, tmp_path: Path)
tests/cli/test_discovery.py:137
Method
test_empty_meta_returns_current_context
( self, trace_exporter: InMemorySpanExporter )
tests/telemetry/test_module.py:107
Function
test_empty_methods_logs_nothing
()
tests/server/middleware/test_logging_methods_filter.py:46
Method
test_empty_params_does_not_add_stray_ampersand
The authorize-handler call site passes no extra params (it only needs to fix up `iss` on a URL the SDK already built) -- an empty `par
tests/server/auth/test_redirect_validation.py:235
Method
test_empty_path_pattern_matches_only_root
(self)
tests/server/auth/test_redirect_validation.py:964
Method
test_empty_property_name
Empty and whitespace-only property names should not crash.
tests/utilities/json_schema_type/test_json_schema_type.py:448
Function
test_empty_protocol_versions_rejected
()
tests/server/test_extensions.py:500
Method
test_empty_provider
Test that empty provider doesn't affect behavior.
tests/server/test_providers.py:263
Method
test_empty_query_has_no_stray_ampersand
(self)
tests/server/auth/test_redirect_validation.py:60
Method
test_empty_query_makes_no_request
(self)
tests/experimental/transforms/test_jev_search.py:421
Method
test_empty_query_matches_queryless_pattern
`...?` carries an empty query, equal to a query-less pattern's. `urlparse(...).query` is `''` for both, so this is allowed and pinned
tests/server/auth/test_redirect_validation.py:485
Method
test_empty_redirect_uris_rejected
Test that empty redirect_uris is rejected.
tests/server/auth/test_cimd.py:103
Method
test_empty_registry_falls_back_to_public_npm
( self, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_apps_dev_server.py:818
Method
test_empty_required_scopes_handling
Test handling of empty required scopes.
tests/server/auth/providers/test_keycloak.py:118
Method
test_empty_required_scopes_raises_value_error
Test that providing empty required_scopes raises ValueError.
tests/server/auth/providers/test_azure_scopes.py:176
Method
test_empty_roots_list
Test that empty roots list results in no skills.
tests/server/providers/test_skills_provider.py:979
Method
test_empty_route
Test schema processing with empty route.
tests/utilities/openapi/test_schemas.py:535
Method
test_empty_schema
(self)
tests/utilities/json_schema_type/test_advanced.py:1094
Method
test_empty_scope_discovery_is_cached_as_success
An explicitly empty Descope scope list is a successful discovery.
tests/server/auth/providers/test_descope.py:174
Method
test_empty_scopes_accept_any_valid_token
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:975
Method
test_empty_scopes_rejects_when_required
When introspection returns no scopes and required_scopes are set, token is rejected.
tests/server/auth/providers/test_clerk.py:371
Method
test_empty_scopes_require_a_token
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:965
Method
test_empty_server
Test get_fastmcp_info with an empty server.
tests/utilities/test_inspect.py:84
Method
test_empty_server_returns_empty_list
(self)
tests/utilities/test_skills.py:157
Function
test_empty_settings_still_advertise
The default empty-settings extension is advertised with an empty dict.
tests/server/test_extensions.py:89
Method
test_empty_skills_directory
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:761
Method
test_empty_string
(self)
tests/apps/test_file_upload.py:21
Method
test_empty_string
(self)
tests/cli/test_generate_cli.py:109
Method
test_empty_string
(self)
tests/cli/test_goose.py:26
Method
test_empty_string_to_int
Empty strings should fail conversion to int.
tests/server/test_input_validation.py:488
Method
test_empty_tags_conversion
Test that empty tags are handled correctly.
tests/utilities/test_components.py:343
Method
test_empty_tool_injection
Test that middleware with no tools doesn't affect behavior.
tests/server/middleware/test_tool_injection.py:268
Method
test_empty_tools_list_limits_nothing
Test that empty tools list means no tools are limited.
tests/server/middleware/test_response_limiting.py:94
Method
test_empty_transform_layer_passthrough
Test that empty ToolTransform has no effect.
tests/server/providers/test_transforming_provider.py:445
Method
test_empty_when_no_prompts
list_prompts returns empty list when no prompts exist.
tests/server/transforms/test_prompts_as_tools.py:127
Method
test_empty_when_no_required_scopes
(self, rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider_bearer.py:624
Method
test_empty_when_no_resources
list_resources returns empty list when no resources exist.
tests/server/transforms/test_resources_as_tools.py:166
Method
test_enable_components_sends_notifications
Test that enable_components sends all three notification types.
tests/server/test_session_visibility.py:402
Method
test_enable_components_stores_rule_dict
Test that enable_components stores a rule dict in session state.
tests/server/test_session_visibility.py:62
Method
test_enable_marks_as_enabled
Visibility(True, ...) marks matching components as enabled.
tests/server/transforms/test_visibility.py:107
Method
test_enable_overrides_disable
An enable after disable results in enabled.
tests/server/transforms/test_visibility.py:142
Method
test_enable_prompt_prefixless_mount
Test enabling a prompt on a prefix-less mounted server.
tests/server/mount/test_advanced.py:687
Method
test_enable_prompt_route
Test enabling a prompt via the HTTP route.
tests/contrib/test_component_manager.py:202
Method
test_enable_prompt_route_with_path
(self, client_with_path, mcp_with_path)
tests/contrib/test_component_manager.py:512
Method
test_enable_raises_not_implemented_error
Test that enable() raises NotImplementedError with migration guidance.
tests/utilities/test_components.py:281
Method
test_enable_resource_prefixless_mount
Test enabling a resource on a prefix-less mounted server.
tests/server/mount/test_advanced.py:664
Method
test_enable_resource_route
Test enabling a resource via the HTTP route.
tests/contrib/test_component_manager.py:142
Method
test_enable_template_route
Test enabling a resource template via the HTTP route.
tests/contrib/test_component_manager.py:175
Method
test_enable_tool_prefixless_mount
Test enabling a tool on a prefix-less mounted server.
tests/server/mount/test_advanced.py:637
Method
test_enable_tool_route
Test enabling a tool via the HTTP route.
tests/contrib/test_component_manager.py:58
Method
test_enable_tool_route_with_path
(self, client_with_path, mcp_with_path)
tests/contrib/test_component_manager.py:491
Method
test_enable_tool_route_with_version
Test enabling a specific tool version via the HTTP route.
tests/contrib/test_component_manager.py:115
Method
test_enabled
(self, cache: TokenCache)
tests/utilities/test_token_cache.py:69
Method
test_enabled_with_verify_id_token
OIDCProxy with verify_id_token=True returns True.
tests/server/auth/test_oidc_proxy_token.py:357
Method
test_encode_decode_roundtrip
Cursor should survive encode/decode roundtrip.
tests/server/test_pagination.py:20
Method
test_encode_produces_string
Encoded cursor should be a string.
tests/server/test_pagination.py:27
Method
test_encoded_and_malformed_credentials
(self, url: str, expected: str)
tests/cli/test_tasks.py:138
Method
test_encoded_hash_stays_in_path_param
(self)
tests/resources/test_resource_template.py:1105
Method
test_encoded_literal_matches_in_either_hex_case
(self, uri: str)
tests/resources/test_resource_template.py:1815
Method
test_encoded_path_param_preserved
(self)
tests/server/providers/proxy/test_proxy_server.py:818
Method
test_encoded_payload_hides_the_credentials
( self, sensitive_snapshot: TaskContextSnapshot )
tests/tasks/server/test_snapshot_encryption.py:91
Method
test_encoding_ignored_for_binary
Encoding field should be ignored when is_binary=True.
tests/resources/test_file_resources.py:184
Method
test_encrypted_oauth_reused_by_fresh_client
( self, transport: str, auth: str | None, monkeypatch: pytest.MonkeyPatch,
tests/cli/test_client_commands.py:561
Method
test_encryption_key_defaults_to_none
(self, monkeypatch: pytest.MonkeyPatch)
tests/tasks/server/test_snapshot_encryption.py:146
Method
test_encryption_key_env_var
(self, monkeypatch: pytest.MonkeyPatch)
tests/tasks/server/test_snapshot_encryption.py:151
Method
test_encryption_key_is_not_printable
A settings dump must never carry the key into a log.
tests/tasks/server/test_snapshot_encryption.py:158
Method
test_end_client_still_enforces_the_schema
Skipping validation in the proxy doesn't disarm the real client.
tests/server/providers/proxy/test_proxy_server.py:1333
Method
test_end_removes_the_session_entirely
(self)
tests/server/test_sessions.py:221
Method
test_end_session_declares_session_id_contract
(self)
tests/server/test_session_provider.py:510
Method
test_end_session_invalidates_the_session
After `end_session` the id no longer resolves at all.
tests/server/test_session_provider.py:386
Function
test_ended_grant_marker_rejects_lingering_upstream_record
Access validation rejects an ended grant even if its upstream record lingers.
tests/server/auth/oauth_proxy/test_revocation.py:716
Function
test_endpoint_must_echo_the_challenge
(receiver)
tests/events/test_webhooks.py:214
Method
test_endpoints_stay_on_base_url
(self, field: str, expected: str)
tests/server/auth/test_issuer_url_identity.py:135
Method
test_endpoints_stay_on_base_url
(self, field: str, expected: str)
tests/server/auth/test_issuer_url_identity.py:286
Method
test_enforcing_allowed_redirect_uris
Test enforcing allowed redirect uris configuration.
tests/server/auth/oauth_proxy/test_client_registration.py:220
Method
test_enhanced_descriptions_for_non_string_types
Test that non-string argument types get enhanced descriptions with JSON schema.
tests/prompts/test_prompt.py:436
Method
test_enhanced_descriptions_with_existing_descriptions
Test that existing parameter descriptions are preserved with schema appended.
tests/prompts/test_prompt.py:505
Method
test_entra_obo_token_creates_dependency
Test that EntraOBOToken creates a dependency with scopes.
tests/server/auth/providers/test_azure_scopes.py:799
Method
test_entra_obo_token_is_dependency_instance
Test that EntraOBOToken is a Dependency instance.
tests/server/auth/providers/test_azure_scopes.py:807
Method
test_entra_obo_token_is_importable
Test that EntraOBOToken can be imported.
tests/server/auth/providers/test_azure_scopes.py:793
Function
test_entry_becomes_github_release_notes
()
tests/scripts/test_draft_release.py:23
Method
test_entry_count_eviction_keeps_ids_monotonic
(self)
tests/cli/test_apps_dev_server.py:45
Function
test_entry_timeout_defaults_and_units
( backend_sessions: list[ClientSession], server_entry: dict[str, Any], entry_timeout: int | None,
tests/client/transports/test_config_timeout.py:91
← previous
next →
10,301–10,400 of 17,519, ranked by callers