MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_special_characters
(self)
tests/cli/test_goose.py:20
Methodtest_special_characters_in_name
(self)
tests/cli/test_goose.py:95
Methodtest_special_tenant_values
Test that special tenant values are accepted.
tests/server/auth/providers/test_azure.py:127
Methodtest_specific_bind_accepts_only_its_host
(self)
tests/cli/test_apps_dev_server.py:392
Methodtest_specific_bind_rejects_other_host_values
(self, host: str)
tests/cli/test_apps_dev_server.py:326
Methodtest_specific_tenant_sets_issuer
(self)
tests/server/auth/providers/test_azure_scopes.py:610
Methodtest_specific_tool_errors_are_sent_to_client
(self)
tests/client/client/test_error_handling.py:95
Methodtest_sphinx_style_integration
(self)
tests/utilities/test_docstring_parsing.py:462
Methodtest_sse_and_streamable_http_agree
( self, protection: HostOriginProtection, allowed_hosts: list[str] | None, all
tests/server/http/test_sse_host_origin_protection.py:190
Methodtest_sse_app_auth_argument_applies
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:844
Functiontest_sse_app_with_custom_middleware
Test that custom middleware works with SSE app.
tests/server/http/test_http_middleware.py:54
Methodtest_sse_read_timeout
(self)
tests/cli/test_generate_cli_remote.py:72
Functiontest_sse_stream_closes_cleanly_through_base_http_middleware
The SSE endpoint must not send a second response after its stream ends.
tests/server/http/test_http_middleware.py:238
Methodtest_sse_transport
(self)
tests/cli/test_discovery.py:839
Methodtest_sse_transport_binds_oauth
(self)
tests/client/auth/test_oauth_cimd.py:149
Methodtest_sse_transport_binds_private_key_jwt
(self)
tests/client/auth/test_client_credentials.py:694
Methodtest_sse_transport_stores_verify_false
(self)
tests/client/transports/test_transports.py:108
Methodtest_sse_transport_stores_verify_ssl_context
(self)
tests/client/transports/test_transports.py:115
Functiontest_sse_transport_strategy
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_fastmcp_remote.py:177
Methodtest_sse_transport_verify_default_is_none
(self)
tests/client/transports/test_transports.py:123
Methodtest_sse_verify_factory_still_enables_redirects
The SSE verify factory should still create clients with follow_redirects=True.
tests/client/transports/test_no_redirect.py:189
Methodtest_sse_verify_propagates_to_oauth
(self)
tests/client/transports/test_transports.py:179
Methodtest_ssrf_safe_allows_http_client_with_static_key
ssrf_safe with http_client is allowed when using static public_key (no HTTP).
tests/server/auth/providers/test_http_client.py:190
Methodtest_ssrf_safe_rejects_http_client_with_jwks
ssrf_safe=True and http_client cannot be used together with JWKS.
tests/server/auth/providers/test_http_client.py:178
Methodtest_stable_setting
Stable setting passes include_prereleases=False.
tests/utilities/test_version_check.py:323
Methodtest_stacked_namespaces_compose
Test that stacked namespaces are applied in order.
tests/server/providers/test_transforming_provider.py:268
Methodtest_stacked_transforms_are_callable
Test that stacked transforms still allow tool calls.
tests/server/providers/test_transforming_provider.py:288
Functiontest_stale_client_context_does_not_disconnect_reconnected_session
( fastmcp_server, mode )
tests/client/client/test_client.py:532
Functiontest_stale_group_context_does_not_disconnect_reconnected_session
( fastmcp_server, mode )
tests/client/group/test_client_group.py:483
Methodtest_stale_override_branch_restores_current_server
(self)
tests/server/providers/proxy/test_stateful_proxy_client.py:299
Functiontest_standalone_aggregate_releases_descendant_restrictions
( bundle: BundledLocalProvider, )
tests/server/test_extension_runtime.py:231
Functiontest_standalone_child_still_rejects_unavailable_extension
( bundle: BundledLocalProvider, standalone_first: bool )
tests/server/test_extension_runtime.py:214
Functiontest_standalone_cli_generates_provenance_without_cloud_access
(tmp_path)
tests/test_public_triage.py:445
Methodtest_standalone_decorator_ui_scheme_defaults_mime_type
The standalone @resource decorator also applies ui:// MIME default.
tests/test_apps.py:338
Functiontest_standalone_server_enters_extension_lifespan
()
tests/server/test_extensions.py:377
Methodtest_standalone_tool_decorator_accepts_run_in_thread
(self)
tests/tools/test_tool_run_in_thread.py:209
Methodtest_starts_ping_task_on_first_message
Test that a ping task is started on first message from a connection.
tests/server/middleware/test_ping.py:59
Methodtest_starts_separate_task_per_session
Test that different connections get separate ping tasks.
tests/server/middleware/test_ping.py:94
Methodtest_startup_and_shutdown_run_once
(self)
tests/utilities/test_asgi_transport.py:126
Methodtest_startup_failure_raises
(self)
tests/utilities/test_tests.py:60
Methodtest_startup_failure_raises
(self)
tests/utilities/test_asgi_transport.py:146
Methodtest_startup_token_must_match_exactly
(self, token: str)
tests/cli/test_apps_dev_server.py:178
Methodtest_startup_token_only_starts_a_session_from_the_root_page
( self, method: str, path: str )
tests/cli/test_apps_dev_server.py:191
Methodtest_startup_url_starts_session_and_redirects
(self)
tests/cli/test_apps_dev_server.py:125
Methodtest_state_from_a_different_key_is_rejected
State minted under one key is rejected by a server holding a different key — the cross-instance isolation shared keys prevent.
tests/server/test_mrtr_guards.py:1151
Functiontest_state_isolation_between_streamable_http_clients
Test that different HTTP clients have isolated session state. Each client should have its own session ID and isolated state.
tests/server/middleware/test_initialization_middleware.py:389
Methodtest_state_only_continuation_final_not_cached
A state-only round (request_state, no questions) retries with input_responses=None — request_state alone must mark the continuation, o
tests/server/test_mrtr_guards.py:952
Functiontest_state_only_guard_round_fails_clearly
A state-only guard round (request_state, no input_requests) fails loudly. Foreground, the client re-invokes such a round after a backoff. The tas
tests/tasks/server/test_guard_reentrant.py:235
Functiontest_state_store_failure_is_not_read_as_no_rules
( monkeypatch: pytest.MonkeyPatch, )
tests/server/test_session_scope.py:147
Methodtest_state_survives_across_calls_per_user
(self)
tests/server/test_session_provider.py:131
Functiontest_stateful_pinned_metadata_uses_registered_client_lifecycle
()
tests/server/providers/proxy/test_server_metadata.py:475
Methodtest_stateful_proxy
Test that the state shared across multiple calls for the same client (fixes #959).
tests/server/providers/proxy/test_stateful_proxy_client.py:154
Methodtest_stateful_proxy_elicitation_over_http
Elicitation through a stateful proxy over HTTP must not hang. When StatefulProxyClient reuses a session, the receive-loop task inheri
tests/server/providers/proxy/test_stateful_proxy_client.py:206
Methodtest_stateless_http_level_does_not_reach_other_clients
A stateless server has no session to hold a level, so setLevel is not shared.
tests/client/test_logs.py:261
Functiontest_stateless_http_rejects_get_sse
Stateless servers should reject GET SSE requests with 405.
tests/client/test_streamable_http.py:233
Functiontest_stateless_http_still_accepts_post
Stateless servers should still handle POST requests normally.
tests/client/test_streamable_http.py:241
Methodtest_stateless_proxy
Test that the state will not be shared across different calls, even if they are from the same client.
tests/server/providers/proxy/test_stateful_proxy_client.py:165
Methodtest_static_and_class_methods_are_still_registered
(self)
tests/contrib/test_mcp_mixin.py:379
Methodtest_static_assertion_flow
(self)
tests/client/auth/test_client_credentials.py:653
Methodtest_static_client_info_includes_additional_metadata
Additional client metadata should be included in static client info.
tests/client/auth/test_oauth_static_client.py:96
Methodtest_static_client_info_includes_metadata
Static client info should include redirect_uris, grant_types, etc.
tests/client/auth/test_oauth_static_client.py:24
Methodtest_static_client_info_without_secret
Public clients can provide client_id without client_secret.
tests/client/auth/test_oauth_static_client.py:48
Methodtest_static_client_with_dcr_disabled
Static client_id should work when the server has DCR disabled.
tests/client/auth/test_oauth_static_client.py:206
Methodtest_static_client_with_dcr_enabled
Static client_id should also work when DCR is enabled (skips DCR).
tests/client/auth/test_oauth_static_client.py:257
Functiontest_static_credentials_do_not_refresh
( redis_backend: Redis, free_port: int, tmp_path: Path, )
tests/integration_tests/test_task_credentials.py:133
Functiontest_static_manifest_rejects_duplicate_uris
()
tests/skills/test_models.py:169
Functiontest_static_manifest_rejects_resources_outside_skill
(uri: str)
tests/skills/test_models.py:185
Functiontest_static_manifest_requires_skill_md
()
tests/skills/test_models.py:156
Methodtest_static_public_key
Fully specified EdDSA algorithms verify with a static public key.
tests/server/auth/test_jwt_provider.py:538
Methodtest_static_resource
(self, explicit_default: bool)
tests/server/test_session_provider.py:274
Methodtest_static_server_url_unaffected
(self)
tests/server/providers/openapi/test_server.py:54
Methodtest_static_token_verifier_creation
Test creating a FastMCP server with StaticTokenVerifier.
tests/server/auth/test_static_token_verifier.py:13
Methodtest_static_token_verifier_verify_token
Test StaticTokenVerifier token verification.
tests/server/auth/test_static_token_verifier.py:22
Methodtest_staticmethod_metadata_is_available_on_unwrapped_function
@tool should attach metadata where staticmethod access can find it.
tests/tools/test_standalone_decorator.py:156
Methodtest_staticmethod_metadata_is_available_on_unwrapped_function
@resource should attach metadata where staticmethod access can find it.
tests/resources/test_standalone_decorator.py:104
Methodtest_staticmethod_metadata_is_available_on_unwrapped_function
@prompt should attach metadata where staticmethod access can find it.
tests/prompts/test_standalone_decorator.py:104
Methodtest_statistics
Test that statistics are collected correctly.
tests/server/middleware/test_caching.py:662
Functiontest_status_and_commands_share_one_connection
(configured_fire_tv)
examples/smart_home/tests/test_fire_tv.py:60
Methodtest_stdio_advertises_list_changed_for_all_components
stdio advertises the same list_changed capabilities as other transports.
tests/client/test_stdio.py:246
Methodtest_stdio_basic
Test basic stdio install command parsing.
tests/cli/test_install.py:403
Functiontest_stdio_config_keep_alive_passthrough
Test that keep_alive parameter is passed through from StdioMCPServer to StdioTransport.
tests/test_mcp_config.py:408
Methodtest_stdio_doesnt_support_auth
(self)
tests/client/client/test_auth.py:20
Methodtest_stdio_minimal
Test that stdio works with minimal arguments.
tests/cli/test_install.py:552
Methodtest_stdio_target_no_auth
(self)
tests/cli/test_client_commands.py:696
Methodtest_stdio_transport
(self)
tests/cli/test_discovery.py:843
Methodtest_stdio_transport
(self)
tests/cli/test_client_commands.py:545
Methodtest_stdio_transport_basic
(self)
tests/cli/test_generate_cli.py:124
Methodtest_stdio_transport_with_env
(self)
tests/cli/test_generate_cli.py:132
Methodtest_stdio_type_unchanged
Stdio entries have ``type`` as a proper field — leave it alone.
tests/cli/test_discovery.py:259
Methodtest_stdio_with_copy
Test stdio install with copy to clipboard option.
tests/cli/test_install.py:410
Methodtest_stdio_with_packages
Test stdio install with additional packages.
tests/cli/test_install.py:416
Methodtest_stdlib_not_shadowed_by_same_named_file
A provider file named json.py must not overwrite sys.modules['json'].
tests/fs/test_discovery.py:543
Methodtest_step_up_requests_union_of_scopes
(self)
tests/client/auth/test_client_credentials.py:532
Methodtest_stopped_owning_loop_keeps_the_connection
A stopped loop can't run the teardown, so the connection stays its. Moving to another loop would otherwise forget a subprocess that nothing
tests/client/test_stdio.py:513
Methodtest_stops_at_home
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:450
Methodtest_storage_collections_are_isolated
Verify that transactions, codes, and clients use separate collections.
tests/server/auth/test_oauth_consent_flow.py:355
Methodtest_storage_data_structure
Test that storage uses proper structured format.
tests/server/auth/test_oauth_proxy_storage.py:175
Methodtest_storage_key_does_not_embed_the_raw_principal
The injected session is stored under the reserved per-user id, not under the raw principal JSON — proven by reconstructing a `Session`
tests/server/test_session_provider.py:230
Methodtest_storage_uses_pydantic_adapter
Verify that PydanticAdapter serializes/deserializes correctly.
tests/server/auth/test_oauth_consent_flow.py:869
Methodtest_store_event_priming_event
Test storing a priming event (message=None).
tests/server/test_event_store.py:71
← previousnext →14,101–14,200 of 15,974, ranked by callers