MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Functiontest_elicitation_sep1330_enums
Tests elicitation with enum schema improvements per SEP-1330.
tests/conformance/server.py:238
Methodtest_elicitation_str_response
Test elicitation with string schema.
tests/client/test_elicitation.py:307
Functiontest_elicitation_tool
Test calling the elicitation tool in both stateless and stateful modes.
tests/client/test_streamable_http.py:214
Functiontest_elicitation_with_no_handler
Test that elicitation works without a handler.
tests/client/test_elicitation.py:51
Methodtest_elongl_reported_case_xref_with_nullable_function
Test the specific case reported by elongl with nullable function reference.
tests/utilities/openapi/test_transitive_references.py:118
Methodtest_email_accepts_valid
(self, email_string)
tests/utilities/json_schema_type/test_constraints.py:64
Methodtest_email_invalid
(self, email_format)
tests/utilities/json_schema_type/test_formats.py:89
Methodtest_email_rejects_invalid
(self, email_string)
tests/utilities/json_schema_type/test_constraints.py:69
Methodtest_email_valid
(self, email_format)
tests/utilities/json_schema_type/test_formats.py:84
Functiontest_embedded_resource
Returns an embedded resource.
tests/conformance/server.py:113
Methodtest_embeds_transport
(self)
tests/cli/test_generate_cli.py:469
Methodtest_emitted_name_is_callable_on_the_same_server
The whole point: what the renderer is told to call, it can call.
tests/server/providers/test_prefab_roundtrip.py:339
Methodtest_empty
(self)
tests/test_apps.py:108
Methodtest_empty
(self)
tests/test_apps.py:158
Methodtest_empty_args
(self)
tests/cli/test_goose.py:167
Methodtest_empty_args_section
(self)
tests/utilities/test_docstring_parsing.py:262
Methodtest_empty_command_exits
(self)
tests/cli/test_client_commands.py:521
Methodtest_empty_corpus
(self)
tests/server/transforms/test_search.py:507
Methodtest_empty_criteria_matches_nothing
Empty criteria is a safe default - matches nothing.
tests/server/transforms/test_visibility.py:13
Methodtest_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
Methodtest_empty_cursor_fetches_the_next_page
( self, method: str, first_page: mcp_types.PaginatedResult, second_page: mcp_t
tests/server/test_pagination.py:217
Methodtest_empty_data_uses_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:941
Methodtest_empty_dict
Test that an empty dictionary is converted to TextContent.
tests/tools/tool/test_content.py:239
Methodtest_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:392
Methodtest_empty_filtered_view_is_served_from_cache
(self)
tests/server/middleware/test_caching.py:1195
Methodtest_empty_list
Test that an empty list results in an empty list.
tests/tools/tool/test_content.py:233
Methodtest_empty_list
Empty list should return empty page and no cursor.
tests/server/test_pagination.py:99
Methodtest_empty_list_allows_none
Test that empty list allows no redirect URIs.
tests/server/auth/test_redirect_validation.py:405
Methodtest_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
Methodtest_empty_list_is_served_from_cache
(self, operation: str)
tests/server/middleware/test_caching.py:1185
Methodtest_empty_list_passes
(self)
tests/server/auth/test_authorization.py:323
Methodtest_empty_list_return_is_unchanged
Control: an empty list still serializes to a single JSON item.
tests/resources/test_resources.py:428
Methodtest_empty_material_is_rejected
An empty key would derive a universally reproducible Fernet key.
tests/tasks/server/test_snapshot_encryption.py:108
Methodtest_empty_mcp_servers
(self, tmp_path: Path)
tests/cli/test_discovery.py:137
Methodtest_empty_meta_returns_current_context
( self, trace_exporter: InMemorySpanExporter )
tests/telemetry/test_module.py:107
Functiontest_empty_methods_logs_nothing
()
tests/server/middleware/test_logging_methods_filter.py:46
Methodtest_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:229
Methodtest_empty_property_name
Empty and whitespace-only property names should not crash.
tests/utilities/json_schema_type/test_json_schema_type.py:418
Functiontest_empty_protocol_versions_rejected
()
tests/server/test_extensions.py:500
Methodtest_empty_provider
Test that empty provider doesn't affect behavior.
tests/server/test_providers.py:263
Methodtest_empty_query_has_no_stray_ampersand
(self)
tests/server/auth/test_redirect_validation.py:60
Methodtest_empty_query_makes_no_request
(self)
tests/experimental/transforms/test_jev_search.py:421
Methodtest_empty_redirect_uris_rejected
Test that empty redirect_uris is rejected.
tests/server/auth/test_cimd.py:103
Methodtest_empty_registry_falls_back_to_public_npm
( self, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_apps_dev_server.py:798
Methodtest_empty_required_scopes_handling
Test handling of empty required scopes.
tests/server/auth/providers/test_keycloak.py:118
Methodtest_empty_required_scopes_raises_value_error
Test that providing empty required_scopes raises ValueError.
tests/server/auth/providers/test_azure_scopes.py:176
Methodtest_empty_roots_list
Test that empty roots list results in no skills.
tests/server/providers/test_skills_provider.py:977
Methodtest_empty_route
Test schema processing with empty route.
tests/utilities/openapi/test_schemas.py:535
Methodtest_empty_schema
(self)
tests/utilities/json_schema_type/test_advanced.py:1018
Methodtest_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
Methodtest_empty_scopes_accept_any_valid_token
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:975
Methodtest_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
Methodtest_empty_scopes_require_a_token
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:965
Methodtest_empty_server
Test get_fastmcp_info with an empty server.
tests/utilities/test_inspect.py:84
Methodtest_empty_server_returns_empty_list
(self)
tests/utilities/test_skills.py:157
Functiontest_empty_settings_still_advertise
The default empty-settings extension is advertised with an empty dict.
tests/server/test_extensions.py:89
Methodtest_empty_skills_directory
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:759
Methodtest_empty_string
(self)
tests/apps/test_file_upload.py:21
Methodtest_empty_string
(self)
tests/cli/test_generate_cli.py:109
Methodtest_empty_string
(self)
tests/cli/test_goose.py:26
Methodtest_empty_string_to_int
Empty strings should fail conversion to int.
tests/server/test_input_validation.py:488
Methodtest_empty_tags_conversion
Test that empty tags are handled correctly.
tests/utilities/test_components.py:343
Methodtest_empty_tool_injection
Test that middleware with no tools doesn't affect behavior.
tests/server/middleware/test_tool_injection.py:268
Methodtest_empty_tools_list_limits_nothing
Test that empty tools list means no tools are limited.
tests/server/middleware/test_response_limiting.py:93
Methodtest_empty_transform_layer_passthrough
Test that empty ToolTransform has no effect.
tests/server/providers/test_transforming_provider.py:332
Methodtest_empty_when_no_prompts
list_prompts returns empty list when no prompts exist.
tests/server/transforms/test_prompts_as_tools.py:127
Methodtest_empty_when_no_required_scopes
(self, rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider_bearer.py:624
Methodtest_empty_when_no_resources
list_resources returns empty list when no resources exist.
tests/server/transforms/test_resources_as_tools.py:166
Methodtest_enable_components_sends_notifications
Test that enable_components sends all three notification types.
tests/server/test_session_visibility.py:402
Methodtest_enable_components_stores_rule_dict
Test that enable_components stores a rule dict in session state.
tests/server/test_session_visibility.py:62
Methodtest_enable_marks_as_enabled
Visibility(True, ...) marks matching components as enabled.
tests/server/transforms/test_visibility.py:107
Methodtest_enable_overrides_disable
An enable after disable results in enabled.
tests/server/transforms/test_visibility.py:142
Methodtest_enable_prompt_prefixless_mount
Test enabling a prompt on a prefix-less mounted server.
tests/server/mount/test_advanced.py:687
Methodtest_enable_prompt_route
Test enabling a prompt via the HTTP route.
tests/contrib/test_component_manager.py:202
Methodtest_enable_prompt_route_with_path
(self, client_with_path, mcp_with_path)
tests/contrib/test_component_manager.py:512
Methodtest_enable_raises_not_implemented_error
Test that enable() raises NotImplementedError with migration guidance.
tests/utilities/test_components.py:281
Methodtest_enable_resource_prefixless_mount
Test enabling a resource on a prefix-less mounted server.
tests/server/mount/test_advanced.py:664
Methodtest_enable_resource_route
Test enabling a resource via the HTTP route.
tests/contrib/test_component_manager.py:142
Methodtest_enable_template_route
Test enabling a resource template via the HTTP route.
tests/contrib/test_component_manager.py:175
Methodtest_enable_tool_prefixless_mount
Test enabling a tool on a prefix-less mounted server.
tests/server/mount/test_advanced.py:637
Methodtest_enable_tool_route
Test enabling a tool via the HTTP route.
tests/contrib/test_component_manager.py:58
Methodtest_enable_tool_route_with_path
(self, client_with_path, mcp_with_path)
tests/contrib/test_component_manager.py:491
Methodtest_enable_tool_route_with_version
Test enabling a specific tool version via the HTTP route.
tests/contrib/test_component_manager.py:115
Methodtest_enabled
(self, cache: TokenCache)
tests/utilities/test_token_cache.py:69
Methodtest_enabled_with_verify_id_token
OIDCProxy with verify_id_token=True returns True.
tests/server/auth/test_oidc_proxy_token.py:357
Methodtest_encode_decode_roundtrip
Cursor should survive encode/decode roundtrip.
tests/server/test_pagination.py:20
Methodtest_encode_produces_string
Encoded cursor should be a string.
tests/server/test_pagination.py:27
Methodtest_encoded_and_malformed_credentials
(self, url: str, expected: str)
tests/cli/test_tasks.py:138
Methodtest_encoded_hash_stays_in_path_param
(self)
tests/resources/test_resource_template.py:1105
Methodtest_encoded_literal_matches_in_either_hex_case
(self, uri: str)
tests/resources/test_resource_template.py:1815
Methodtest_encoded_path_param_preserved
(self)
tests/server/providers/proxy/test_proxy_server.py:818
Methodtest_encoded_payload_hides_the_credentials
( self, sensitive_snapshot: TaskContextSnapshot )
tests/tasks/server/test_snapshot_encryption.py:91
Methodtest_encoding_ignored_for_binary
Encoding field should be ignored when is_binary=True.
tests/resources/test_file_resources.py:184
Methodtest_encrypted_oauth_reused_by_fresh_client
( self, transport: str, auth: str | None, monkeypatch: pytest.MonkeyPatch,
tests/cli/test_client_commands.py:560
Methodtest_encryption_key_defaults_to_none
(self, monkeypatch: pytest.MonkeyPatch)
tests/tasks/server/test_snapshot_encryption.py:146
Methodtest_encryption_key_env_var
(self, monkeypatch: pytest.MonkeyPatch)
tests/tasks/server/test_snapshot_encryption.py:151
Methodtest_encryption_key_is_not_printable
A settings dump must never carry the key into a log.
tests/tasks/server/test_snapshot_encryption.py:158
Methodtest_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
Methodtest_end_removes_the_session_entirely
(self)
tests/server/test_sessions.py:221
Methodtest_end_session_declares_session_id_contract
(self)
tests/server/test_session_provider.py:510
← previousnext →9,201–9,300 of 15,974, ranked by callers