MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_show_banner_explicit_false_overrides_setting
Test that explicit show_banner=False overrides True setting.
tests/server/test_server.py:395
Methodtest_show_banner_explicit_true_overrides_setting
Test that explicit show_banner=True overrides False setting.
tests/server/test_server.py:384
Methodtest_show_banner_respects_setting_false
Test that show_banner=None uses the setting when False.
tests/server/test_server.py:372
Methodtest_show_server_banner_setting
Test that show_server_banner setting works with environment variable.
tests/cli/test_cli.py:396
Methodtest_shutdown_failure_does_not_mask_body_error
A broken teardown must never hide the failure the caller actually cares about.
tests/utilities/test_asgi_transport.py:166
Methodtest_shutdown_failure_raises
(self)
tests/utilities/test_asgi_transport.py:155
Functiontest_sibling_dependency_resolves_once
A CallArgument reference to a dependency-backed sibling shares one value.
tests/server/test_call_arguments.py:120
Functiontest_sibling_keywords_come_from_the_referenced_definition
()
tests/utilities/test_json_schema_expansion.py:261
Functiontest_signature_rejections_leave_cached_key_available
( key_data: dict[str, Any], rsa_key_pair: RSAKeyPair )
tests/server/auth/test_jwks_refresh.py:158
Methodtest_signed_assertion_flow
(self)
tests/client/auth/test_client_credentials.py:613
Functiontest_signed_assertion_reaches_refresh_grant
( token_client: TestClient, rsa_key_pair: RSAKeyPair, include_client_id: bool, grant_type: str
tests/server/auth/test_private_key_jwt_auth.py:85
Functiontest_simple_array_preserves_omission_and_explicit_values
( arguments: list[str], expected: list[str] )
tests/cli/test_generate_cli_empty_arrays.py:67
Methodtest_simple_boolean
(self)
tests/cli/test_generate_cli.py:51
Methodtest_simple_command
(self)
tests/cli/test_client_commands.py:511
Methodtest_simple_defaults_empty_object
(self, simple_defaults)
tests/utilities/json_schema_type/test_advanced.py:203
Methodtest_simple_defaults_partial_override
(self, simple_defaults)
tests/utilities/json_schema_type/test_advanced.py:209
Methodtest_simple_direct_array_schema
Test route with direct array request body schema.
tests/utilities/openapi/test_direct_array_schemas.py:16
Functiontest_simple_initialization_hook
Test that the on_initialize hook is called.
tests/server/middleware/test_initialization_middleware.py:115
Methodtest_simple_integer
(self)
tests/cli/test_generate_cli.py:41
Methodtest_simple_merge
(self)
tests/utilities/json_schema_type/test_advanced.py:914
Methodtest_simple_name
(self)
tests/cli/test_generate_cli.py:758
Methodtest_simple_name
(self)
tests/cli/test_goose.py:17
Methodtest_simple_number
(self)
tests/cli/test_generate_cli.py:46
Methodtest_simple_output_schema
(self, annotation)
tests/server/providers/local_provider_tools/test_output_schema.py:48
Functiontest_simple_prompt
A simple prompt for conformance testing.
tests/conformance/server.py:798
Methodtest_simple_ref_to_non_object
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:386
Methodtest_simple_ref_to_object
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:377
Methodtest_simple_return_annotation
(self, annotation)
tests/tools/tool/test_output_schema.py:52
Functiontest_simple_sampling
(fastmcp_server: FastMCP)
tests/client/test_sampling.py:99
Methodtest_simple_string
(self)
tests/cli/test_generate_cli.py:36
Methodtest_simple_string
(self)
tests/cli/test_generate_cli.py:790
Functiontest_simple_text
A simple text tool for conformance testing.
tests/conformance/server.py:95
Methodtest_simple_with_context
(self)
tests/tools/test_tool_future_annotations.py:73
Methodtest_single_check_fails
(self)
tests/server/auth/test_authorization.py:307
Methodtest_single_check_passes
(self)
tests/server/auth/test_authorization.py:303
Functiontest_single_client_group_provides_namespacing_alone
()
tests/client/group/test_client_group.py:271
Methodtest_single_dot_segment_rejected
(self)
tests/server/auth/test_redirect_validation.py:522
Functiontest_single_human_coauthor_of_bot_pr_is_credited
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:184
Methodtest_single_json_object_as_positional
(self)
tests/cli/test_client_commands.py:287
Methodtest_single_modern_capable_server_is_not_forced_legacy
A single Streamable HTTP backend stays modern-capable under mode='auto'.
tests/test_mcp_config.py:128
Methodtest_single_path_as_list
Test that single path can be passed as a list.
tests/server/providers/test_skills_provider.py:945
Methodtest_single_path_as_string
Test that single path can be passed as string.
tests/server/providers/test_skills_provider.py:953
Methodtest_single_query_param
Test resource template with single query parameter.
tests/resources/test_resource_template_query_params.py:11
Methodtest_single_request_orders_by_choice_probability
(self)
tests/experimental/transforms/test_jev_search.py:142
Methodtest_single_round_completes
One full MRTR round: the server asks, the client's elicitation_handler answers, and the tool completes with the answered value.
tests/client/client/test_input_required_driver.py:99
Functiontest_single_schema_keyword_refs_are_rewritten
(keyword: str)
tests/utilities/openapi/test_subschema_keyword_refs.py:29
Functiontest_single_server_config_include_tags_filtering
include_tags should filter tools even with a single server in the config.
tests/test_mcp_config.py:1133
Methodtest_single_server_config_target_forwards
(self, backend)
tests/server/providers/proxy/test_proxy_server.py:1487
Functiontest_single_server_config_transform_added_tags_filtering
Tags added by a `tools` transform are visible to include_tags/exclude_tags on a single-server config, matching the multi-server behavior (#6196).
tests/test_mcp_config.py:1540
Functiontest_single_server_config_transport
Test that single-server configs delegate directly without creating a composite.
tests/test_mcp_config.py:1385
Functiontest_single_server_per_call_timeout_overrides_entry
( backend_sessions: list[ClientSession], server_entry: dict[str, Any] )
tests/client/transports/test_config_timeout.py:109
Functiontest_single_server_transform_added_tags_filtering_in_memory
Same as the subprocess test above, but in-memory so it runs everywhere. The transforming single-server path must apply the `tools` transform
tests/test_mcp_config.py:1585
Methodtest_single_sse_server_mirrors_legacy_only
A single SSE backend is legacy-only because SSE cannot serve modern.
tests/test_mcp_config.py:137
Methodtest_single_verifier_not_in_list
A single TokenVerifier (not in a list) is accepted.
tests/server/auth/test_multi_auth.py:97
Methodtest_size_budget_evicts_large_schemas
(self, monkeypatch: pytest.MonkeyPatch)
tests/utilities/json_schema_type/test_generated_classes.py:615
Methodtest_size_limit_enforced_during_streaming
Verify that size limit is enforced as chunks are received, not after.
tests/server/auth/test_ssrf_protection.py:522
Functiontest_skill_accepts_dynamic_resources
()
tests/skills/test_models.py:128
Functiontest_skill_accepts_non_skill_scheme_and_nested_path
()
tests/skills/test_models.py:139
Functiontest_skill_client_cache_mode_bypass_reaches_server
()
tests/skills/test_extension.py:267
Functiontest_skill_client_cache_serves_list_and_keys_get_by_uri
()
tests/skills/test_extension.py:237
Methodtest_skill_contains_tools
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:713
Methodtest_skill_file_resource_meta
SkillFileResource populates meta with skill name.
tests/server/providers/test_skills_provider.py:491
Functiontest_skill_is_exported_from_fastmcp
()
tests/skills/test_skill.py:203
Functiontest_skill_is_immutable
()
tests/skills/test_skill.py:170
Methodtest_skill_meta_survives_mounting
Skill metadata in _meta is preserved when accessed through a mounted server.
tests/server/providers/test_skills_provider.py:502
Functiontest_skill_nested_in_another_roots_skill_is_skipped
(tmp_path: Path)
tests/skills/test_directory_provider.py:114
Functiontest_skill_preserves_protocol_metadata
()
tests/skills/test_models.py:255
Functiontest_skill_protocol_methods_preserve_cache_hints
()
tests/skills/test_extension.py:225
Functiontest_skill_provider_loads_and_serves_utf8_skill_md
SKILL.md and its supporting text files must be read as utf-8. Regression test for #4084. On Windows the default encoding is cp1252, so a bare
tests/server/providers/test_skills_provider.py:1130
Methodtest_skill_references_cli_filename
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:745
Functiontest_skill_requires_uri_name_to_match_frontmatter
()
tests/skills/test_models.py:134
Methodtest_skill_resource_meta
SkillResource populates meta with skill name and is_manifest.
tests/server/providers/test_skills_provider.py:472
Methodtest_skill_without_frontmatter_uses_header_as_description
( self, tmp_path: Path )
tests/server/providers/test_skills_provider.py:818
Functiontest_skip_count_is_pinned
A newly unrunnable example should be a deliberate choice.
tests/docs/test_upgrade_guide_examples.py:63
Functiontest_skip_names
Test that skipped parameters are not included in the schema
tests/utilities/test_typeadapter.py:180
Methodtest_skips_builtin_and_disabled
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_discovery.py:664
Methodtest_skips_disabled_and_invalid_http_extensions
(self, goose_config_path: Path)
tests/cli/test_discovery.py:618
Methodtest_skips_existing_without_overwrite
( self, skills_server: FastMCP, tmp_path: Path )
tests/utilities/test_skills.py:487
Methodtest_skips_manifest_paths_that_escape_target
(self, tmp_path: Path)
tests/utilities/test_skills.py:377
Methodtest_skips_when_fastmcp_context_is_none
Test that middleware passes through when fastmcp_context is None.
tests/server/middleware/test_ping.py:116
Methodtest_skips_when_request_context_is_none
Test that middleware passes through when request_context is None.
tests/server/middleware/test_ping.py:130
Methodtest_slash_in_param_is_encoded
(self, director, path_route)
tests/utilities/openapi/test_director.py:1191
Functiontest_sleeping_tv_does_not_block_startup_and_reconnects
(monkeypatch)
examples/smart_home/tests/test_fire_tv.py:239
Methodtest_sliding_window
Test sliding window behavior.
tests/server/middleware/test_rate_limiting.py:165
Methodtest_sliding_window_rate_limiting
Test sliding window rate limiting implementation.
tests/server/middleware/test_rate_limiting.py:604
Functiontest_slow_tool_with_http_transport
Test that tools taking >5 seconds work correctly with HTTP transport. This test verifies the fix for: - Issue #2842: Client can't get result
tests/integration_tests/test_timeout_fix.py:36
Methodtest_smaller_than_page_size
List smaller than page size should return all items.
tests/server/test_pagination.py:112
Methodtest_snake_and_camel_collision
(self)
tests/cli/test_generate_cli.py:1043
Functiontest_snapshot_restored_before_user_code_runs
A tool with no declared deps finds the snapshot already cached.
tests/tasks/server/test_snapshot_restore.py:38
Methodtest_snapshot_stays_plaintext_without_a_key
No key configured is the pre-existing contract, unchanged.
tests/tasks/server/test_snapshot_encryption.py:370
Functiontest_source_order_and_reconstruction_keep_identities
()
tests/server/auth/test_auth_source_identities.py:83
Methodtest_source_path_resolution
Test that source paths are resolved relative to config.
tests/cli/test_mcp_server_config_integration.py:178
Functiontest_source_token_subclass_fields_survive_qualification
()
tests/server/auth/test_auth_source_identities.py:419
Methodtest_space_delimited_explode_false
style=spaceDelimited, explode=false sends ids=1%202%203.
tests/utilities/openapi/test_director.py:799
Methodtest_spaces
(self)
tests/cli/test_generate_cli.py:106
Methodtest_span_omits_auth_attributes_when_not_authenticated
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:309
Methodtest_span_omits_scope_when_no_scopes
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:330
Functiontest_span_records_exception_once
( trace_exporter: InMemorySpanExporter, span_factory: Callable[[], AbstractContextManager[Span]], )
tests/telemetry/test_exception_recording.py:30
Methodtest_spans_fire_by_default
No opt-in required: a tool call produces a span out of the box.
tests/server/telemetry/test_server_tracing.py:597
Functiontest_spec_method_name_rejected
()
tests/server/test_extensions.py:488
← previousnext →14,001–14,100 of 15,974, ranked by callers