Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
Method
test_exclude_tags_all_tools
(self)
tests/server/providers/local_provider_tools/test_tags.py:70
Method
test_exclude_tags_error_mentions_disable
(self)
tests/deprecated/server/test_include_exclude_tags.py:19
Method
test_exclude_tags_raises_type_error
(self)
tests/deprecated/server/test_include_exclude_tags.py:11
Method
test_exclude_tags_some_prompts
(self)
tests/server/providers/test_local_provider_prompts.py:456
Method
test_exclude_tags_some_resources
(self)
tests/server/providers/test_local_provider_resources.py:721
Method
test_exclude_tags_some_resources
(self)
tests/server/providers/test_local_provider_resources.py:933
Method
test_exclude_tags_some_tools
(self)
tests/server/providers/local_provider_tools/test_tags.py:75
Method
test_exclude_takes_precedence_over_include
(self)
tests/server/providers/test_local_provider_resources.py:938
Method
test_exclude_takes_precedence_over_include
(self)
tests/server/providers/test_local_provider_prompts.py:461
Method
test_excludes_none_fields
(self)
tests/test_apps.py:43
Method
test_excludes_none_fields
(self)
tests/test_apps.py:84
Method
test_excludes_none_fields
(self)
tests/test_apps.py:130
Method
test_excludes_none_fields
(self)
tests/test_apps.py:178
Method
test_exclusive_maximum_rejects_equal
(self, exclusive_max_number)
tests/utilities/json_schema_type/test_constraints.py:130
Method
test_exclusive_minimum_rejects_equal
(self, exclusive_min_number)
tests/utilities/json_schema_type/test_constraints.py:116
Method
test_execution_override_takes_precedence
Test that explicit override takes precedence over field value.
tests/tools/tool/test_tool.py:698
Function
test_execution_ttl_reads_from_env
FASTMCP_DOCKET_EXECUTION_TTL configures the execution TTL.
tests/tasks/server/test_task_ttl.py:91
Method
test_exempt_params_skipped
(self)
tests/resources/test_resource_security.py:98
Method
test_existing_field_unchanged
Test that existing Field annotations are unchanged.
tests/utilities/test_types.py:812
Function
test_existing_maintainer_credit_is_preserved
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:236
Method
test_existing_mcp_error_passes_through
An MCPError chosen upstream survives translation unchanged.
tests/test_exceptions.py:51
Method
test_exists
Test pruning a parameter that exists.
tests/utilities/test_json_schema.py:53
Function
test_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
Method
test_exits_when_no_tasks_extension_registered
A server with no TasksExtension has nothing for the CLI to serve.
tests/cli/test_tasks.py:32
Method
test_exits_with_helpful_error_for_memory_url
Test that it exits with helpful error for memory:// URLs.
tests/cli/test_tasks.py:48
Method
test_exits_with_subprocess_error_code
Test that non-zero exit codes from the module are propagated.
tests/cli/test_run.py:989
Method
test_expand_continuation_after_query
(self)
tests/resources/test_resource_template_level3.py:162
Method
test_expand_continuation_without_query_value
(self)
tests/resources/test_resource_template_level3.py:166
Method
test_expand_encodes_literals
(self, uri_template: str, expected: str)
tests/resources/test_resource_template.py:1744
Method
test_expand_encodes_reserved_characters
Path values are percent-encoded so the result round-trips through match.
tests/resources/test_resource_template.py:1508
Method
test_expand_ignores_extra_params
(self)
tests/resources/test_resource_template.py:1486
Method
test_expand_joins_blocks_into_one_query_string
(self)
tests/resources/test_resource_template_query_params.py:553
Method
test_expand_joins_list_with_literal_commas
(self, tags, expected)
tests/resources/test_resource_template.py:1856
Method
test_expand_match_round_trip_across_blocks
(self)
tests/resources/test_resource_template_query_params.py:565
Method
test_expand_match_roundtrip
(self)
tests/resources/test_resource_template.py:1758
Method
test_expand_query_params
(self)
tests/resources/test_resource_template.py:1465
Method
test_expand_query_params_none
(self)
tests/resources/test_resource_template.py:1482
Method
test_expand_query_params_partial
(self)
tests/resources/test_resource_template.py:1475
Method
test_expand_resolves_sanitized_keys
( self, template: str, params: dict[str, str], expected: str )
tests/resources/test_resource_template.py:2043
Method
test_expand_simple_params
( self, template: str, params: dict[str, str], expected: str )
tests/resources/test_resource_template.py:1441
Method
test_expand_then_match_is_identity
Extracting params from a URI and expanding them back reproduces the URI.
tests/resources/test_resource_template.py:1532
Method
test_expand_uri_template_with_hyphens
expand_uri_template maps underscored params to hyphenated placeholders.
tests/resources/test_resource_template.py:1046
Method
test_expand_wildcard_params
( self, template: str, params: dict[str, str], expected: str )
tests/resources/test_resource_template.py:1460
Method
test_expands_user_path
(self, skills_server: FastMCP, tmp_path: Path)
tests/utilities/test_skills.py:370
Method
test_experimental_capabilities_default_empty
(self)
tests/test_apps.py:425
Method
test_experimental_capabilities_in_initialize_result
(self)
tests/test_apps.py:415
Function
test_experimental_skills_refuses_subclasses
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:227
Function
test_experimental_skills_returns_the_replacement
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:93
Function
test_experimental_skills_still_rejects_custom_main_file
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:114
Method
test_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
Method
test_expired_cached_token_rediscovers_issuer
( self, provider_type, metadata_case )
tests/client/auth/test_client_credentials.py:814
Method
test_expired_client_info_removes_stale_registration
(self)
tests/client/auth/test_oauth_client.py:681
Function
test_expired_dynamic_registration_is_retried
()
tests/client/auth/test_oauth_client.py:175
Method
test_expired_entry_is_evicted_on_get
(self)
tests/utilities/test_token_cache.py:131
Function
test_expired_keys_wait_for_successful_refresh
( key_data: dict[str, Any], clock: list[float] )
tests/server/auth/test_jwks_refresh.py:181
Method
test_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
Method
test_expired_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:483
Method
test_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
Method
test_expired_token
(self, mcp_server_url: str, rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider_bearer.py:533
Method
test_expired_token_rejection
Test rejection of expired tokens.
tests/server/auth/test_jwt_provider_bearer.py:125
Method
test_expired_token_returns_none
Test that expired tokens return None.
tests/server/auth/providers/test_introspection.py:159
Method
test_expires_at_computed_from_expires_in
expires_at is set from expires_in returned by tokeninfo.
tests/server/auth/providers/test_google.py:529
Method
test_expires_at_derived_from_expires_in
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:171
Method
test_expires_at_from_introspection
expires_at is set from the 'exp' claim in the introspection response.
tests/server/auth/providers/test_clerk.py:445
Function
test_expiry_does_not_refresh_on_read
(clock: list[float])
tests/apps/test_file_upload_retention.py:116
Function
test_expiry_requires_positive_finite_value
(ttl: float)
tests/apps/test_file_upload_retention.py:173
Function
test_expiry_returns_global_capacity
(clock: list[float])
tests/apps/test_file_upload_retention.py:142
Function
test_explain_prompt_levels
Test explain prompt with different detail levels
examples/testing_demo/tests/test_server.py:93
Method
test_explicit_app_config_not_overridden
(self)
tests/test_apps_prefab.py:178
Method
test_explicit_auth_none_disables_oauth
(self)
tests/cli/test_client_commands.py:702
Function
test_explicit_child_extension_added_after_mount_is_discovered
()
tests/server/test_provider_extensions.py:557
Function
test_explicit_client_id_must_match_assertion_subject
( token_client: TestClient, rsa_key_pair: RSAKeyPair )
tests/server/auth/test_private_key_jwt_auth.py:155
Method
test_explicit_client_info_wins
(self, mode: str)
tests/client/client/test_initialize.py:144
Function
test_explicit_configuration_suppresses_conflict_warning
( caplog: pytest.LogCaptureFixture, )
tests/server/test_provider_extensions.py:257
Function
test_explicit_configuration_wins_and_removes_optional_method
( explicit_first: bool, )
tests/server/test_provider_extensions.py:199
Method
test_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
Method
test_explicit_field_description_overrides_docstring
Field(description=...) takes precedence over docstring.
tests/prompts/test_prompt.py:603
Method
test_explicit_host_origin_protection_is_kept
( self, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_apps_dev_server.py:715
Method
test_explicit_http_overrides_sse_path
(self)
tests/cli/test_client_commands.py:494
Method
test_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
Method
test_explicit_issuer_enforced
With an explicit token_issuer, wrong issuers are rejected.
tests/server/auth/providers/test_azure.py:1060
Function
test_explicit_json_null
( version: str, property_schema: dict[str, Any], with_name: bool, media_type: str )
tests/utilities/openapi/test_null_body.py:27
Function
test_explicit_label_signal_override_is_preserved
(ranking_module)
tests/test_issue_ranking.py:156
Function
test_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
Method
test_explicit_localhost_patterns
Test that explicitly passing DEFAULT_LOCALHOST_PATTERNS restricts to localhost.
tests/server/auth/test_redirect_validation.py:629
Function
test_explicit_middleware_identity_decides_result_stamps
An explicit middleware identity governs results, not just discovery.
tests/server/providers/proxy/test_server_metadata.py:738
Method
test_explicit_mime_type_overrides_ui_default
(self)
tests/test_apps.py:304
Function
test_explicit_missing_history_fails_without_reset
(backlog, tmp_path, monkeypatch)
tests/test_backlog_status.py:95
Method
test_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
Method
test_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
Method
test_explicit_model_null_policy_is_preserved
(self)
tests/tools/tool/test_nonfinite_serialization.py:145
Method
test_explicit_name_overrides_title
(self)
tests/utilities/json_schema_type/test_advanced.py:1098
Method
test_explicit_name_root_self_reference
(self)
tests/utilities/json_schema_type/test_advanced.py:394
Method
test_explicit_none_disables
(self)
tests/resources/test_resource_security.py:324
Method
test_explicit_none_raises_type_error
(self)
tests/client/test_elicitation.py:669
Function
test_explicit_oauth_keeps_oauth_with_authorization_header
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_fastmcp_remote.py:119
Method
test_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
Method
test_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
Function
test_explicit_override_after_startup_rejected
()
tests/server/test_provider_extensions.py:330
Function
test_explicit_precedence_is_logged
(caplog: pytest.LogCaptureFixture)
tests/server/test_provider_extensions.py:278
← previous
next →
9,401–9,500 of 15,974, ranked by callers