MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_get_tool_returns_synthetic
(self)
tests/server/transforms/test_search.py:99
Methodtest_get_tool_returns_tool_with_auth
(self)
tests/server/auth/test_authorization.py:511
Methodtest_get_tool_returns_v1_when_v2_disabled
get_tool should return v1 when v2 is disabled (core bug).
tests/server/versioning/test_visibility_version_fallback.py:60
Methodtest_get_tool_uses_cached_list
Calling call_tool should resolve from cache after an initial list.
tests/server/providers/proxy/test_proxy_server.py:1017
Methodtest_get_tools
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:328
Methodtest_get_tools_includes_local_provider_tools
Test that get_tools() returns tools from local provider.
tests/server/test_server.py:108
Methodtest_get_tools_meta
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:335
Methodtest_get_transformed_tools
Test that tool transformations are applied to proxied tools.
tests/server/providers/proxy/test_proxy_server.py:342
Functiontest_get_unknown_task_raises_not_found
()
tests/tasks/server/test_extension.py:177
Methodtest_get_unregistered_client_returns_none
Test that unregistered clients return None.
tests/server/auth/oauth_proxy/test_client_registration.py:105
Methodtest_gets_prompt_with_arguments
get_prompt gets a prompt with arguments.
tests/server/transforms/test_prompts_as_tools.py:135
Methodtest_gets_prompt_without_arguments
get_prompt gets a prompt with no arguments.
tests/server/transforms/test_prompts_as_tools.py:115
Methodtest_github_api_schema_performance
Test that GitHub's full API schema parses quickly. This is a regression test to ensure our performance optimizations (elimin
tests/server/providers/openapi/test_openapi_performance.py:22
Functiontest_github_oauth_authorization_redirect
Test that GitHub OAuth authorization redirects to GitHub correctly through consent flow. Since HeadlessOAuth can't handle real GitHub redirects,
tests/integration_tests/auth/test_github_provider_integration.py:207
Functiontest_github_oauth_credentials_available
Test that GitHub OAuth credentials are available for testing.
tests/integration_tests/auth/test_github_provider_integration.py:199
Functiontest_github_oauth_mock_only_accepts_mock_tokens
Test that the mock token verifier only accepts mock tokens, not real ones.
tests/integration_tests/auth/test_github_provider_integration.py:376
Functiontest_github_oauth_server_metadata
Test OAuth server metadata discovery.
tests/integration_tests/auth/test_github_provider_integration.py:310
Functiontest_github_oauth_unauthorized_access
Test that unauthenticated requests are rejected. SDK v2 surfaces the server's 401 as an MCPError ("Server returned an error response") rather
tests/integration_tests/auth/test_github_provider_integration.py:339
Functiontest_github_oauth_with_mock
Test complete GitHub OAuth flow with mocked callback.
tests/integration_tests/auth/test_github_provider_integration.py:358
Methodtest_github_provider_threads_http_client
(self)
tests/server/auth/providers/test_http_client.py:278
Methodtest_global_and_project_combined
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_discovery.py:325
Methodtest_global_rate_limiting
Test global rate limiting.
tests/server/middleware/test_rate_limiting.py:299
Methodtest_global_rate_limiting
Test global rate limiting across all clients.
tests/server/middleware/test_rate_limiting.py:587
Methodtest_global_servers
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:298
Methodtest_google_configuration
Test Google configuration.
tests/server/auth/test_oidc_proxy.py:348
Methodtest_google_provider_threads_http_client
(self)
tests/server/auth/providers/test_http_client.py:313
Methodtest_google_specific_scopes
Test handling of Google-specific scope formats.
tests/server/auth/providers/test_google.py:92
Methodtest_goose_basic
Test basic goose install command parsing.
tests/cli/test_install.py:189
Methodtest_goose_skills_provider_path
Test GooseSkillsProvider uses correct path.
tests/server/providers/test_skills_vendor_providers.py:55
Methodtest_goose_with_options
Test goose install with various options.
tests/cli/test_install.py:199
Methodtest_goose_with_python
Test goose install with --python option.
tests/cli/test_install.py:219
Methodtest_grant_rejected_when_not_configured
( self, idp_key: RSAKeyPair, )
tests/server/auth/oauth_proxy/test_identity_assertion.py:338
Functiontest_greet_tool_custom
Test the greet tool with custom greeting
examples/testing_demo/tests/test_server.py:40
Functiontest_greet_tool_default
Test the greet tool with default greeting
examples/testing_demo/tests/test_server.py:34
Functiontest_greet_with_dirty_equals
Test greet tool using dirty-equals for pattern matching
examples/testing_demo/tests/test_server.py:141
Functiontest_greet_with_progress_tool
Test calling the greet tool.
tests/client/test_streamable_http.py:192
Functiontest_greeting_resource_template
Test the greeting resource template
examples/testing_demo/tests/test_server.py:74
Functiontest_group_context_does_not_close_caller_owned_client
()
tests/client/group/test_client_group.py:174
Functiontest_group_context_is_reentrant
()
tests/client/group/test_client_group.py:353
Functiontest_group_keeps_one_connection_per_server
()
tests/client/group/test_client_group.py:202
Functiontest_group_reconnects_after_last_exit
()
tests/client/group/test_client_group.py:393
Functiontest_group_requires_each_client_to_be_connected
()
tests/client/group/test_client_group.py:188
Methodtest_guard_prompt_round_trips_through_proxy
A guard prompt behind a proxy surfaces its ask instead of the proxy trying to answer it. The proxy has no back-channel to the real user, so
tests/server/test_mrtr_guards_components.py:198
Methodtest_guard_resource_round_trips_through_proxy
Concrete resources and templates forward the ask the same way.
tests/server/test_mrtr_guards_components.py:216
Methodtest_guard_result_from_task_parks_for_input
(self)
tests/server/test_mrtr_guards.py:1179
Functiontest_guard_return_multiple_rounds_use_distinct_keys
A tool that asks twice surfaces distinct keys across rounds (SEP-2663 L350). The second round's key must differ from the first's — a client that
tests/tasks/server/test_guard_reentrant.py:153
Functiontest_guard_return_single_round_completes
A tool that returns InputRequiredResult once is driven to completion.
tests/tasks/server/test_guard_reentrant.py:126
Methodtest_guard_round_trips_through_create_proxy_mode_auto
The standard create_proxy(target, mode="auto") path round-trips a guard without a hand-built ProxyClient factory. The default stays ha
tests/server/test_mrtr_guards.py:468
Methodtest_guard_tool_round_trips_through_proxy
A guard tool behind a proxy completes end-to-end: the backend's ask round-trips into an `InputRequiredToolResult` on the parent (rather than
tests/server/test_mrtr_guards.py:425
Methodtest_guard_tool_through_parent
A guard tool on a mounted child completes when called through the parent's namespaced name — the InputRequiredToolResult forwards through
tests/server/test_mrtr_guards.py:398
Functiontest_guides_have_examples
Guard against the extractor silently matching nothing.
tests/docs/test_upgrade_guide_examples.py:58
Functiontest_handler_passes_max_completion_tokens
Verify the handler uses max_completion_tokens (not max_tokens).
tests/client/sampling/handlers/test_openai_handler.py:262
Functiontest_handler_preserves_temperature_on_the_wire
(temperature: float | None)
tests/client/sampling/handlers/test_anthropic_handler.py:409
Methodtest_handlers_and_tools_agree
The rewritten tool returns what the hand-written handler returned.
tests/docs/test_upgrade_guide_equivalence.py:229
Methodtest_handles_invalid_versions
Handles invalid version strings gracefully.
tests/utilities/test_version_check.py:290
Methodtest_handles_missing_def_gracefully
Test that missing definition in $defs doesn't cause error.
tests/utilities/test_json_schema.py:1019
Methodtest_handshake_version_pin_rejected
A legacy-era version string is not a valid pin; the error steers to 'legacy'.
tests/client/client/test_mode_negotiation.py:42
Methodtest_happy_path_issues_token
( self, idp_key: RSAKeyPair, config: IdentityAssertion, httpx_mock: HTTPXMock,
tests/server/auth/oauth_proxy/test_identity_assertion.py:275
Methodtest_hash_differs_for_same_name_different_description
Hash must change when a tool's description changes, not just its name.
tests/server/transforms/test_search.py:507
Methodtest_hash_encoded
(self, director, path_route)
tests/utilities/openapi/test_director.py:1187
Methodtest_hash_is_64_hex_chars
(self)
tests/utilities/test_token_cache.py:223
Methodtest_hash_is_fixed_length_hex
(self)
tests/server/providers/test_addressing.py:16
Methodtest_hashed_call_reaches_app_tool_sharing_injected_name
An injected tool owns its display name, not an app tool's hashed name.
tests/server/middleware/test_tool_injection.py:462
Functiontest_hashed_lookup_checks_authorization_of_the_same_tool_as_the_listed_name
( build: Callable[[list[str]], FastMCP], listed_name: str, allowed: bool )
tests/server/test_hashed_tool_dispatch.py:494
Methodtest_hashed_name_auth_blocks_unauthorized
Auth checks run on the hashed-name dispatch path too.
tests/test_fastmcp_app.py:527
Functiontest_hashed_name_falls_back_past_a_disabled_highest_version
()
tests/server/test_hashed_tool_dispatch.py:324
Methodtest_hashed_name_from_result_is_callable
The hashed name that appears in structured_content actually resolves when called back — the full round-trip works.
tests/server/providers/test_prefab_roundtrip.py:95
Functiontest_hashed_name_is_unknown_when_listed_name_is_unknown
( build: Callable[[list[str]], FastMCP], )
tests/server/test_hashed_tool_dispatch.py:171
Functiontest_hashed_name_resolves_renamed_tools
( build: Callable[[list[str]], FastMCP], )
tests/server/test_hashed_tool_dispatch.py:232
Functiontest_hashed_name_resolves_tools_renamed_with_replaced_meta
( meta: dict[str, str] | None, on_provider: bool )
tests/server/test_hashed_tool_dispatch.py:521
Functiontest_hashed_name_respects_a_version_filter
()
tests/server/test_hashed_tool_dispatch.py:336
Methodtest_hashed_name_survives_namespace_mount
The hash identifies a tool independently of its name. A FastMCPApp mounted under a Namespace transform still has its backend tools rea
tests/test_fastmcp_app.py:493
Functiontest_hello_prompt_custom
Test hello prompt with custom name
examples/testing_demo/tests/test_server.py:87
Functiontest_hello_prompt_default
Test hello prompt with default parameter
examples/testing_demo/tests/test_server.py:81
Methodtest_helper_emits_by_default
( self, helper: str, helpers, trace_exporter: InMemorySpanExporter )
tests/telemetry/test_interop.py:142
Methodtest_helper_emits_nothing
( self, helper: str, value: str, helpers, mode, trace_exporter
tests/telemetry/test_interop.py:119
Methodtest_helper_emits_nothing_under_suppress
( self, helper: str, helpers, trace_exporter: InMemorySpanExporter )
tests/telemetry/test_interop.py:133
Methodtest_heterogeneous_accepts_boolean
(self, heterogeneous_union)
tests/utilities/json_schema_type/test_unions.py:63
Methodtest_heterogeneous_accepts_null
(self, heterogeneous_union)
tests/utilities/json_schema_type/test_unions.py:67
Methodtest_heterogeneous_accepts_number
(self, heterogeneous_union)
tests/utilities/json_schema_type/test_unions.py:59
Methodtest_heterogeneous_accepts_string
(self, heterogeneous_union)
tests/utilities/json_schema_type/test_unions.py:55
Methodtest_heterogeneous_rejects_array
(self, heterogeneous_union)
tests/utilities/json_schema_type/test_unions.py:71
Functiontest_hidden_arg_with_constant_default
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:181
Functiontest_hidden_arg_without_default_uses_parent_default
Test that hidden argument without default uses parent's default.
tests/tools/tool_transform/test_tool_transform.py:190
Functiontest_hidden_param_prunes_defs
()
tests/tools/tool_transform/test_tool_transform.py:262
Functiontest_hide_required_param_with_user_default_works
Test that hiding a required parameter works when user provides a default.
tests/tools/tool_transform/test_tool_transform.py:242
Functiontest_hide_required_param_without_default_raises_error
Test that hiding a required parameter without providing default raises error.
tests/tools/tool_transform/test_tool_transform.py:224
Methodtest_hinted_list_tools_served_from_cache
(self)
tests/server/test_cache_hints.py:148
Methodtest_hinted_read_resource_carries_cacheable_fields
The server sets the wire fields the SDK client cache reads on a `resources/read` result, so a cache-capable client can reuse it.
tests/server/test_cache_hints.py:206
Methodtest_hooks_fire_once_per_round_across_a_continuation
The fires-once invariant holds across a continuation — the one place root dispatch and MRTR genuinely meet. Each round is its own complete
tests/server/middleware/test_message_visibility.py:400
Methodtest_horizon_account_commands_are_top_level
(self, name: str)
tests/cli/test_cli.py:39
Methodtest_host_header_set
Verify Host header is set to original hostname.
tests/server/auth/test_ssrf_protection.py:307
Methodtest_host_kwarg_raises_type_error
(self)
tests/deprecated/test_deprecated.py:8
Methodtest_host_mismatch_blocked
Test that host mismatches are blocked even with wildcards.
tests/server/auth/test_redirect_validation.py:431
Methodtest_host_names_are_case_insensitive
(self, host: str)
tests/cli/test_apps_dev_server.py:219
Methodtest_host_origin_protection_defaults_to_auto
( self, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_apps_dev_server.py:635
Methodtest_host_pages_disallow_framing
(self)
tests/cli/test_apps_dev_server.py:532
Methodtest_html_error_includes_server_branding
Test that HTML error page includes server branding from FastMCP instance.
tests/server/auth/test_enhanced_error_responses.py:597
Methodtest_html_preferred_when_both_accepted
Test that HTML is preferred when both text/html and application/json are accepted.
tests/server/auth/test_enhanced_error_responses.py:910
Functiontest_http_app_sets_mcp_server_state
()
tests/server/test_app_state.py:5
← previousnext →8,501–8,600 of 13,374, ranked by callers