Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
17,519 in github.com/PrefectHQ/fastmcp
⨍
Functions
17,519
◇
Types & classes
2,390
↳
Endpoints
196
Method
test_client_accepts_timedelta_or_float_timeout
(self, server, timeout)
tests/test_compat.py:246
Method
test_client_and_server_share_same_session_id
Client and server spans should have the same session ID.
tests/client/telemetry/test_client_tracing.py:675
Method
test_client_and_server_spans_created
Both client and server should create spans for the same operation.
tests/client/telemetry/test_client_tracing.py:242
Method
test_client_automatic_deserialization_with_dataclass_result
Test that clients automatically deserialize dataclass results from structured content.
tests/tools/tool/test_content.py:526
Method
test_client_automatic_deserialization_with_dict_result
Test that clients automatically deserialize dict results from structured content.
tests/tools/tool/test_content.py:503
Method
test_client_binds_provider_from_url
(self)
tests/client/auth/test_client_credentials.py:721
Method
test_client_cancelled_notification_reaches_on_message
A ``notifications/cancelled`` from the client is observed by ``on_message`` and ``on_notification`` — it never reaches a FastMCP handl
tests/server/middleware/test_message_visibility.py:90
Method
test_client_completes_tool_call_with_protection_enabled
( self, protected_server: ASGIServer, )
tests/server/http/test_sse_host_origin_protection.py:224
Function
test_client_connection
Test that connect is idempotent.
tests/client/client/test_client.py:354
Function
test_client_context_does_not_keep_entering_task_alive
A context entered in a task and released with close() leaves nothing behind.
tests/client/client/test_client.py:512
Function
test_client_context_entry_cancelled_starter_cleans_up
(fastmcp_server)
tests/client/client/test_client.py:565
Function
test_client_data_keeps_a_valid_prefix_with_a_typed_tail
()
tests/utilities/json_schema_type/test_prefix_items.py:157
Function
test_client_decodes_empty_structured_content
An empty object is a valid structured result, not a missing one (issue #5287).
tests/client/client/test_client.py:929
Function
test_client_decodes_unique_object_array
Object arrays with uniqueItems should populate CallToolResult.data.
tests/client/client/test_client.py:1014
Method
test_client_default_is_auto
(self)
tests/server/providers/proxy/test_proxy_client.py:50
Method
test_client_defaults_to_auto_mode
(self)
tests/test_upgrade_from_v3.py:345
Function
test_client_detection_middleware
Test middleware that detects specific clients and modifies behavior.
tests/server/middleware/test_initialization_middleware.py:162
Function
test_client_does_not_unwrap_dict_result
Client should not unwrap dict results that are not wrapped.
tests/client/client/test_client.py:913
Function
test_client_drops_an_event_type_with_an_invalid_annotation
()
tests/events/test_param_headers.py:194
Method
test_client_error_codes_are_not_errors
( self, meter_provider, reader, code )
tests/server/middleware/test_usage.py:332
Method
test_client_factory_creates_fresh_sessions
Test that the client factory pattern creates fresh sessions for each request.
tests/server/providers/proxy/test_proxy_client.py:758
Function
test_client_factory_errors_are_not_swallowed
( frontend_mode: str, async_factory: bool, error_kind: Literal["runtime", "mcp"], )
tests/server/providers/proxy/test_server_metadata.py:503
Function
test_client_group_read_skill_uses_the_named_server
()
tests/skills/test_read_skill.py:349
Function
test_client_headers_proxy
Test that client headers are passed through the proxy to the remove server.
tests/client/test_openapi.py:195
Function
test_client_headers_shttp_resource
(shttp_server: str)
tests/client/test_openapi.py:112
Function
test_client_headers_shttp_resource_template
(shttp_server: str)
tests/client/test_openapi.py:134
Function
test_client_headers_shttp_tool
(shttp_server: str)
tests/client/test_openapi.py:155
Function
test_client_headers_sse_resource
(sse_server: str)
tests/client/test_openapi.py:102
Function
test_client_headers_sse_resource_template
(sse_server: str)
tests/client/test_openapi.py:122
Function
test_client_headers_sse_tool
(sse_server: str)
tests/client/test_openapi.py:146
Function
test_client_http_headers_do_not_require_server
()
tests/client/test_slim_package_boundaries.py:39
Function
test_client_hydrates_data_for_tool_beyond_first_list_page
A tool's output schema is found even when it is not on the first page.
tests/client/client/test_client.py:974
Function
test_client_hydrates_date_prefix_with_date_tail
()
tests/utilities/json_schema_type/test_prefix_items.py:111
Function
test_client_hydrates_mutually_recursive_models
()
tests/utilities/json_schema_type/test_recursive_hydration.py:177
Function
test_client_hydrates_percent_encoded_reference
(dereference_schemas: bool)
tests/client/test_reference_hydration.py:11
Function
test_client_hydrates_reference_with_empty_extra_schema
()
tests/client/test_reference_hydration.py:35
Method
test_client_id_defaults_to_unknown
Test that client_id defaults to 'unknown' if neither client_id nor sub present.
tests/server/auth/providers/test_introspection.py:378
Method
test_client_id_fallback
Test client_id extraction with fallback logic.
tests/server/auth/test_jwt_provider_bearer.py:437
Method
test_client_id_fallback_to_sub
Test that client_id falls back to sub if not present.
tests/server/auth/providers/test_introspection.py:358
Method
test_client_id_falls_back_to_sub
When introspection has no aud/client_id, client_id falls back to sub.
tests/server/auth/providers/test_clerk.py:462
Method
test_client_info_does_not_add_series
(self, meter_provider, reader, mode)
tests/server/middleware/test_usage.py:155
Function
test_client_list_dict_return_type
list[dict] return type should produce list of dicts, not Root() objects (issue #3867).
tests/client/client/test_client.py:996
Function
test_client_membership_is_immutable
()
tests/client/group/test_client_group.py:282
Function
test_client_nested_context_manager
Test that the client connects and disconnects once in nested context manager.
tests/client/client/test_client.py:482
Function
test_client_new_preserves_internal_task_extension
Client.new() rebuilds the clone with the auto-registered tasks claim. The tasks client extension (from fastmcp-tasks, imported above) is folded i
tests/client/client/test_client.py:1048
Function
test_client_normalizes_file_uri_without_authority
( mode: str, reader: str, template: bool, as_anyurl: bool, uri: str )
tests/server/mount/test_resources.py:470
Method
test_client_not_closed_after_call
User-provided client must not be closed by the verifier.
tests/server/auth/providers/test_http_client.py:68
Method
test_client_not_registered_for_jwt_bearer_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion, )
tests/server/auth/oauth_proxy/test_identity_assertion.py:957
Method
test_client_only_sees_authorized_tools
(self)
tests/server/auth/test_authorization.py:730
Method
test_client_passes_verify_cert_path_to_transport
(self)
tests/client/transports/test_transports.py:139
Method
test_client_passes_verify_ssl_context_to_transport
(self)
tests/client/transports/test_transports.py:133
Method
test_client_passes_verify_to_sse_transport
(self)
tests/client/transports/test_transports.py:162
Method
test_client_passes_verify_to_streamable_http_transport
(self)
tests/client/transports/test_transports.py:128
Method
test_client_persists_across_proxy_instances
Test that clients persist when proxy is recreated.
tests/server/auth/test_oauth_proxy_storage.py:87
Function
test_client_preserves_resource_uri_normalization
( mode: str, proxy: bool )
tests/server/mount/test_resources.py:433
Method
test_client_progress_notification_reaches_on_message
A generic client notification is observed by ``on_message``.
tests/server/middleware/test_message_visibility.py:113
Function
test_client_reads_advertised_file_resource
( namespace: str | None, mode: str, reader: str, proxy: bool, )
tests/server/mount/test_resources.py:252
Function
test_client_reads_advertised_file_template
( namespace: str | None, mode: str, reader: str, proxy: bool, )
tests/server/mount/test_resources.py:296
Function
test_client_reads_http_resource_without_trailing_slash
( mode: str, reader: str, )
tests/server/mount/test_resources.py:338
Function
test_client_reads_nested_namespaced_file_template
( mode: str, proxy: bool )
tests/server/mount/test_resources.py:406
Function
test_client_redirect_carries_each_parameter_once
(base, segments, params, iss)
tests/pbt/test_auth_url_guards.py:463
Method
test_client_registration
Test client registration.
tests/server/test_auth_integration.py:627
Method
test_client_registration_default_scopes
( self, test_client: httpx2.AsyncClient, mock_oauth_provider: MockOAuthProvider )
tests/server/test_auth_integration.py:924
Method
test_client_registration_disallowed_scopes
Test client registration with scopes that are not allowed.
tests/server/test_auth_integration.py:903
Method
test_client_registration_empty_redirect_uris
Test client registration with empty redirect_uris array.
tests/server/test_auth_integration.py:696
Method
test_client_registration_invalid_grant_type
( self, test_client: httpx2.AsyncClient )
tests/server/test_auth_integration.py:952
Method
test_client_registration_invalid_uri
Test client registration with invalid URIs.
tests/server/test_auth_integration.py:674
Method
test_client_registration_missing_required_fields
Test client registration with missing required fields.
tests/server/test_auth_integration.py:654
Method
test_client_rejects_auth_for_transports_without_auth_support
(self)
tests/client/transports/test_transports.py:36
Function
test_client_rejects_server_without_extension
()
tests/events/test_extension.py:616
Function
test_client_rejects_server_without_extension
()
tests/skills/test_extension.py:351
Function
test_client_requires_connection
()
tests/skills/test_extension.py:344
Function
test_client_requires_explicit_opt_in
()
tests/events/test_extension.py:610
Function
test_client_requires_explicit_opt_in
()
tests/skills/test_extension.py:336
Method
test_client_resolves_mcp_config
(self, tmp_path: Path)
tests/cli/test_config_encoding.py:65
Function
test_client_root_reference_context
(model: bool)
tests/utilities/json_schema_type/test_caching.py:145
Method
test_client_round_trip
( self, transport: Literal["http", "streamable-http", "sse"] )
tests/utilities/test_asgi_transport.py:182
Method
test_client_secret_basic_rejected
Test that client_secret_basic is rejected for CIMD.
tests/server/auth/test_cimd.py:64
Method
test_client_secret_basic_still_works
Test that client_secret_basic continues to work unchanged.
tests/server/auth/providers/test_introspection.py:505
Method
test_client_secret_basic_uses_authorization_header
(self)
tests/client/auth/test_client_credentials.py:234
Method
test_client_secret_jwt_rejected
Test that client_secret_jwt is rejected for CIMD.
tests/server/auth/test_cimd.py:85
Method
test_client_secret_not_sent_to_other_issuer
(self)
tests/client/auth/test_client_credentials.py:756
Method
test_client_secret_post
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:111
Method
test_client_secret_post_includes_credentials_in_body
Test that client_secret_post includes credentials in POST body.
tests/server/auth/providers/test_introspection.py:445
Method
test_client_secret_post_rejected
Test that client_secret_post is rejected for CIMD.
tests/server/auth/test_cimd.py:75
Method
test_client_secret_post_uses_body
(self)
tests/client/auth/test_client_credentials.py:253
Method
test_client_secret_post_verification_success
Test successful token verification with client_secret_post.
tests/server/auth/providers/test_introspection.py:479
Method
test_client_secret_sent_to_configured_issuer
(self)
tests/client/auth/test_client_credentials.py:772
Function
test_client_serialization_error
Test client error when object cannot be serialized.
tests/client/client/test_client.py:256
Function
test_client_serializes_all_non_string_arguments
Test that client always serializes non-string arguments to JSON, regardless of server types.
tests/client/client/test_client.py:206
Function
test_client_server_type_conversion_integration
Test that client serialization works with server-side type conversion.
tests/client/client/test_client.py:234
Function
test_client_settings_convenience_uses_own_identifier
()
tests/server/test_extensions.py:452
Function
test_client_shares_dependency_until_shutdown
()
tests/server/test_shared_context.py:22
Method
test_client_span_includes_session_id
Client span should include session ID when using HTTP transport.
tests/client/telemetry/test_client_tracing.py:607
Function
test_client_structured_content_without_output_schema
(structured_content)
tests/client/client/test_client.py:958
Function
test_client_task_timing_fields_parse_as_integers
()
tests/tasks/client/test_client_models.py:4
Function
test_client_timeout_bounds_total_task_drive
Without a per-call timeout, the client timeout bounds the tasked drive.
tests/tasks/client/test_transparent_tasks.py:59
Function
test_client_unwraps_result_using_meta
Client should unwrap wrapped results using _meta flag.
tests/client/client/test_client.py:897
Method
test_client_verify_leaves_no_auth_transport_unchanged
( self, transport_cls: type[StreamableHttpTransport] | type[SSETransport], url: str,
tests/client/transports/test_transports.py:376
Method
test_client_verify_none_leaves_transport_default
(self)
tests/client/transports/test_transports.py:147
← previous
next →
9,201–9,300 of 17,519, ranked by callers