MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Functiontest_long_reference_chain_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:181
Methodtest_lookahead_pattern_falls_back_to_str
Lookahead patterns (unsupported by Rust regex) degrade to plain str.
tests/utilities/json_schema_type/test_json_schema_type.py:321
Methodtest_lookup_error_branch_restores_current_server
(self)
tests/server/providers/proxy/test_stateful_proxy_client.py:274
Methodtest_loopback_blocked
Loopback addresses should be blocked.
tests/server/auth/test_ssrf_protection.py:73
Methodtest_loopback_explicit_port_requires_exact_match
Loopback patterns with an explicit port should still require exact match.
tests/server/auth/test_redirect_validation.py:534
Methodtest_loopback_names_and_literals
(self, host: str)
tests/server/auth/test_oauth_proxy_redirect_validation.py:728
Methodtest_loopback_names_are_accepted
(self, host: str)
tests/cli/test_apps_dev_server.py:323
Methodtest_loopback_no_port_still_checks_host
Host must still match even for loopback URIs.
tests/server/auth/test_redirect_validation.py:545
Methodtest_loopback_no_port_still_checks_path
Path must still match even for loopback URIs.
tests/server/auth/test_redirect_validation.py:550
Methodtest_loopback_no_port_still_checks_scheme
Scheme must still match even for loopback URIs.
tests/server/auth/test_redirect_validation.py:540
Methodtest_loopback_range_keeps_port_flexibility
(self, host: str)
tests/server/auth/test_oauth_proxy_redirect_validation.py:513
Methodtest_main_file_name_is_skill_md
(self)
tests/server/providers/test_skills_provider.py:878
Functiontest_main_health_never_reuses_old_commit_success
(status_module, monkeypatch)
tests/test_maintenance_status.py:17
Functiontest_main_health_recognizes_automatic_codeql
(status_module, monkeypatch)
tests/test_maintenance_status.py:44
Functiontest_main_health_uses_latest_attempt
( status_module, monkeypatch, status, conclusion, expected )
tests/test_maintenance_status.py:81
Functiontest_maintainer_report_and_coauthor_need_no_supplemental_credit
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:221
Methodtest_make_dev_app_log_panel_controls_inject
Test if _make_dev_app calls _inject_log_panel only when log_panel=True, regarding issue 4121: - toggle log-panel option to hide log/debug mess
tests/cli/test_run.py:1256
Methodtest_make_key_without_prefix
Test make_key returns just identifier when KEY_PREFIX is empty.
tests/utilities/test_components.py:197
Methodtest_malformed_component_params_observed_by_on_message
A ``tools/call`` with malformed params fails validation before the interior handler runs, so no typed hook fires — but the root dispatch obser
tests/server/middleware/test_message_visibility.py:147
Functiontest_malformed_credential_state_has_a_safe_error
(tmp_path: Path)
tests/cli/deploy/test_credentials.py:320
Methodtest_malformed_discover_params_observed_by_generic_hooks
(self)
tests/server/middleware/test_message_visibility.py:162
Methodtest_malformed_json_returns_none
Test that malformed JSON responses return None.
tests/server/auth/providers/test_introspection.py:302
Functiontest_malformed_link_does_not_discard_valid_candidates
( oembed: list[str], )
examples/apps/media_picker/test_media_picker.py:96
Methodtest_malformed_or_mismatched_host_values_are_rejected
(self, host: str)
tests/cli/test_apps_dev_server.py:210
Methodtest_malformed_token_rejection
Test rejection of malformed tokens.
tests/server/auth/test_jwt_provider_bearer.py:377
Methodtest_malformed_versions_tiebreak_lexicographically
(self)
tests/server/versioning/test_versioning.py:461
Methodtest_malformed_versions_use_exact_string_equality
Non-PEP 440 strings compare exactly (no normalization, no crash).
tests/server/versioning/test_versioning.py:116
Methodtest_malicious_skill_name_raises
( self, skills_server: FastMCP, tmp_path: Path, malicious_name: str )
tests/utilities/test_skills.py:467
Methodtest_manifest_ignores_symlink_target_outside_skill
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:356
Methodtest_manual_initialize
Test manual initialization when auto_initialize=False.
tests/client/client/test_initialize.py:36
Methodtest_manual_initialize_can_call_tools
Test that manually initialized client can call tools.
tests/client/client/test_initialize.py:106
Methodtest_manual_initialize_legacy
auto_initialize=False + a manual initialize() still works in legacy mode.
tests/client/client/test_mode_negotiation.py:300
Methodtest_manual_pagination
Client can manually paginate using cursor.
tests/server/test_pagination.py:304
Functiontest_manual_route_accepts_location_suffix_for_declared_parameter
()
tests/server/providers/openapi/test_undeclared_arguments.py:278
Functiontest_manual_route_uses_canonical_parameter_names
()
tests/server/providers/openapi/test_undeclared_arguments.py:243
Functiontest_manual_route_with_allof_body_sends_declared_properties
()
tests/server/providers/openapi/test_undeclared_arguments.py:307
Methodtest_manual_structured_content
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:103
Methodtest_many_concurrent_sessions_isolated
Test that many concurrent sessions remain properly isolated.
tests/server/test_session_visibility.py:581
Methodtest_many_options
(self)
tests/apps/test_choice.py:40
Functiontest_markdown_renders_non_json_defaults_and_enums
Regression: a YAML-loaded OpenAPI spec turns `default: 2024-01-01` into a `datetime.date`, and one such parameter made the whole detailed render f
tests/experimental/transforms/test_code_mode_serialization.py:392
Methodtest_match_accepts_the_encoded_form
An AnyUrl percent-encodes the URI, so that is the form matching sees.
tests/resources/test_resource_template.py:1499
Methodtest_match_all_matches_everything
match_all=True matches all components.
tests/server/transforms/test_visibility.py:18
Methodtest_match_by_component_type
Only matches specified component types.
tests/server/transforms/test_visibility.py:72
Methodtest_match_by_name
Matches component by name.
tests/server/transforms/test_visibility.py:23
Methodtest_match_by_tag
Matches if component has any of the specified tags.
tests/server/transforms/test_visibility.py:66
Methodtest_match_by_version
Matches component by version.
tests/server/transforms/test_visibility.py:29
Methodtest_match_by_version_spec_exact
VersionSpec(eq="v1") matches v1 only.
tests/server/transforms/test_visibility.py:35
Methodtest_match_by_version_spec_gte
VersionSpec(gte="v2") matches v2, v3, but not v1.
tests/server/transforms/test_visibility.py:42
Methodtest_match_by_version_spec_range
VersionSpec(gte="v1", lt="v3") matches v1, v2, but not v3.
tests/server/transforms/test_visibility.py:49
Methodtest_match_consecutive_params
Test that consecutive parameters without a / are not matched.
tests/resources/test_resource_template.py:555
Methodtest_match_splits_on_literal_commas
(self, uri: str, expected: list[str])
tests/resources/test_resource_template.py:1580
Methodtest_match_then_expand_recovers_params
Expanding params and matching them back reproduces the original values.
tests/resources/test_resource_template.py:1340
Methodtest_match_uri_template_embedded_param
Test matching URIs where parameter is embedded within a word segment.
tests/resources/test_resource_template.py:592
Methodtest_match_uri_template_embedded_param_with_prefix_and_suffix
Test matching URIs where parameter has both prefix and suffix.
tests/resources/test_resource_template.py:612
Methodtest_match_uri_template_multiple_wildcard_params
Test that match_uri_template uses the slash delimiter.
tests/resources/test_resource_template.py:540
Methodtest_match_uri_template_normalizes_hyphens
Hyphenated params match and return underscored keys.
tests/resources/test_resource_template.py:920
Methodtest_match_uri_template_params_and_literal_segments
Test matching URIs against a template with parameters and literal segments.
tests/resources/test_resource_template.py:478
Methodtest_match_uri_template_quoted_params
(self)
tests/resources/test_resource_template.py:504
Methodtest_match_uri_template_returns_none_for_malformed_templates
( self, template: str )
tests/resources/test_resource_template.py:915
Methodtest_match_uri_template_simple_params
Test matching URIs against a template with simple parameters.
tests/resources/test_resource_template.py:460
Methodtest_match_uri_template_single_param
Test that match_uri_template uses the slash delimiter.
tests/resources/test_resource_template.py:428
Methodtest_match_uri_template_wildcard_and_literal_param
Test that match_uri_template uses the slash delimiter.
tests/resources/test_resource_template.py:548
Methodtest_match_uri_template_wildcard_param
Test that match_uri_template uses the slash delimiter.
tests/resources/test_resource_template.py:523
Methodtest_match_uri_template_with_non_slash_suffix
( self, uri: str, expected_params: dict[str, str] )
tests/resources/test_resource_template.py:572
Methodtest_match_uri_template_with_prefix
Test matching URIs against a template with a prefix.
tests/resources/test_resource_template.py:496
Methodtest_match_without_list_params_keeps_scalar_values
A plain `{?q}` string keeps its commas, as on 4.0.5.
tests/resources/test_resource_template.py:1586
Methodtest_matches_actual_decode
(self, size: int)
tests/apps/test_file_upload.py:16
Methodtest_matching_options_reuse_the_cached_session
(self, monkeypatch)
tests/client/client/test_session.py:272
Methodtest_matching_resource_accepted
( self, idp_key: RSAKeyPair, config: IdentityAssertion, )
tests/server/auth/oauth_proxy/test_identity_assertion.py:749
Methodtest_matching_reuses_the_compiled_template_pattern
Reads try every template in turn, so a template's pattern is built once, not on every match attempt.
tests/resources/test_resource_template.py:876
Methodtest_max_events_per_stream_trims_old_events
Test that old events are trimmed when max_events_per_stream is exceeded.
tests/server/test_event_store.py:129
Methodtest_max_file_size_checks_actual_data_not_reported_size
Size limit should be enforced on actual base64 payload, not the client-reported ``size`` field which can be spoofed.
tests/apps/test_file_upload.py:170
Methodtest_max_file_size_enforced_server_side
(self)
tests/apps/test_file_upload.py:161
Methodtest_max_items_accepts_valid
(self, max_items_array)
tests/utilities/json_schema_type/test_containers.py:61
Methodtest_max_items_rejects_too_many
(self, max_items_array)
tests/utilities/json_schema_type/test_containers.py:65
Methodtest_max_length_accepts_valid
(self, max_length_string)
tests/utilities/json_schema_type/test_constraints.py:46
Methodtest_max_length_rejects_long
(self, max_length_string)
tests/utilities/json_schema_type/test_constraints.py:50
Methodtest_max_results_caps_the_fitting_tools
(self)
tests/experimental/transforms/test_jev_search.py:195
Methodtest_max_rounds_exceeded_raises
A dependent chain needing two rounds under `max_rounds=1` raises.
tests/client/client/test_input_required_driver.py:156
Methodtest_max_rounds_exceeded_raises
A two-round guard under max_rounds=1 raises on the client driver.
tests/server/test_mrtr_guards.py:384
Methodtest_maximum_accepts_equal
(self, max_number)
tests/utilities/json_schema_type/test_constraints.py:121
Methodtest_maximum_rejects_greater
(self, max_number)
tests/utilities/json_schema_type/test_constraints.py:125
Methodtest_mcp_client_compatibility_requires_additional_properties
Test that compress_schema preserves additionalProperties: false for MCP clients. MCP clients like Claude require strict JSON schemas with add
tests/utilities/test_json_schema.py:796
Methodtest_mcp_config_dict
MCPConfig dicts are not HTTP targets — auth is per-server internally.
tests/cli/test_client_commands.py:359
Functiontest_mcp_config_file_io_uses_utf8
MCP config files must be read and written as UTF-8. On Windows, Path.read_text()/write_text() default to a locale encoding such as cp1252. Th
tests/test_mcp_config.py:459
Methodtest_mcp_config_no_auth
MCPConfig dicts handle auth per-server; no top-level auth applied.
tests/cli/test_client_commands.py:386
Functiontest_mcp_conformance
Run the full MCP conformance test suite against the server.
tests/conformance/test_conformance.py:79
Methodtest_mcp_endpoint_with_mounted_app
Test that MCP endpoint works correctly when mounted. This confirms the MCP functionality itself works with mounting.
tests/server/auth/test_oauth_mounting.py:115
Methodtest_mcp_error_is_alias
(self)
tests/test_compat.py:220
Methodtest_mcp_error_keyword_construction_works
(self)
tests/test_upgrade_from_v3.py:336
Methodtest_mcp_error_positional_construction_raises
(self)
tests/test_upgrade_from_v3.py:331
Functiontest_mcp_host_loop_exposes_ui_and_marks_backend_tools_app_only
( oembed: list[str], )
examples/apps/media_picker/test_media_picker.py:168
Methodtest_mcp_json_basic
Test basic mcp-json install command parsing.
tests/cli/test_install.py:236
Methodtest_mcp_json_minimal
Test that mcp-json works with minimal arguments.
tests/cli/test_install.py:400
Methodtest_mcp_json_with_copy
Test mcp-json install with copy to clipboard option.
tests/cli/test_install.py:246
Functiontest_mcp_method_and_name_headers_reach_server
`Mcp-Method` and `Mcp-Name` set by the SDK client arrive at the server.
tests/server/http/test_routable_headers.py:35
Functiontest_mcp_param_header_reaches_server
An `x-mcp-header` annotated parameter is mirrored into `Mcp-Param-*`. The SDK client only emits `Mcp-Param-*` once it has seen the tool's input
tests/server/http/test_routable_headers.py:46
Methodtest_mcp_prompt_rejects_unknown_param
(self)
tests/contrib/test_mcp_mixin.py:394
Functiontest_mcp_resource_generation
Test that resources are properly generated in MCP format.
tests/client/client/test_client.py:755
Methodtest_mcp_resource_rejects_unknown_param
(self)
tests/contrib/test_mcp_mixin.py:387
← previousnext →9,301–9,400 of 13,374, ranked by callers