MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

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_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:814
Methodtest_expired_client_info_removes_stale_registration
(self)
tests/client/auth/test_oauth_client.py:681
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:483
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:447
Methodtest_expired_token
(self, mcp_server_url: str, rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider_bearer.py:533
Methodtest_expired_token_rejection
Test rejection of expired tokens.
tests/server/auth/test_jwt_provider_bearer.py:125
Methodtest_expired_token_returns_none
Test that expired tokens return None.
tests/server/auth/providers/test_introspection.py:159
Methodtest_expires_at_computed_from_expires_in
expires_at is set from expires_in returned by tokeninfo.
tests/server/auth/providers/test_google.py:529
Methodtest_expires_at_derived_from_expires_in
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:171
Methodtest_expires_at_from_introspection
expires_at is set from the 'exp' claim in the introspection response.
tests/server/auth/providers/test_clerk.py:445
Functiontest_expiry_does_not_refresh_on_read
(clock: list[float])
tests/apps/test_file_upload_retention.py:116
Functiontest_expiry_requires_positive_finite_value
(ttl: float)
tests/apps/test_file_upload_retention.py:173
Functiontest_expiry_returns_global_capacity
(clock: list[float])
tests/apps/test_file_upload_retention.py:142
Functiontest_explain_prompt_levels
Test explain prompt with different detail levels
examples/testing_demo/tests/test_server.py:93
Methodtest_explicit_app_config_not_overridden
(self)
tests/test_apps_prefab.py:178
Methodtest_explicit_auth_none_disables_oauth
(self)
tests/cli/test_client_commands.py:702
Functiontest_explicit_child_extension_added_after_mount_is_discovered
()
tests/server/test_provider_extensions.py:557
Functiontest_explicit_client_id_must_match_assertion_subject
( token_client: TestClient, rsa_key_pair: RSAKeyPair )
tests/server/auth/test_private_key_jwt_auth.py:155
Methodtest_explicit_client_info_wins
(self, mode: str)
tests/client/client/test_initialize.py:144
Functiontest_explicit_configuration_suppresses_conflict_warning
( caplog: pytest.LogCaptureFixture, )
tests/server/test_provider_extensions.py:257
Functiontest_explicit_configuration_wins_and_removes_optional_method
( explicit_first: bool, )
tests/server/test_provider_extensions.py:199
Methodtest_explicit_description_keeps_docstring_arg_descriptions
Overriding the prompt description does not drop docstring-sourced argument descriptions — they come from separate parsing paths.
tests/prompts/test_prompt.py:629
Methodtest_explicit_field_description_overrides_docstring
Field(description=...) takes precedence over docstring.
tests/prompts/test_prompt.py:603
Methodtest_explicit_host_origin_protection_is_kept
( self, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_apps_dev_server.py:715
Methodtest_explicit_http_overrides_sse_path
(self)
tests/cli/test_client_commands.py:494
Methodtest_explicit_is_binary_false_overrides_mime_type
An explicit is_binary=False is kept for a non-text MIME type.
tests/resources/test_file_resources.py:168
Methodtest_explicit_issuer_enforced
With an explicit token_issuer, wrong issuers are rejected.
tests/server/auth/providers/test_azure.py:1060
Functiontest_explicit_json_null
( version: str, property_schema: dict[str, Any], with_name: bool, media_type: str )
tests/utilities/openapi/test_null_body.py:27
Functiontest_explicit_label_signal_override_is_preserved
(ranking_module)
tests/test_issue_ranking.py:156
Functiontest_explicit_list_tools_refreshes_past_client_response_cache
A cache-hinted server must not leave group.list_tools() serving a stale catalog: the explicit call is the documented refresh mechanism.
tests/client/group/test_client_group.py:401
Methodtest_explicit_localhost_patterns
Test that explicitly passing DEFAULT_LOCALHOST_PATTERNS restricts to localhost.
tests/server/auth/test_redirect_validation.py:629
Functiontest_explicit_middleware_identity_decides_result_stamps
An explicit middleware identity governs results, not just discovery.
tests/server/providers/proxy/test_server_metadata.py:738
Methodtest_explicit_mime_type_overrides_ui_default
(self)
tests/test_apps.py:304
Functiontest_explicit_missing_history_fails_without_reset
(backlog, tmp_path, monkeypatch)
tests/test_backlog_status.py:95
Methodtest_explicit_mode_overrides_mirroring
An explicit ``create_proxy(mode=...)`` pins the backend era regardless of the front connection's era, overriding mirroring.
tests/server/test_mrtr_guards.py:611
Methodtest_explicit_mode_overrides_mirroring
An explicit ``create_proxy(mode=...)`` pins the era all the way down, overriding what the front negotiated.
tests/server/test_mrtr_guards.py:693
Methodtest_explicit_model_null_policy_is_preserved
(self)
tests/tools/tool/test_nonfinite_serialization.py:145
Methodtest_explicit_name_overrides_title
(self)
tests/utilities/json_schema_type/test_advanced.py:1098
Methodtest_explicit_name_root_self_reference
(self)
tests/utilities/json_schema_type/test_advanced.py:394
Methodtest_explicit_none_disables
(self)
tests/resources/test_resource_security.py:324
Methodtest_explicit_none_raises_type_error
(self)
tests/client/test_elicitation.py:669
Functiontest_explicit_oauth_keeps_oauth_with_authorization_header
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_fastmcp_remote.py:119
Methodtest_explicit_object_schema_with_dict_return
Test that explicit object schemas work when function returns a dict.
tests/tools/tool/test_output_schema.py:418
Methodtest_explicit_object_schema_with_non_dict_return_fails
Test that explicit object schemas fail when function returns non-dict.
tests/tools/tool/test_output_schema.py:439
Functiontest_explicit_override_after_startup_rejected
()
tests/server/test_provider_extensions.py:330
Functiontest_explicit_precedence_is_logged
(caplog: pytest.LogCaptureFixture)
tests/server/test_provider_extensions.py:278
← previousnext →9,401–9,500 of 15,974, ranked by callers