MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,725 in github.com/PrefectHQ/fastmcp

Methodtest_error_with_non_text_content_raises_with_fallback_message
(self)
tests/client/client/test_error_handling.py:308
Methodtest_error_with_structured_content_does_not_parse_data
(self)
tests/client/client/test_error_handling.py:340
Methodtest_error_with_text_content_raises_with_message
(self)
tests/client/client/test_error_handling.py:325
Methodtest_error_with_unsafe_transaction_redirect_returns_html_error
IdP errors must not redirect to unsafe stored callback URIs.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:516
Methodtest_error_with_valid_transaction_redirects_to_client
When the IdP returns an error and the transaction exists, the proxy must forward the error to the client's redirect_uri rather than showing
tests/server/auth/oauth_proxy/test_oauth_proxy.py:418
Methodtest_errors_without_auth
(self)
tests/server/test_session_provider.py:125
Methodtest_es256_issuer_supported_via_algorithm_config
( self, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_identity_assertion.py:816
Methodtest_escaped_and_spaced_schema_names_survive_parsing
(self)
tests/utilities/openapi/test_parser.py:598
Functiontest_escaped_reference_tokens
(definition: str, token: str)
tests/utilities/json_schema_type/test_advanced.py:317
Methodtest_escapes_percent_encoding_and_subpointers_are_preserved
(self)
tests/utilities/test_json_schema.py:975
Methodtest_escapes_rich_markup_and_control_chars
( self, capsys: pytest.CaptureFixture[str] )
tests/cli/test_client_commands.py:1139
Methodtest_event_entry_with_message
(self)
tests/server/test_event_store.py:20
Methodtest_event_entry_without_message
(self)
tests/server/test_event_store.py:30
Functiontest_events_command_lives_under_experimental
()
tests/experimental/events/test_cli.py:205
Functiontest_events_without_a_snapshot_publish_nothing
(monkeypatch, capsys)
tests/test_triage_floor_feed.py:136
Functiontest_events_without_an_id_or_timestamp_get_generated_ones
()
tests/experimental/events/test_extension.py:171
Methodtest_every_issuer_form_is_accepted
Both config URL forms accept all three issuer forms of the project.
tests/server/auth/providers/test_descope.py:431
Functiontest_every_mcpserver_constructor_param_is_mapped
The SDK v2 guide claims an exhaustive constructor mapping — hold it to that. A parameter added to ``MCPServer`` upstream should fail here rather
tests/docs/test_upgrade_guide_api_claims.py:224
Functiontest_every_open_stream_receives_a_broadcast
(server: FastMCP)
tests/server/test_subscriptions.py:231
Methodtest_evicted_classes_are_released
(self, monkeypatch: pytest.MonkeyPatch)
tests/utilities/json_schema_type/test_generated_classes.py:666
Methodtest_evicts_oldest_when_full
(self)
tests/utilities/test_token_cache.py:202
Methodtest_exact_match
Test exact URI matching without wildcards.
tests/server/auth/test_redirect_validation.py:307
Methodtest_exact_page_size
List exactly matching page size should return no cursor.
tests/server/test_pagination.py:105
Methodtest_exact_string_match
(self)
tests/server/versioning/test_versioning.py:98
Functiontest_example_clients_only_ping_in_legacy_mode
()
tests/test_examples_ping.py:32
Functiontest_example_executes
Every non-skipped example runs top to bottom without raising. Examples are executed under a module name other than ``__main__`` so an ``if __
tests/docs/test_upgrade_guide_examples.py:89
Methodtest_example_section_excluded
(self)
tests/utilities/test_docstring_parsing.py:79
Methodtest_example_section_excluded_no_params
(self)
tests/utilities/test_docstring_parsing.py:317
Methodtest_except_mcp_error_catches_sdk_raised
(self)
tests/test_compat.py:224
Methodtest_exchange_authorization_code_preserves_external_scopes
External resource URIs (e.g. Microsoft Graph) and OIDC scopes don't carry the identifier_uri prefix, so the translation must leave them
tests/server/auth/providers/test_azure.py:1543
Methodtest_exchange_authorization_code_unprefixes_echoed_scopes
OAuthToken.scope returned to the client must use the unprefixed form advertised on /.well-known, not the prefixed form Azure echoes back.
tests/server/auth/providers/test_azure.py:1505
Methodtest_exchange_refresh_token_unprefixes_echoed_scopes
The same translation must apply on refresh — otherwise the cosmetic scope mismatch reappears after the first refresh.
tests/server/auth/providers/test_azure.py:1584
Functiontest_exchange_rejects_nonpositive_expires_in
(jwt_verifier, expires_in)
tests/server/auth/oauth_proxy/test_nonpositive_expires_in.py:45
Methodtest_exchange_renews_client_registration_ttl
( self, idp_key: RSAKeyPair, config: IdentityAssertion, httpx_mock: HTTPXMock,
tests/server/auth/oauth_proxy/test_identity_assertion.py:296
Methodtest_exclude_precedence
(self)
tests/server/providers/test_local_provider_resources.py:726
Methodtest_exclude_precedence
(self)
tests/server/providers/local_provider_tools/test_tags.py:80
Methodtest_exclude_tags_all_prompts
(self)
tests/server/providers/test_local_provider_prompts.py:451
Methodtest_exclude_tags_all_resources
(self)
tests/server/providers/test_local_provider_resources.py:716
Methodtest_exclude_tags_all_resources
(self)
tests/server/providers/test_local_provider_resources.py:928
Methodtest_exclude_tags_all_tools
(self)
tests/server/providers/local_provider_tools/test_tags.py:70
Methodtest_exclude_tags_error_mentions_disable
(self)
tests/deprecated/server/test_include_exclude_tags.py:19
Methodtest_exclude_tags_raises_type_error
(self)
tests/deprecated/server/test_include_exclude_tags.py:11
Methodtest_exclude_tags_some_prompts
(self)
tests/server/providers/test_local_provider_prompts.py:456
Methodtest_exclude_tags_some_resources
(self)
tests/server/providers/test_local_provider_resources.py:721
Methodtest_exclude_tags_some_resources
(self)
tests/server/providers/test_local_provider_resources.py:933
Methodtest_exclude_tags_some_tools
(self)
tests/server/providers/local_provider_tools/test_tags.py:75
Methodtest_exclude_takes_precedence_over_include
(self)
tests/server/providers/test_local_provider_resources.py:938
Methodtest_exclude_takes_precedence_over_include
(self)
tests/server/providers/test_local_provider_prompts.py:461
Methodtest_excludes_none_fields
(self)
tests/test_apps.py:43
Methodtest_excludes_none_fields
(self)
tests/test_apps.py:84
Methodtest_excludes_none_fields
(self)
tests/test_apps.py:130
Methodtest_excludes_none_fields
(self)
tests/test_apps.py:178
Methodtest_exclusive_maximum_rejects_equal
(self, exclusive_max_number)
tests/utilities/json_schema_type/test_constraints.py:130
Methodtest_exclusive_minimum_rejects_equal
(self, exclusive_min_number)
tests/utilities/json_schema_type/test_constraints.py:116
Methodtest_execution_not_found_keeps_tool_name
(self, meter_provider, reader)
tests/server/middleware/test_usage.py:402
Methodtest_execution_override_takes_precedence
Test that explicit override takes precedence over field value.
tests/tools/tool/test_tool.py:698
Functiontest_execution_ttl_reads_from_env
FASTMCP_DOCKET_EXECUTION_TTL configures the execution TTL.
tests/tasks/server/test_task_ttl.py:91
Methodtest_exempt_params_skipped
(self)
tests/resources/test_resource_security.py:98
Methodtest_existing_field_unchanged
Test that existing Field annotations are unchanged.
tests/utilities/test_types.py:812
Functiontest_existing_maintainer_credit_is_preserved
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:236
Methodtest_existing_mcp_error_passes_through
An MCPError chosen upstream survives translation unchanged.
tests/test_exceptions.py:51
Methodtest_exists
Test pruning a parameter that exists.
tests/utilities/test_json_schema.py:53
Functiontest_exit_under_cancelled_scope_disconnects_members
A group exited by a cancelled scope must release its hold and disconnect its members, as Client does.
tests/client/group/test_client_group.py:568
Methodtest_exits_when_no_tasks_extension_registered
A server with no TasksExtension has nothing for the CLI to serve.
tests/cli/test_tasks.py:32
Methodtest_exits_with_helpful_error_for_memory_url
Test that it exits with helpful error for memory:// URLs.
tests/cli/test_tasks.py:48
Methodtest_exits_with_subprocess_error_code
Test that non-zero exit codes from the module are propagated.
tests/cli/test_run.py:989
Methodtest_expand_continuation_after_query
(self)
tests/resources/test_resource_template_level3.py:162
Methodtest_expand_continuation_without_query_value
(self)
tests/resources/test_resource_template_level3.py:166
Methodtest_expand_encodes_literals
(self, uri_template: str, expected: str)
tests/resources/test_resource_template.py:1744
Methodtest_expand_encodes_reserved_characters
Path values are percent-encoded so the result round-trips through match.
tests/resources/test_resource_template.py:1508
Methodtest_expand_ignores_extra_params
(self)
tests/resources/test_resource_template.py:1486
Methodtest_expand_joins_blocks_into_one_query_string
(self)
tests/resources/test_resource_template_query_params.py:553
Methodtest_expand_joins_list_with_literal_commas
(self, tags, expected)
tests/resources/test_resource_template.py:1856
Methodtest_expand_match_round_trip_across_blocks
(self)
tests/resources/test_resource_template_query_params.py:565
Methodtest_expand_match_roundtrip
(self)
tests/resources/test_resource_template.py:1758
Methodtest_expand_query_params
(self)
tests/resources/test_resource_template.py:1465
Methodtest_expand_query_params_none
(self)
tests/resources/test_resource_template.py:1482
Methodtest_expand_query_params_partial
(self)
tests/resources/test_resource_template.py:1475
Methodtest_expand_resolves_sanitized_keys
( self, template: str, params: dict[str, str], expected: str )
tests/resources/test_resource_template.py:2043
Methodtest_expand_simple_params
( self, template: str, params: dict[str, str], expected: str )
tests/resources/test_resource_template.py:1441
Methodtest_expand_then_match_is_identity
Extracting params from a URI and expanding them back reproduces the URI.
tests/resources/test_resource_template.py:1532
Methodtest_expand_uri_template_with_hyphens
expand_uri_template maps underscored params to hyphenated placeholders.
tests/resources/test_resource_template.py:1046
Methodtest_expand_wildcard_params
( self, template: str, params: dict[str, str], expected: str )
tests/resources/test_resource_template.py:1460
Methodtest_expands_user_path
(self, skills_server: FastMCP, tmp_path: Path)
tests/utilities/test_skills.py:370
Methodtest_experimental_capabilities_default_empty
(self)
tests/test_apps.py:425
Methodtest_experimental_capabilities_in_initialize_result
(self)
tests/test_apps.py:415
Functiontest_experimental_skills_refuses_subclasses
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:227
Functiontest_experimental_skills_returns_the_replacement
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:93
Functiontest_experimental_skills_still_rejects_custom_main_file
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:114
Methodtest_expired_cache_entry_triggers_new_introspection
Test that expired cache entries are evicted and a new call is made.
tests/server/auth/providers/test_introspection.py:890
Methodtest_expired_cached_token_rediscovers_issuer
( self, provider_type, metadata_case )
tests/client/auth/test_client_credentials.py:832
Methodtest_expired_client_info_removes_stale_registration
(self)
tests/client/auth/test_oauth_client.py:681
Methodtest_expired_distinct_token_does_not_evict_valid_entry_when_full
(self)
tests/utilities/test_token_cache.py:172
Functiontest_expired_dynamic_registration_is_retried
()
tests/client/auth/test_oauth_client.py:175
Methodtest_expired_entry_is_evicted_on_get
(self)
tests/utilities/test_token_cache.py:131
Functiontest_expired_keys_wait_for_successful_refresh
( key_data: dict[str, Any], clock: list[float] )
tests/server/auth/test_jwks_refresh.py:181
Methodtest_expired_or_invalid_token_returns_none
HTTP 400 from tokeninfo endpoint causes verify_token to return None.
tests/server/auth/providers/test_google.py:330
Methodtest_expired_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:507
Methodtest_expired_stored_token_is_refetched
Recreating a provider against a store holding an already-expired token re-fetches instead of trusting the stale token as if it never expires.
tests/client/auth/test_client_credentials.py:449
Methodtest_expired_token
(self, mcp_server_url: str, rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider_bearer.py:533
← previousnext →9,901–10,000 of 16,725, ranked by callers