MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_passed_to_parent_on_bind
(self)
tests/client/auth/test_oauth_cimd.py:29
Methodtest_passing_role_still_allows_scope_challenge
Mixing the two checks does not disable step-up on its own.
tests/server/auth/test_authorization.py:213
Methodtest_passthrough_for_dict
(self)
tests/test_apps.py:204
Methodtest_passthrough_resource_result
ResourceResult input is returned unchanged.
tests/resources/test_resources.py:279
Methodtest_past_nbf_accepted
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:547
Methodtest_path
(self)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:86
Methodtest_path_body_collision_handling
Test that path and body parameters with same name are handled correctly.
tests/server/providers/openapi/test_parameter_collisions.py:134
Methodtest_path_does_not_warn
(self, tmp_path)
tests/client/client/test_transport.py:175
Methodtest_path_parameters_in_tools
Test that path parameters are properly included in tool parameters.
tests/server/providers/openapi/test_openapi_features.py:202
Methodtest_path_to_node_script_infers_stdio
(self, tmp_path)
tests/client/client/test_transport.py:151
Methodtest_path_to_python_script_infers_stdio
(self, tmp_path)
tests/client/client/test_transport.py:146
Methodtest_path_traversal_blocked
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:888
Methodtest_path_traversal_encoded
(self, director, path_route, malicious_id: str)
tests/utilities/openapi/test_director.py:1156
Methodtest_path_type
(self)
tests/server/providers/local_provider_tools/test_parameters.py:274
Methodtest_path_type_error
(self)
tests/server/providers/local_provider_tools/test_parameters.py:287
Methodtest_path_wildcard
Test wildcard matching for paths.
tests/server/auth/test_redirect_validation.py:263
Methodtest_path_with_unsupported_suffix_is_rejected
(self, tmp_path)
tests/client/client/test_transport.py:186
Methodtest_pattern_accepts_valid
(self, pattern_string)
tests/utilities/json_schema_type/test_constraints.py:55
Methodtest_pattern_matching_accept
Test pattern matching with AcceptedElicitation.
tests/client/test_elicitation.py:701
Methodtest_pattern_matching_cancel
Test pattern matching with CancelledElicitation.
tests/client/test_elicitation.py:755
Methodtest_pattern_matching_decline
Test pattern matching with DeclinedElicitation.
tests/client/test_elicitation.py:728
Methodtest_pattern_rejects_invalid
(self, pattern_string)
tests/utilities/json_schema_type/test_constraints.py:59
Methodtest_payload_carries_the_servers_own_tool_name
The renderer is handed a name that exists in this server's tools/list, not the identity-addressed form.
tests/server/providers/test_prefab_roundtrip.py:48
Methodtest_payload_records_the_identity_behind_each_reference
The identity-addressed form survives alongside the rewritten name, so an outer server can re-resolve it — or fall back to it.
tests/server/providers/test_prefab_roundtrip.py:70
Methodtest_pep440_equivalent_spellings_match
PEP 440 treats 1, 1.0, 1.0.0 as the same version.
tests/server/versioning/test_versioning.py:109
Methodtest_pep440_sorts_before_strings
PEP 440 versions sort before invalid string versions.
tests/server/versioning/test_versioning.py:57
Methodtest_pep440_versions_compared_semantically
Valid PEP 440 versions should compare semantically.
tests/server/versioning/test_versioning.py:38
Functiontest_per_instance_invalid_identifier_rejected_at_registration
()
tests/server/test_extensions.py:520
Methodtest_per_issuer_algorithms_validated
(self)
tests/server/auth/oauth_proxy/test_identity_assertion.py:205
Functiontest_per_tool_false_overrides_server_true
A per-tool task=False overrides the server default of tasks=True.
tests/tasks/server/test_server_tasks_parameter.py:92
Functiontest_per_tool_true_overrides_server_false
A per-tool task=True overrides the server default of tasks=False.
tests/tasks/server/test_server_tasks_parameter.py:69
Methodtest_percent_encoded_name_does_not_collide_with_space
A filename that already contains a literal '%20' must not be confused with a space-containing filename once both are percent-encoded into
tests/server/providers/test_skills_provider.py:436
Methodtest_percent_encoded_single_dot_rejected
(self)
tests/server/auth/test_redirect_validation.py:474
Methodtest_percent_encoded_traversal_rejected
(self)
tests/server/auth/test_redirect_validation.py:454
Methodtest_performance_optimization_no_copy_when_unchanged
Test that schemas without nullable fields return the same object (no copy).
tests/utilities/openapi/test_nullable_fields.py:145
Methodtest_permission_error
Test reading a file without permissions.
tests/resources/test_file_resources.py:109
Methodtest_picker_error_shows_message_as_text
(self, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_apps_dev_server.py:505
Methodtest_picker_page_opens_only_web_links
(self)
tests/cli/test_apps_dev_server.py:551
Functiontest_ping
Test pinging the server.
tests/client/test_sse.py:72
Functiontest_ping
Test pinging the server.
tests/client/test_streamable_http.py:150
Functiontest_ping
Test that we can ping the server. Pinned to legacy: `ping` is a handshake-era request removed from the modern (2026-07-28) protocol.
tests/client/auth/test_oauth_client.py:106
Methodtest_ping
Test pinging the server. `ping` is defined only in the handshake era — the modern protocol version does not carry the method at all —
tests/integration_tests/test_github_mcp_remote.py:68
Methodtest_ping_loop_cleans_up_on_cancellation
Test that session is removed from active sessions on cancellation.
tests/server/middleware/test_ping.py:163
Methodtest_ping_loop_sends_pings_at_interval
Test that ping loop sends pings at configured interval.
tests/server/middleware/test_ping.py:146
Methodtest_ping_middleware_registers_session
Test that PingMiddleware registers sessions on first request.
tests/server/middleware/test_ping.py:184
Methodtest_ping_returns_bool
(self, server)
tests/test_compat.py:252
Methodtest_ping_task_cancelled_on_disconnect
Test that ping task is properly cancelled when client disconnects.
tests/server/middleware/test_ping.py:214
Functiontest_ping_with_streamable_http_alias
Test pinging the server.
tests/client/test_streamable_http.py:158
Functiontest_pinned_client_uses_prior_discover_metadata
()
tests/server/providers/proxy/test_server_metadata.py:278
Functiontest_pinned_modern_adopts_without_probe
Pinning `mode='2026-07-28'` adopts the version directly. With no `prior_discover`, the SDK synthesizes a minimal DiscoverResult that carries n
tests/server/test_protocol_eras.py:191
Methodtest_pinned_modern_adopts_without_probe
Pinning the modern version adopts it directly; a synthesized DiscoverResult carries no identity, so server_info is absent.
tests/client/client/test_mode_negotiation.py:258
Methodtest_pinned_modern_call_tool
(self, fastmcp_server)
tests/client/client/test_mode_negotiation.py:267
Methodtest_pipe_delimited_explode_false
style=pipeDelimited, explode=false sends ids=1|2|3.
tests/utilities/openapi/test_director.py:742
Methodtest_pipe_in_description_escaped
(self)
tests/cli/test_generate_cli.py:864
Methodtest_pipe_union_with_member_is_member
Test that pipe syntax union with a member class is detected as a member.
tests/utilities/test_types.py:59
Methodtest_pipe_union_without_member_is_not_member
Test that pipe syntax union without any member class is not a member.
tests/utilities/test_types.py:67
Methodtest_pkce_forwarding_disabled
Test that PKCE is not forwarded when disabled.
tests/server/auth/oauth_proxy/test_authorization.py:189
Methodtest_pkce_forwarding_enabled
Test that proxy generates and forwards its own PKCE.
tests/server/auth/oauth_proxy/test_authorization.py:153
Methodtest_pkce_validation_with_mock_provider
Test PKCE validation with mock provider.
tests/server/auth/oauth_proxy/test_e2e.py:194
Methodtest_placeholder_warning_on_stderr
When outputting to stdout with no --client-id, warning goes to stderr.
tests/cli/test_cimd_cli.py:116
Functiontest_plain_app_handles_are_excluded_from_all_counts
( monkeypatch: pytest.MonkeyPatch, login: str )
tests/scripts/test_release_contributor_credit.py:283
Methodtest_plain_async
(self)
tests/utilities/test_async_utils.py:29
Methodtest_plain_client_target_forwards
(self, backend)
tests/server/providers/proxy/test_proxy_server.py:1410
Methodtest_plain_name
(self)
tests/cli/test_generate_cli.py:92
Methodtest_plain_query_param_does_not_repeat_a_sequence_value
The template decides repeatability, not the runtime value's type. A list handed to a plain `{?tags}` must stay one value: expanding it as
tests/resources/test_resource_template.py:1302
Methodtest_plain_server_has_no_synthesized_resources
(self)
tests/server/providers/test_prefab_synthesis.py:190
Methodtest_plain_sync
(self)
tests/utilities/test_async_utils.py:32
Functiontest_plain_text_body_reaches_http_endpoint
()
tests/server/providers/openapi/test_raw_request_bodies.py:9
Methodtest_plain_tool_has_no_ui_meta
(self)
tests/server/providers/test_prefab_synthesis.py:179
Functiontest_plain_value_binding
A binding that is not a Dependency passes through to the factory as-is.
tests/server/test_call_arguments.py:65
Methodtest_plaintext_codec_is_a_pass_through
(self)
tests/tasks/server/test_snapshot_encryption.py:126
Methodtest_plaintext_codec_refuses_an_encrypted_payload
A keyless process must not pass ciphertext through as plaintext. Passing it through would end in a swallowed parse error and an anony
tests/tasks/server/test_snapshot_encryption.py:132
Methodtest_plaintext_codec_without_a_key
(self, no_encryption_key: None)
tests/tasks/server/test_snapshot_encryption.py:121
Methodtest_plaintext_round_trips_to_tool
A valid echo delivers the original plaintext back to the tool.
tests/server/test_mrtr_guards.py:774
Functiontest_playback_routes_verified_item_through_mcp
()
examples/apps/media_picker/test_media_picker.py:128
Functiontest_pointer_segments_resolve_like_jsonref
(key: str, pointer: str)
tests/utilities/test_json_schema_expansion.py:248
Functiontest_pointer_through_alias_definition_is_inlined
()
tests/utilities/test_json_schema_expansion.py:116
Functiontest_pointer_through_chain_of_aliases_is_inlined
()
tests/utilities/test_json_schema_expansion.py:122
Functiontest_pointer_through_cyclic_aliases_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:130
Functiontest_pointer_through_unresolvable_alias_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:137
Functiontest_poll_refreshes_routing_key_ttl
A poll extends the current-leg pointer's TTL (sliding expiration). A leg that runs longer than the pointer's wall-clock TTL would otherwise s
tests/tasks/server/test_task_ttl.py:74
Functiontest_poll_refreshes_snapshot_ttl
A poll extends the context snapshot's TTL alongside the routing keys. A re-entered leg restores the submitting caller from the snapshot, so an
tests/tasks/server/test_task_ttl.py:101
Functiontest_polling_handles_pending_slow_down_and_approval
()
tests/cli/deploy/test_authentication.py:50
Functiontest_polling_handles_terminal_errors
( error: str, exception: type[Exception], )
tests/cli/deploy/test_authentication.py:82
Functiontest_polling_stops_at_the_local_expiry_deadline
()
tests/cli/deploy/test_authentication.py:99
Methodtest_populate_by_name
(self)
tests/test_apps.py:66
Methodtest_populate_by_name
(self)
tests/test_apps.py:103
Methodtest_populate_by_name
(self)
tests/test_apps.py:146
Methodtest_port_wildcard
Test wildcard matching for ports.
tests/server/auth/test_redirect_validation.py:256
Functiontest_positive_poll_interval_setting_is_accepted
()
tests/tasks/client/test_poll_interval.py:24
Methodtest_post_migration_issuer_accepted
The resource-scoped issuer (post-migration) validates.
tests/server/auth/providers/test_scalekit.py:166
Methodtest_post_with_body_params
POST with body parameters should build the request correctly.
tests/server/providers/openapi/test_comprehensive.py:867
Methodtest_post_with_path_params_and_body
POST with both path parameters and body should route args correctly.
tests/server/providers/openapi/test_comprehensive.py:898
Methodtest_postponed_annotations_accept_explode
The explode form registers and collects one or many values.
tests/resources/test_resource_template.py:1072
Methodtest_postponed_annotations_still_split_commas
Under `from __future__ import annotations` the raw signature gives the string `"list[str] | None"`, so hints must be resolved to see the list.
tests/resources/test_resource_template.py:1061
Methodtest_pre_migration_issuer_accepted
The bare environment URL issuer (pre-migration) validates.
tests/server/auth/providers/test_scalekit.py:156
Methodtest_prefab_app
(self)
tests/test_apps_prefab.py:30
Methodtest_prefab_app_annotation_inferred
(self)
tests/test_apps_prefab.py:202
Methodtest_prefab_app_return_no_output_schema
(self)
tests/test_apps_prefab.py:319
Methodtest_prefers_json_when_multiple_types
When both JSON and other types exist, JSON is preferred.
tests/server/providers/openapi/test_openapi_features.py:496
← previousnext →10,301–10,400 of 13,374, ranked by callers