MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_get_tasks_mixed_custom_and_forbidden
Base Provider.get_tasks() filters correctly with mixed task modes.
tests/server/providers/test_base_provider.py:71
Methodtest_get_tasks_returns_task_eligible_tools
Test that get_tasks returns tools with task support.
tests/server/providers/test_local_provider.py:816
Methodtest_get_template_and_disable
(self)
tests/server/providers/test_local_provider_resources.py:1024
Methodtest_get_token_expiry_returns_none_when_not_stored
get_token_expiry returns None for tokens stored before the fix.
tests/client/auth/test_oauth_client.py:643
Methodtest_get_tool
Test getting a specific tool by name.
tests/server/providers/test_fastmcp_provider.py:93
Methodtest_get_tool_all_versions_disabled_returns_none
When all versions are disabled, get_tool returns None.
tests/server/versioning/test_visibility_version_fallback.py:114
Methodtest_get_tool_all_versions_unauthorized_returns_none
(self)
tests/server/versioning/test_auth_version_fallback.py:94
Methodtest_get_tool_and_disable
(self)
tests/server/providers/local_provider_tools/test_enabled.py:105
Methodtest_get_tool_by_name
(self)
tests/test_fastmcp_app.py:437
Methodtest_get_tool_catalog_returns_real_tools
(self)
tests/server/transforms/test_catalog.py:109
Methodtest_get_tool_explicit_disabled_version_returns_none
Requesting a specific disabled version should return None.
tests/server/versioning/test_visibility_version_fallback.py:97
Methodtest_get_tool_explicit_unauthorized_version_returns_none
An explicitly requested version is still authorized on its own.
tests/server/versioning/test_auth_version_fallback.py:76
Methodtest_get_tool_fetches_on_cold_cache
First _get_tool with no prior list should populate the cache.
tests/server/providers/proxy/test_proxy_server.py:1106
Methodtest_get_tool_found
Test getting a tool that exists.
tests/server/providers/test_local_provider.py:177
Methodtest_get_tool_middle_version_fallback
Disabling v3 should fall back to v2, not v1.
tests/server/versioning/test_visibility_version_fallback.py:131
Methodtest_get_tool_missing_returns_none
(self)
tests/test_fastmcp_app.py:448
Methodtest_get_tool_not_found
Test getting a tool that doesn't exist returns None.
tests/server/providers/test_local_provider.py:192
Methodtest_get_tool_passes_through_hidden
(self)
tests/server/transforms/test_search.py:109
Methodtest_get_tool_respects_filter
get_tool() returns None if highest version is filtered out.
tests/server/versioning/test_filtering.py:215
Methodtest_get_tool_returns_none_without_auth
get_tool() returns None for unauthorized tools (consistent with list filtering).
tests/server/auth/test_authorization.py:516
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:528
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_returns_v1_when_v2_unauthorized
(self)
tests/server/versioning/test_auth_version_fallback.py:62
Methodtest_get_tool_returns_v2_for_authorized_user
(self)
tests/server/versioning/test_auth_version_fallback.py:83
Methodtest_get_tool_skips_disabled_and_unauthorized_versions
Fallback picks the highest version that is both enabled and authorized.
tests/server/versioning/test_auth_version_fallback.py:108
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:1088
Methodtest_get_tools
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:331
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:338
Methodtest_get_transformed_tools
Test that tool transformations are applied to proxied tools.
tests/server/providers/proxy/test_proxy_server.py:345
Functiontest_get_unknown_skill_returns_invalid_params
()
tests/skills/test_extension.py:288
Functiontest_get_unknown_task_raises_not_found
()
tests/tasks/server/test_extension.py:177
Methodtest_get_unknown_tool_returns_none
(self)
tests/server/versioning/test_auth_version_fallback.py:130
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:160
Methodtest_gets_prompt_without_arguments
get_prompt gets a prompt with no arguments.
tests/server/transforms/test_prompts_as_tools.py:140
Functiontest_github_401_is_still_an_invalid_token
()
tests/server/auth/providers/test_github_transient_failures.py:93
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:23
Functiontest_github_app_token_without_scope_header_has_user_scope
GitHub App user tokens send no X-OAuth-Scopes; the default required scope still passes.
tests/server/auth/providers/test_github_transient_failures.py:308
Functiontest_github_malformed_user_json_raises_typed_error
()
tests/server/auth/providers/test_github_transient_failures.py:139
Functiontest_github_missing_user_id_raises_typed_error
()
tests/server/auth/providers/test_github_transient_failures.py:150
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
Functiontest_github_operational_http_failure_raises_typed_error
(status_code, headers)
tests/server/auth/providers/test_github_transient_failures.py:102
Functiontest_github_permanent_client_error_is_an_invalid_token
A forbidden or missing user is a final answer, so the client re-authenticates.
tests/server/auth/providers/test_github_transient_failures.py:172
Functiontest_github_provider_scope_401_stays_invalid
()
tests/server/auth/providers/test_github_transient_failures.py:415
Functiontest_github_provider_scope_outage_propagates_operational_error
()
tests/server/auth/providers/test_github_transient_failures.py:367
Functiontest_github_provider_secondary_rate_limit_recovers
()
tests/server/auth/providers/test_github_transient_failures.py:385
Methodtest_github_provider_threads_http_client
(self)
tests/server/auth/providers/test_http_client.py:278
Functiontest_github_transport_failure_raises_typed_error
()
tests/server/auth/providers/test_github_transient_failures.py:127
Methodtest_global_and_project_combined
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_discovery.py:369
Methodtest_global_rate_limiting
Test global rate limiting.
tests/server/middleware/test_rate_limiting.py:333
Methodtest_global_rate_limiting
Test global rate limiting across all clients.
tests/server/middleware/test_rate_limiting.py:682
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:312
Methodtest_goose_skills_provider_path
Test GooseSkillsProvider uses correct path.
tests/server/providers/test_skills_vendor_providers.py:63
Methodtest_goose_with_options
Test goose install with various options.
tests/cli/test_install.py:322
Methodtest_goose_with_python
Test goose install with --python option.
tests/cli/test_install.py:342
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:195
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:188
Functiontest_group_context_is_reentrant
()
tests/client/group/test_client_group.py:428
Functiontest_group_keeps_one_connection_per_server
()
tests/client/group/test_client_group.py:216
Functiontest_group_reconnects_after_last_exit
()
tests/client/group/test_client_group.py:468
Functiontest_group_requires_each_client_to_be_connected
()
tests/client/group/test_client_group.py:202
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:321
Functiontest_handler_preserves_temperature_on_the_wire
(temperature: float | None)
tests/client/sampling/handlers/test_anthropic_handler.py:533
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:295
Methodtest_handles_missing_def_gracefully
Test that missing definition in $defs doesn't cause error.
tests/utilities/test_json_schema.py:1214
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:585
Methodtest_hash_encoded
(self, director, path_route)
tests/utilities/openapi/test_director.py:1208
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
Functiontest_hash_shaped_name_without_a_matching_identity_is_unchanged
()
tests/server/providers/test_prefab_payload.py:26
Functiontest_hash_shaped_user_name_round_trip
(tool_name: str, composition: str)
tests/server/providers/test_prefab_roundtrip.py:179
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
← previousnext →10,101–10,200 of 15,974, ranked by callers