Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Method
test_passed_to_parent_on_bind
(self)
tests/client/auth/test_oauth_cimd.py:29
Method
test_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
Method
test_passthrough_for_dict
(self)
tests/test_apps.py:204
Method
test_passthrough_resource_result
ResourceResult input is returned unchanged.
tests/resources/test_resources.py:279
Method
test_past_nbf_accepted
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:547
Method
test_path
(self)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:86
Method
test_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
Method
test_path_does_not_warn
(self, tmp_path)
tests/client/client/test_transport.py:175
Method
test_path_parameters_in_tools
Test that path parameters are properly included in tool parameters.
tests/server/providers/openapi/test_openapi_features.py:202
Method
test_path_to_node_script_infers_stdio
(self, tmp_path)
tests/client/client/test_transport.py:151
Method
test_path_to_python_script_infers_stdio
(self, tmp_path)
tests/client/client/test_transport.py:146
Method
test_path_traversal_blocked
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:888
Method
test_path_traversal_encoded
(self, director, path_route, malicious_id: str)
tests/utilities/openapi/test_director.py:1156
Method
test_path_type
(self)
tests/server/providers/local_provider_tools/test_parameters.py:274
Method
test_path_type_error
(self)
tests/server/providers/local_provider_tools/test_parameters.py:287
Method
test_path_wildcard
Test wildcard matching for paths.
tests/server/auth/test_redirect_validation.py:263
Method
test_path_with_unsupported_suffix_is_rejected
(self, tmp_path)
tests/client/client/test_transport.py:186
Method
test_pattern_accepts_valid
(self, pattern_string)
tests/utilities/json_schema_type/test_constraints.py:55
Method
test_pattern_matching_accept
Test pattern matching with AcceptedElicitation.
tests/client/test_elicitation.py:701
Method
test_pattern_matching_cancel
Test pattern matching with CancelledElicitation.
tests/client/test_elicitation.py:755
Method
test_pattern_matching_decline
Test pattern matching with DeclinedElicitation.
tests/client/test_elicitation.py:728
Method
test_pattern_rejects_invalid
(self, pattern_string)
tests/utilities/json_schema_type/test_constraints.py:59
Method
test_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
Method
test_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
Method
test_pep440_equivalent_spellings_match
PEP 440 treats 1, 1.0, 1.0.0 as the same version.
tests/server/versioning/test_versioning.py:109
Method
test_pep440_sorts_before_strings
PEP 440 versions sort before invalid string versions.
tests/server/versioning/test_versioning.py:57
Method
test_pep440_versions_compared_semantically
Valid PEP 440 versions should compare semantically.
tests/server/versioning/test_versioning.py:38
Function
test_per_instance_invalid_identifier_rejected_at_registration
()
tests/server/test_extensions.py:520
Method
test_per_issuer_algorithms_validated
(self)
tests/server/auth/oauth_proxy/test_identity_assertion.py:205
Function
test_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
Function
test_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
Method
test_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
Method
test_percent_encoded_single_dot_rejected
(self)
tests/server/auth/test_redirect_validation.py:474
Method
test_percent_encoded_traversal_rejected
(self)
tests/server/auth/test_redirect_validation.py:454
Method
test_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
Method
test_permission_error
Test reading a file without permissions.
tests/resources/test_file_resources.py:109
Method
test_picker_error_shows_message_as_text
(self, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_apps_dev_server.py:505
Method
test_picker_page_opens_only_web_links
(self)
tests/cli/test_apps_dev_server.py:551
Function
test_ping
Test pinging the server.
tests/client/test_sse.py:72
Function
test_ping
Test pinging the server.
tests/client/test_streamable_http.py:150
Function
test_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
Method
test_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
Method
test_ping_loop_cleans_up_on_cancellation
Test that session is removed from active sessions on cancellation.
tests/server/middleware/test_ping.py:163
Method
test_ping_loop_sends_pings_at_interval
Test that ping loop sends pings at configured interval.
tests/server/middleware/test_ping.py:146
Method
test_ping_middleware_registers_session
Test that PingMiddleware registers sessions on first request.
tests/server/middleware/test_ping.py:184
Method
test_ping_returns_bool
(self, server)
tests/test_compat.py:252
Method
test_ping_task_cancelled_on_disconnect
Test that ping task is properly cancelled when client disconnects.
tests/server/middleware/test_ping.py:214
Function
test_ping_with_streamable_http_alias
Test pinging the server.
tests/client/test_streamable_http.py:158
Function
test_pinned_client_uses_prior_discover_metadata
()
tests/server/providers/proxy/test_server_metadata.py:278
Function
test_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
Method
test_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
Method
test_pinned_modern_call_tool
(self, fastmcp_server)
tests/client/client/test_mode_negotiation.py:267
Method
test_pipe_delimited_explode_false
style=pipeDelimited, explode=false sends ids=1|2|3.
tests/utilities/openapi/test_director.py:742
Method
test_pipe_in_description_escaped
(self)
tests/cli/test_generate_cli.py:864
Method
test_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
Method
test_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
Method
test_pkce_forwarding_disabled
Test that PKCE is not forwarded when disabled.
tests/server/auth/oauth_proxy/test_authorization.py:189
Method
test_pkce_forwarding_enabled
Test that proxy generates and forwards its own PKCE.
tests/server/auth/oauth_proxy/test_authorization.py:153
Method
test_pkce_validation_with_mock_provider
Test PKCE validation with mock provider.
tests/server/auth/oauth_proxy/test_e2e.py:194
Method
test_placeholder_warning_on_stderr
When outputting to stdout with no --client-id, warning goes to stderr.
tests/cli/test_cimd_cli.py:116
Function
test_plain_app_handles_are_excluded_from_all_counts
( monkeypatch: pytest.MonkeyPatch, login: str )
tests/scripts/test_release_contributor_credit.py:283
Method
test_plain_async
(self)
tests/utilities/test_async_utils.py:29
Method
test_plain_client_target_forwards
(self, backend)
tests/server/providers/proxy/test_proxy_server.py:1410
Method
test_plain_name
(self)
tests/cli/test_generate_cli.py:92
Method
test_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
Method
test_plain_server_has_no_synthesized_resources
(self)
tests/server/providers/test_prefab_synthesis.py:190
Method
test_plain_sync
(self)
tests/utilities/test_async_utils.py:32
Function
test_plain_text_body_reaches_http_endpoint
()
tests/server/providers/openapi/test_raw_request_bodies.py:9
Method
test_plain_tool_has_no_ui_meta
(self)
tests/server/providers/test_prefab_synthesis.py:179
Function
test_plain_value_binding
A binding that is not a Dependency passes through to the factory as-is.
tests/server/test_call_arguments.py:65
Method
test_plaintext_codec_is_a_pass_through
(self)
tests/tasks/server/test_snapshot_encryption.py:126
Method
test_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
Method
test_plaintext_codec_without_a_key
(self, no_encryption_key: None)
tests/tasks/server/test_snapshot_encryption.py:121
Method
test_plaintext_round_trips_to_tool
A valid echo delivers the original plaintext back to the tool.
tests/server/test_mrtr_guards.py:774
Function
test_playback_routes_verified_item_through_mcp
()
examples/apps/media_picker/test_media_picker.py:128
Function
test_pointer_segments_resolve_like_jsonref
(key: str, pointer: str)
tests/utilities/test_json_schema_expansion.py:248
Function
test_pointer_through_alias_definition_is_inlined
()
tests/utilities/test_json_schema_expansion.py:116
Function
test_pointer_through_chain_of_aliases_is_inlined
()
tests/utilities/test_json_schema_expansion.py:122
Function
test_pointer_through_cyclic_aliases_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:130
Function
test_pointer_through_unresolvable_alias_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:137
Function
test_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
Function
test_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
Function
test_polling_handles_pending_slow_down_and_approval
()
tests/cli/deploy/test_authentication.py:50
Function
test_polling_handles_terminal_errors
( error: str, exception: type[Exception], )
tests/cli/deploy/test_authentication.py:82
Function
test_polling_stops_at_the_local_expiry_deadline
()
tests/cli/deploy/test_authentication.py:99
Method
test_populate_by_name
(self)
tests/test_apps.py:66
Method
test_populate_by_name
(self)
tests/test_apps.py:103
Method
test_populate_by_name
(self)
tests/test_apps.py:146
Method
test_port_wildcard
Test wildcard matching for ports.
tests/server/auth/test_redirect_validation.py:256
Function
test_positive_poll_interval_setting_is_accepted
()
tests/tasks/client/test_poll_interval.py:24
Method
test_post_migration_issuer_accepted
The resource-scoped issuer (post-migration) validates.
tests/server/auth/providers/test_scalekit.py:166
Method
test_post_with_body_params
POST with body parameters should build the request correctly.
tests/server/providers/openapi/test_comprehensive.py:867
Method
test_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
Method
test_postponed_annotations_accept_explode
The explode form registers and collects one or many values.
tests/resources/test_resource_template.py:1072
Method
test_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
Method
test_pre_migration_issuer_accepted
The bare environment URL issuer (pre-migration) validates.
tests/server/auth/providers/test_scalekit.py:156
Method
test_prefab_app
(self)
tests/test_apps_prefab.py:30
Method
test_prefab_app_annotation_inferred
(self)
tests/test_apps_prefab.py:202
Method
test_prefab_app_return_no_output_schema
(self)
tests/test_apps_prefab.py:319
Method
test_prefers_json_when_multiple_types
When both JSON and other types exist, JSON is preferred.
tests/server/providers/openapi/test_openapi_features.py:496
← previous
next →
10,301–10,400 of 13,374, ranked by callers