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_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
Function
test_path_keeps_leading_segment_with_colon
( base_url: str, template: str, params: dict[str, str], path: str )
tests/utilities/openapi/test_path_values.py:117
Function
test_path_missing_parameter_raises
()
tests/server/providers/openapi/test_header_path_serialization.py:240
Function
test_path_nested_array_flattens_one_level
()
tests/server/providers/openapi/test_header_path_serialization.py:247
Function
test_path_object_pairs_encode_separately_on_the_wire
()
tests/server/providers/openapi/test_header_path_serialization.py:192
Function
test_path_object_serialization
(explode: bool | None, expected: str)
tests/server/providers/openapi/test_header_path_serialization.py:158
Method
test_path_parameters_in_tools
Test that path parameters are properly included in tool parameters.
tests/server/providers/openapi/test_openapi_features.py:203
Function
test_path_scalar_serialization
(value: Any, expected: str)
tests/server/providers/openapi/test_header_path_serialization.py:135
Function
test_path_serialized_items_reject_dot_segments
(value: Any)
tests/server/providers/openapi/test_header_path_serialization.py:233
Method
test_path_style_params_are_not_query_params
{;param} expands inside the path, so it is not a query param.
tests/resources/test_resource_template_level3.py:34
Function
test_path_template_accepts_falsy_values
(value: str | int, segment: str)
tests/utilities/openapi/test_path_values.py:181
Function
test_path_template_requires_every_parameter_value
()
tests/utilities/openapi/test_path_values.py:166
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:1002
Method
test_path_traversal_encoded
(self, director, path_route, malicious_id: str)
tests/utilities/openapi/test_director.py:1187
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
Function
test_path_value_is_checked_before_backend_request
(tmp_path: Path)
tests/utilities/openapi/test_path_values.py:49
Function
test_path_value_preserves_ordinary_data
(value: str | int)
tests/utilities/openapi/test_path_values.py:41
Function
test_path_value_rejects_dot_segments
(value: str)
tests/utilities/openapi/test_path_values.py:31
Function
test_path_value_rejects_excessive_encoding_layers
()
tests/utilities/openapi/test_path_values.py:90
Method
test_path_wildcard
Test wildcard matching for paths.
tests/server/auth/test_redirect_validation.py:323
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:728
Method
test_pattern_matching_cancel
Test pattern matching with CancelledElicitation.
tests/client/test_elicitation.py:782
Method
test_pattern_matching_decline
Test pattern matching with DeclinedElicitation.
tests/client/test_elicitation.py:755
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_call_timeout_overrides_client_timeout
(task_server: FastMCP)
tests/tasks/client/test_transparent_tasks.py:66
Method
test_per_client_limiter_state_expires_after_idle_horizon
( self, mock_call_next, monkeypatch, use_sliding_window )
tests/server/middleware/test_rate_limiting.py:366
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:442
Method
test_percent_encoded_single_dot_rejected
(self)
tests/server/auth/test_redirect_validation.py:534
Method
test_percent_encoded_traversal_rejected
(self)
tests/server/auth/test_redirect_validation.py:514
Method
test_percent_encoding_is_decoded_before_splitting
(self)
tests/utilities/test_json_schema.py:943
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
Function
test_persistent_cache_round_trips_skills_results
( method: str, params_key: str, result: ListSkillsResult | GetSkillResult, )
tests/skills/test_client_cache.py:51
Method
test_picker_error_shows_message_as_text
(self, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_apps_dev_server.py:568
Method
test_picker_page_opens_only_web_links
(self)
tests/cli/test_apps_dev_server.py:614
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:153
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:166
Method
test_ping_loop_sends_pings_at_interval
Test that ping loop sends pings at configured interval.
tests/server/middleware/test_ping.py:149
Method
test_ping_loop_stops_without_back_channel
Test that a connection with no back-channel ends the loop quietly.
tests/server/middleware/test_ping.py:183
Method
test_ping_middleware_registers_session
Test that PingMiddleware registers sessions on first request.
tests/server/middleware/test_ping.py:202
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:232
Function
test_ping_with_streamable_http_alias
Test pinging the server.
tests/client/test_streamable_http.py:161
Function
test_pinned_call_does_not_exempt_a_nested_client_call
The marker is scoped to the session that made the pinned call. With the in-memory transport the server handler runs in the caller's context,
tests/client/test_versioned_call_tool_validation.py:166
Function
test_pinned_call_hydrates_when_versions_differ_in_shape
The highest version's schema does not accept this version's content.
tests/client/test_versioned_call_tool_validation.py:62
Function
test_pinned_call_returns_its_own_version_result
A pinned call is not validated against the highest version's schema.
tests/client/test_versioned_call_tool_validation.py:52
Function
test_pinned_call_to_the_listed_version_still_hydrates
Pinning the version the cached schema describes keeps type coercion.
tests/client/test_versioned_call_tool_validation.py:89
Function
test_pinned_call_to_the_listed_version_still_validates
Pinning the listed version keeps the SDK's result revalidation.
tests/client/test_versioned_call_tool_validation.py:111
Function
test_pinned_call_with_matching_schemas_is_unchanged
( versioned_server: FastMCP, )
tests/client/test_versioned_call_tool_validation.py:72
Function
test_pinned_client_uses_prior_discover_metadata
()
tests/server/providers/proxy/test_server_metadata.py:281
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:773
Method
test_pipe_in_description_escaped
(self)
tests/cli/test_generate_cli.py:923
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:60
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:68
Method
test_pkce_forwarding_disabled
Test that PKCE is not forwarded when disabled.
tests/server/auth/oauth_proxy/test_authorization.py:192
Method
test_pkce_forwarding_enabled
Test that proxy generates and forwards its own PKCE.
tests/server/auth/oauth_proxy/test_authorization.py:156
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:30
Method
test_plain_client_target_forwards
(self, backend)
tests/server/providers/proxy/test_proxy_server.py:1481
Method
test_plain_name
(self)
tests/cli/test_generate_cli.py:94
Method
test_plain_name
(self)
tests/utilities/test_json_schema.py:934
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:1538
Function
test_plain_reannotation_keeps_parent_literal_values
()
tests/tools/tool_transform/test_schema_compatibility.py:376
Method
test_plain_server_has_no_synthesized_resources
(self)
tests/server/providers/test_prefab_synthesis.py:299
Method
test_plain_sync
(self)
tests/utilities/test_async_utils.py:33
Function
test_plain_text_body_reaches_http_endpoint
()
tests/server/providers/openapi/test_raw_request_bodies.py:9
Function
test_plain_text_error_body_is_bounded_with_truncation_marker
()
tests/server/providers/openapi/test_http_error_details_regression.py:79
Function
test_plain_token_identity_retains_legacy_representation
()
tests/server/auth/test_auth_source_identities.py:169
Method
test_plain_tool_has_no_ui_meta
(self)
tests/server/providers/test_prefab_synthesis.py:288
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:284
Function
test_pointer_through_alias_definition_is_inlined
()
tests/utilities/test_json_schema_expansion.py:152
← previous
next →
12,301–12,400 of 15,974, ranked by callers