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
Method
test_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:438
Method
test_lookup_error_branch_restores_current_server
(self)
tests/server/providers/proxy/test_stateful_proxy_client.py:274
Function
test_lookup_uses_its_own_refresh_result
( upstream_client, kind, warm_cache, newer_outcome )
tests/server/providers/proxy/test_cache_refresh_races.py:116
Method
test_loopback_blocked
Loopback addresses should be blocked.
tests/server/auth/test_ssrf_protection.py:75
Method
test_loopback_explicit_port_requires_exact_match
Loopback patterns with an explicit port should still require exact match.
tests/server/auth/test_redirect_validation.py:594
Method
test_loopback_names_and_literals
(self, host: str)
tests/server/auth/test_oauth_proxy_redirect_validation.py:728
Method
test_loopback_names_are_accepted
(self, host: str)
tests/cli/test_apps_dev_server.py:386
Method
test_loopback_no_port_still_checks_host
Host must still match even for loopback URIs.
tests/server/auth/test_redirect_validation.py:605
Method
test_loopback_no_port_still_checks_path
Path must still match even for loopback URIs.
tests/server/auth/test_redirect_validation.py:610
Method
test_loopback_no_port_still_checks_scheme
Scheme must still match even for loopback URIs.
tests/server/auth/test_redirect_validation.py:600
Method
test_loopback_range_keeps_port_flexibility
(self, host: str)
tests/server/auth/test_oauth_proxy_redirect_validation.py:513
Method
test_looser_numeric_exclusive_keeps_maximum
(self)
tests/utilities/json_schema_type/test_constraints.py:218
Method
test_looser_numeric_exclusive_keeps_minimum
(self)
tests/utilities/json_schema_type/test_constraints.py:227
Method
test_lowercase_bearer_scheme_is_still_validated
The Bearer scheme is case-insensitive, so a bad token still errors.
tests/server/auth/test_enhanced_error_responses.py:758
Function
test_main_file_is_checked_again_when_read
(tmp_path: Path)
tests/server/providers/test_skill_main_files.py:36
Function
test_main_file_links_within_skill_directory_remain_readable
( tmp_path: Path, main_file_name: str )
tests/server/providers/test_skill_main_files.py:71
Function
test_main_file_must_resolve_inside_skill_directory
(tmp_path: Path)
tests/server/providers/test_skill_main_files.py:25
Method
test_main_file_name_is_skill_md
(self)
tests/server/providers/test_skills_provider.py:992
Function
test_main_file_stays_in_the_loaded_directory_after_a_link_swap
( tmp_path: Path, )
tests/server/providers/test_skill_main_files.py:146
Function
test_main_health_never_reuses_old_commit_success
(status_module, monkeypatch)
tests/test_maintenance_status.py:17
Function
test_main_health_recognizes_automatic_codeql
(status_module, monkeypatch)
tests/test_maintenance_status.py:44
Function
test_main_health_uses_latest_attempt
( status_module, monkeypatch, status, conclusion, expected )
tests/test_maintenance_status.py:81
Function
test_maintainer_report_and_coauthor_need_no_supplemental_credit
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:221
Method
test_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:1602
Method
test_make_key_without_prefix
Test make_key returns just identifier when KEY_PREFIX is empty.
tests/utilities/test_components.py:197
Function
test_malformed_assertion_returns_oauth_error
(token_client: TestClient, token: str)
tests/server/auth/test_private_key_jwt_auth.py:149
Method
test_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
Function
test_malformed_credential_state_has_a_safe_error
(tmp_path: Path)
tests/cli/deploy/test_credentials.py:330
Method
test_malformed_discover_params_observed_by_generic_hooks
(self)
tests/server/middleware/test_message_visibility.py:162
Function
test_malformed_discussion_retains_metadata_and_stage
(triage, monkeypatch)
tests/test_public_triage.py:422
Method
test_malformed_json_returns_none
Test that malformed JSON responses return None.
tests/server/auth/providers/test_introspection.py:302
Function
test_malformed_link_does_not_discard_valid_candidates
( oembed: list[str], )
examples/apps/media_picker/test_media_picker.py:96
Method
test_malformed_or_mismatched_host_values_are_rejected
(self, host: str)
tests/cli/test_apps_dev_server.py:273
Method
test_malformed_post_form_returns_error_without_rereading_stream
( self, oauth_proxy )
tests/server/auth/test_enhanced_error_responses.py:183
Method
test_malformed_token_rejection
Test rejection of malformed tokens.
tests/server/auth/test_jwt_provider_bearer.py:405
Method
test_malformed_versions_tiebreak_lexicographically
(self)
tests/server/versioning/test_versioning.py:461
Method
test_malformed_versions_use_exact_string_equality
Non-PEP 440 strings compare exactly (no normalization, no crash).
tests/server/versioning/test_versioning.py:116
Method
test_malformed_yaml_line_fallback_keeps_resources_listable
( self, tmp_path: Path, frontmatter: str, expected_description: str )
tests/server/providers/test_skills_provider.py:599
Method
test_malicious_skill_name_raises
( self, skills_server: FastMCP, tmp_path: Path, malicious_name: str )
tests/utilities/test_skills.py:537
Function
test_manifest_free_resources_keep_their_order_and_metadata
()
tests/skills/test_list_skill_resources.py:100
Method
test_manifest_ignores_symlink_target_outside_skill
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:362
Function
test_manifest_requires_skill_md
()
tests/skills/test_manifest_provider.py:71
Function
test_manifest_warning_preserves_resource_only_access
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:292
Method
test_manual_initialize
Test manual initialization when auto_initialize=False.
tests/client/client/test_initialize.py:54
Method
test_manual_initialize_can_call_tools
Test that manually initialized client can call tools.
tests/client/client/test_initialize.py:124
Method
test_manual_initialize_legacy
auto_initialize=False + a manual initialize() still works in legacy mode.
tests/client/client/test_mode_negotiation.py:300
Method
test_manual_pagination
Client can manually paginate using cursor.
tests/server/test_pagination.py:304
Function
test_manual_route_accepts_location_suffix_for_declared_parameter
()
tests/server/providers/openapi/test_undeclared_arguments.py:300
Function
test_manual_route_uses_canonical_parameter_names
()
tests/server/providers/openapi/test_undeclared_arguments.py:265
Function
test_manual_route_with_allof_body_sends_declared_properties
()
tests/server/providers/openapi/test_undeclared_arguments.py:329
Method
test_manual_structured_content
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:102
Method
test_many_concurrent_sessions_isolated
Test that many concurrent sessions remain properly isolated.
tests/server/test_session_visibility.py:615
Method
test_many_options
(self)
tests/apps/test_choice.py:40
Function
test_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
Function
test_masked_http_error_hides_upstream_body
( status: int, expected: str )
tests/server/providers/openapi/test_http_errors.py:110
Function
test_masked_ordinary_error_stays_generic
()
tests/server/providers/openapi/test_transport_errors.py:77
Function
test_masked_resource_timeout_returns_actionable_message
()
tests/server/providers/openapi/test_transport_errors.py:58
Function
test_masked_tool_timeout_returns_actionable_message
()
tests/server/providers/openapi/test_transport_errors.py:45
Method
test_masks_the_password
(self, url: str, expected: str)
tests/cli/test_tasks.py:101
Method
test_match_accepts_the_encoded_form
An AnyUrl percent-encodes the URI, so that is the form matching sees.
tests/resources/test_resource_template.py:1754
Method
test_match_all_matches_everything
match_all=True matches all components.
tests/server/transforms/test_visibility.py:18
Method
test_match_by_component_type
Only matches specified component types.
tests/server/transforms/test_visibility.py:72
Method
test_match_by_name
Matches component by name.
tests/server/transforms/test_visibility.py:23
Method
test_match_by_tag
Matches if component has any of the specified tags.
tests/server/transforms/test_visibility.py:66
Method
test_match_by_version
Matches component by version.
tests/server/transforms/test_visibility.py:29
Method
test_match_by_version_spec_exact
VersionSpec(eq="v1") matches v1 only.
tests/server/transforms/test_visibility.py:35
Method
test_match_by_version_spec_gte
VersionSpec(gte="v2") matches v2, v3, but not v1.
tests/server/transforms/test_visibility.py:42
Method
test_match_by_version_spec_range
VersionSpec(gte="v1", lt="v3") matches v1, v2, but not v3.
tests/server/transforms/test_visibility.py:49
Method
test_match_consecutive_params
Test that consecutive parameters without a / are not matched.
tests/resources/test_resource_template.py:607
Method
test_match_splits_on_literal_commas
(self, uri: str, expected: list[str])
tests/resources/test_resource_template.py:1835
Method
test_match_then_expand_recovers_params
Expanding params and matching them back reproduces the original values.
tests/resources/test_resource_template.py:1576
Method
test_match_uri_template_embedded_param
Test matching URIs where parameter is embedded within a word segment.
tests/resources/test_resource_template.py:644
Method
test_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:664
Method
test_match_uri_template_multiple_wildcard_params
Test that match_uri_template uses the slash delimiter.
tests/resources/test_resource_template.py:592
Method
test_match_uri_template_normalizes_hyphens
Hyphenated params match and return underscored keys.
tests/resources/test_resource_template.py:1007
Method
test_match_uri_template_params_and_literal_segments
Test matching URIs against a template with parameters and literal segments.
tests/resources/test_resource_template.py:530
Method
test_match_uri_template_quoted_params
(self)
tests/resources/test_resource_template.py:556
Method
test_match_uri_template_returns_none_for_malformed_templates
( self, template: str )
tests/resources/test_resource_template.py:995
Method
test_match_uri_template_sanitizes_leading_digit_names
`{1leading}` used to disable the whole template; it now matches under the sanitized group name (#6150).
tests/resources/test_resource_template.py:1000
Method
test_match_uri_template_simple_params
Test matching URIs against a template with simple parameters.
tests/resources/test_resource_template.py:512
Method
test_match_uri_template_single_param
Test that match_uri_template uses the slash delimiter.
tests/resources/test_resource_template.py:480
Method
test_match_uri_template_wildcard_and_literal_param
Test that match_uri_template uses the slash delimiter.
tests/resources/test_resource_template.py:600
Method
test_match_uri_template_wildcard_param
Test that match_uri_template uses the slash delimiter.
tests/resources/test_resource_template.py:575
Method
test_match_uri_template_with_non_slash_suffix
( self, uri: str, expected_params: dict[str, str] )
tests/resources/test_resource_template.py:624
Method
test_match_uri_template_with_prefix
Test matching URIs against a template with a prefix.
tests/resources/test_resource_template.py:548
Method
test_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:1841
Method
test_matches_actual_decode
(self, size: int)
tests/apps/test_file_upload.py:16
Method
test_matches_non_identifier_names
(self, uri_template, uri, expected)
tests/resources/test_resource_template.py:1989
Function
test_matching_audience_still_requires_scopes
(httpx_mock: HTTPXMock)
tests/server/auth/providers/test_introspection_audience.py:88
Function
test_matching_issuer_continues_to_its_metadata
()
tests/client/auth/test_oauth_static_client_issuer.py:54
Method
test_matching_options_reuse_the_cached_session
(self, monkeypatch)
tests/client/client/test_session.py:384
Method
test_matching_resource_accepted
( self, idp_key: RSAKeyPair, config: IdentityAssertion, )
tests/server/auth/oauth_proxy/test_identity_assertion.py:749
Method
test_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:958
Function
test_matching_timeouts_reuse_active_and_idle_connections
()
tests/client/test_stdio_session_kwargs.py:100
Function
test_matching_tools_share_one_listed_resource
()
tests/server/providers/test_prefab_sharing.py:15
Function
test_max_clamp_drops_record_the_logger_is_not_enabled_for
A record lowered to DEBUG is dropped when the logger is only enabled for INFO.
tests/utilities/test_logging.py:137
Function
test_max_clamp_lowers_record_the_logger_is_enabled_for
( caplog: pytest.LogCaptureFixture, clamped_logger: logging.Logger, level: int )
tests/utilities/test_logging.py:154
Method
test_max_events_per_stream_must_be_positive
(self, max_events_per_stream)
tests/server/test_event_store.py:51
Method
test_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:136
Method
test_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
← previous
next →
11,101–11,200 of 15,974, ranked by callers