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
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
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
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:933
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:138
Method
test_client_passes_verify_ssl_context_to_transport
(self)
tests/client/transports/test_transports.py:132
Method
test_client_passes_verify_to_sse_transport
(self)
tests/client/transports/test_transports.py:161
Method
test_client_passes_verify_to_streamable_http_transport
(self)
tests/client/transports/test_transports.py:127
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
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:35
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/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:232
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:738
Method
test_client_secret_post
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:93
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:251
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:754
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:375
Method
test_client_verify_none_leaves_transport_default
(self)
tests/client/transports/test_transports.py:146
Method
test_client_verify_overrides_transport_verify_in_oauth
(self)
tests/client/transports/test_transports.py:241
Method
test_client_verify_preserves_custom_oauth_factory
( self, transport_cls: type[StreamableHttpTransport] | type[SSETransport], url: str,
tests/client/transports/test_transports.py:285
Method
test_client_verify_preserves_factory_with_dynamic_attributes
( self, transport_cls: type[StreamableHttpTransport] | type[SSETransport], url: str,
tests/client/transports/test_transports.py:317
Method
test_client_verify_propagates_to_oauth
(self)
tests/client/transports/test_transports.py:192
Method
test_client_verify_raises_for_non_http_transport
(self)
tests/client/transports/test_transports.py:151
Method
test_client_verify_resyncs_default_oauth_factory
( self, transport_cls: type[StreamableHttpTransport] | type[SSETransport], url: str,
tests/client/transports/test_transports.py:349
Method
test_client_verify_resyncs_existing_oauth_on_transport
(self)
tests/client/transports/test_transports.py:219
Function
test_client_with_excluded_header_is_ignored
(sse_server: str)
tests/client/test_openapi.py:176
Method
test_client_with_token_sees_all_authorized_tools
(self)
tests/server/auth/test_authorization.py:747
Function
test_clients_negotiate_independently
()
tests/client/group/test_client_group.py:52
Function
test_clone_preserves_configuration_and_clears_binding
( monkeypatch: pytest.MonkeyPatch, with_provider: bool )
tests/tasks/server/test_extension_clone.py:22
Function
test_cloning_clears_binding_and_isolates_mutable_state
()
tests/server/test_provider_extensions.py:389
Method
test_close_obo_credentials
Test that close_obo_credentials closes all cached credentials.
tests/server/auth/providers/test_azure_scopes.py:731
Method
test_close_racing_a_new_context_leaves_that_context_connected
close() stops the session it finds before a context entered after it can reuse that session, as on 4.0.5.
tests/client/client/test_client.py:1227
Method
test_close_read_never_exceeds_choice_limit
(self)
tests/experimental/transforms/test_jev_search.py:260
Method
test_close_read_puts_summaries_in_state_and_detail_in_criteria
(self)
tests/experimental/transforms/test_jev_search.py:154
Method
test_close_session_and_try_to_use_client_raises_error
(self, stdio_script)
tests/client/test_stdio.py:601
Method
test_closes_unscheduled_coroutines_from_an_eager_caller
Lazy consumption keeps the leak window small, but a caller that builds its awaitables eagerly (a list or a parenthesized tuple) has co
tests/utilities/test_async_utils.py:206
Function
test_closure_outcomes_and_local_midnight
(backlog)
tests/test_backlog_status.py:45
Function
test_closure_scoped_types_with_builtins
Closure-scoped tools work when annotations only reference builtins.
tests/tools/test_tool_future_annotations.py:172
Method
test_cloud_metadata_ref_not_fetched
(self)
tests/utilities/test_json_schema.py:1409
Function
test_code_mode_custom_discovery_tool_function
A plain function can serve as a discovery tool factory.
tests/experimental/transforms/test_code_mode.py:362
Function
test_code_mode_custom_execute_description
()
tests/experimental/transforms/test_code_mode.py:298
Function
test_code_mode_custom_execute_name
()
tests/experimental/transforms/test_code_mode.py:278
Function
test_code_mode_custom_search_tool_name
Search and GetSchemas support custom names.
tests/experimental/transforms/test_code_mode.py:439
Function
test_code_mode_default_execute_description
()
tests/experimental/transforms/test_code_mode.py:317
Function
test_code_mode_default_tools
Default CodeMode exposes search, get_schema, and execute.
tests/experimental/transforms/test_code_mode.py:108
← previous
next →
8,201–8,300 of 15,974, ranked by callers