MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_stores_http_client
(self)
tests/server/auth/providers/test_http_client.py:239
Methodtest_stores_http_client
(self)
tests/server/auth/providers/test_http_client.py:253
Methodtest_stores_http_client
(self)
tests/server/auth/providers/test_http_client.py:264
Methodtest_str_return_no_structured_content_without_schema
Test that str returns don't create structured content without output schema.
tests/tools/tool/test_content.py:428
Functiontest_str_vs_int
Test that string values are kept as strings even when they contain numbers, while numbers are parsed correctly.
tests/utilities/test_typeadapter.py:246
Methodtest_stream_event_list
(self)
tests/server/test_event_store.py:40
Methodtest_stream_event_list_empty
(self)
tests/server/test_event_store.py:44
Methodtest_streamable_http_app_auth_argument_applies
( self, rsa_key_pair: RSAKeyPair )
tests/contrib/test_component_manager.py:779
Functiontest_streamable_http_app_with_custom_middleware
Test that custom middleware works with StreamableHTTP app.
tests/server/http/test_http_middleware.py:85
Functiontest_streamable_http_no_mount_routes
Test that streamable HTTP app creates Route objects, not Mount objects.
tests/server/test_streamable_http_no_redirect.py:62
Functiontest_streamable_http_redirect_behavior
Test that non-matching paths get redirected correctly.
tests/server/test_streamable_http_no_redirect.py:42
Functiontest_streamable_http_route_structure
Test that streamable HTTP routes use Route objects with correct paths.
tests/server/test_streamable_http_no_redirect.py:14
Methodtest_streamable_http_sse_read_timeout_removed
(self)
tests/test_upgrade_from_v3.py:322
Methodtest_streamable_http_transport
(self)
tests/cli/test_discovery.py:707
Methodtest_streamable_http_transport_accepted
Test that streamable-http transport is accepted as a valid value.
tests/cli/test_mcp_server_config_integration.py:254
Methodtest_streamable_http_transport_binds_client_credentials
(self)
tests/client/auth/test_client_credentials.py:642
Methodtest_streamable_http_transport_stores_verify_cert_path
(self)
tests/client/transports/test_transports.py:96
Methodtest_streamable_http_transport_stores_verify_false
(self)
tests/client/transports/test_transports.py:81
Methodtest_streamable_http_transport_stores_verify_ssl_context
(self)
tests/client/transports/test_transports.py:88
Methodtest_streamable_http_transport_verify_default_is_none
(self)
tests/client/transports/test_transports.py:103
Methodtest_streamable_http_verify_propagates_to_oauth
(self)
tests/client/transports/test_transports.py:165
Methodtest_strict_field_rejects_coercion
(self)
tests/server/test_input_validation.py:233
Methodtest_strict_model_config_rejects_coercion
(self)
tests/server/test_input_validation.py:258
Methodtest_strict_rejects_public_host_when_server_scope_is_ambiguous
(self)
tests/server/http/test_http_auth_middleware.py:204
Methodtest_strict_type_rejects_coercion
(self)
tests/server/test_input_validation.py:247
Methodtest_string
(self)
tests/cli/test_client_commands.py:78
Methodtest_string
(self)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:52
Methodtest_string_accepts_string
(self, simple_string)
tests/utilities/json_schema_type/test_json_schema_type.py:44
Methodtest_string_coercible_non_string_annotations_decode_json
( self, annotation: Any, value: str, expected: Any )
tests/prompts/test_prompt.py:360
Methodtest_string_compatible_annotation_guidance_preserves_raw_strings
(self)
tests/prompts/test_prompt.py:375
Methodtest_string_compatible_annotations_preserve_wire_strings
( self, annotation: Any, value: str )
tests/prompts/test_prompt.py:330
Methodtest_string_const_invalid
(self, string_const)
tests/utilities/json_schema_type/test_advanced.py:240
Methodtest_string_const_valid
(self, string_const)
tests/utilities/json_schema_type/test_advanced.py:236
Methodtest_string_content
String input creates text content with text/plain mime type.
tests/resources/test_resources.py:125
Methodtest_string_default
Unknown or missing type treats value as string.
tests/cli/test_client_commands.py:81
Methodtest_string_default_preserved
Test that string defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:399
Methodtest_string_entrypoint_with_entrypoint_and_environment
Test that file.py:entrypoint syntax works with environment config.
tests/cli/test_config.py:324
Methodtest_string_fallback_for_invalid_versions
Invalid PEP 440 versions should fall back to string comparison.
tests/server/versioning/test_versioning.py:50
Methodtest_string_float_coercion
Test that string floats are also coerced.
tests/server/test_input_validation.py:107
Methodtest_string_integer_with_strict_validation
With strict validation, string integers should raise an error.
tests/server/test_input_validation.py:55
Methodtest_string_integer_without_strict_validation
Without strict validation, string integers should be coerced.
tests/server/test_input_validation.py:77
Methodtest_string_issuer_mismatch_rejection
Test that mismatched string issuers are rejected.
tests/server/auth/test_jwt_provider_bearer.py:443
Methodtest_string_issuer_validation
Test that string (non-URL) issuers are supported per RFC 7519.
tests/server/auth/test_jwt_provider_bearer.py:425
Methodtest_string_non_url
(self)
tests/cli/test_discovery.py:722
Methodtest_string_parameters_no_enhancement
Test that string parameters don't get schema enhancement.
tests/prompts/test_prompt.py:488
Methodtest_string_preserves_numeric_looking_values
(self)
tests/cli/test_client_commands.py:85
Methodtest_string_rejects_number
(self, simple_string)
tests/utilities/json_schema_type/test_json_schema_type.py:48
Methodtest_string_script_path_still_works_but_warns
(self, tmp_path)
tests/client/client/test_transport.py:156
Methodtest_string_to_missing_script_is_not_a_transport
(self, tmp_path)
tests/client/client/test_transport.py:182
Methodtest_string_url
(self)
tests/cli/test_discovery.py:719
Methodtest_stringified_json_not_auto_parsed_for_pydantic_models
Stringified JSON is rejected for Pydantic model parameters. Some LLM clients send stringified JSON (a JSON string containing a JSON o
tests/server/test_input_validation.py:159
Methodtest_strips_discriminator_mapping_after_inlining
Discriminator.mapping refs dangle after $defs are inlined (#3679).
tests/utilities/test_json_schema.py:282
Methodtest_strips_file_ref
(self)
tests/utilities/test_json_schema.py:1135
Methodtest_strips_http_ref
(self)
tests/utilities/test_json_schema.py:1127
Methodtest_strips_https_ref
(self)
tests/utilities/test_json_schema.py:1131
Methodtest_strips_nested_remote_refs
(self)
tests/utilities/test_json_schema.py:1148
Methodtest_strips_remote_refs_in_lists
(self)
tests/utilities/test_json_schema.py:1159
Methodtest_structured_and_unstructured_content
(self, client)
tests/tools/tool/test_results.py:51
Methodtest_structured_content_interaction_with_wrapping
Test that structured content works correctly with schema wrapping.
tests/tools/tool/test_output_schema.py:471
Methodtest_structured_content_uses_dict_not_data
structured_content (raw dict) is used for display, not data (which may be a non-serializable dataclass).
tests/cli/test_client_commands.py:543
Methodtest_structured_content_with_custom_wrapper_schema
Test structured content with custom schema that includes wrap marker.
tests/tools/tool/test_output_schema.py:515
Methodtest_structured_content_with_explicit_object_schema
Test structured content with explicit object schema.
tests/tools/tool/test_output_schema.py:496
Methodtest_structured_logging_middleware_handles_errors
Test structured logging of errors with JSON format.
tests/server/middleware/test_logging.py:562
Methodtest_structured_logging_middleware_produces_json
Test that structured logging middleware produces parseable JSON logs.
tests/server/middleware/test_logging.py:539
Methodtest_structured_output_schema
(self, annotation)
tests/server/providers/local_provider_tools/test_output_schema.py:72
Functiontest_structured_response_type
Test elicitation with dataclass response type.
tests/client/test_elicitation.py:522
Methodtest_structured_unstructured_and_meta_content
(self, client)
tests/tools/tool/test_results.py:62
Methodtest_sub_half_rate_default_burst_admits_requests
( self, mock_context, mock_call_next, monkeypatch, global_limit )
tests/server/middleware/test_rate_limiting.py:279
Methodtest_sub_lifespan_is_executed
(self)
tests/server/mount/test_proxy.py:201
Methodtest_subclass_is_instance
Test that subclasses are instances of Provider.
tests/server/test_providers.py:293
Methodtest_subdomain_wildcard
Test wildcard matching for subdomains.
tests/server/auth/test_redirect_validation.py:270
Methodtest_subject_carried_over_when_converting_sdk_access_token
A raw SDK AccessToken with a populated subject survives conversion.
tests/server/http/test_stale_access_token.py:181
Methodtest_subject_is_none_without_sub_claim
A JWT with no 'sub' claim yields subject=None instead of crashing.
tests/server/auth/test_jwt_provider.py:629
Methodtest_subject_none_when_converting_sdk_access_token_without_subject
A raw SDK AccessToken with no subject converts cleanly to subject=None.
tests/server/http/test_stale_access_token.py:203
Methodtest_subject_populated_from_sub_claim
A JWT bearing a 'sub' claim results in a populated subject.
tests/server/auth/test_jwt_provider.py:614
Methodtest_submit_boolean_false_omitted
Unchecked checkboxes omit the field; submit_form should still succeed.
tests/apps/test_form.py:97
Methodtest_submit_boolean_true_preserved
When a boolean field is explicitly True, it should be preserved.
tests/apps/test_form.py:110
Methodtest_submit_no_data_does_not_crash
When data is omitted entirely, the tool should not raise a missing argument error.
tests/apps/test_form.py:122
Methodtest_submit_validates_and_returns_json
(self)
tests/apps/test_form.py:56
Methodtest_submit_with_callback
(self)
tests/apps/test_form.py:69
Methodtest_subtype_body_is_unaffected
A body referencing the child still resolves through allOf only.
tests/server/providers/openapi/test_openapi_discriminator.py:281
Methodtest_subtype_fields_are_advertised
Fields reachable only through discriminator.mapping reach the schema.
tests/server/providers/openapi/test_openapi_discriminator.py:179
Methodtest_subtype_fields_are_optional
Only the discriminator is required; variant fields never are.
tests/server/providers/openapi/test_openapi_discriminator.py:185
Methodtest_succeeds_with_redis_url
Test that it succeeds with Redis URL.
tests/cli/test_tasks.py:36
Methodtest_success
(self, capsys: pytest.CaptureFixture[str])
tests/cli/test_cimd_cli.py:167
Methodtest_success
(self, mock_print, mock_open)
tests/cli/test_goose.py:188
Methodtest_success_delegates_to_assertion_validator
On success, validate_private_key_jwt delegates to the assertion validator.
tests/server/auth/test_cimd_validators.py:583
Methodtest_success_redirect_does_not_duplicate_iss_already_in_redirect_uri
RFC 9207 P2 regression: a registered redirect_uri may already carry its own `iss` query parameter — distinct from the provider adding
tests/server/auth/test_enhanced_error_responses.py:365
Methodtest_success_redirect_does_not_duplicate_iss_already_in_redirect_uri
RFC 9207 P2 regression at the success-redirect call site: a registered redirect_uri already carrying `iss` must end up with exactly on
tests/server/auth/oauth_proxy/test_oauth_proxy.py:533
Methodtest_success_redirect_from_authorize_override_includes_issuer
RFC 9207 regression: a `code` redirect returned directly by `authorize()` (bypassing consent/upstream) must carry `iss` too, not just
tests/server/auth/test_enhanced_error_responses.py:302
Methodtest_success_redirect_with_matching_iss_not_duplicated
If a provider's `authorize()` override already stamped the correct `iss` on its redirect, `handle()` must not append a second one — RF
tests/server/auth/test_enhanced_error_responses.py:433
Methodtest_success_redirect_with_mismatched_iss_is_corrected
A provider's `authorize()` override can put an `iss` on its redirect that doesn't match what this server advertises in its own discove
tests/server/auth/test_enhanced_error_responses.py:484
Methodtest_success_uses_uvx
(self, mock_print, mock_open)
tests/cli/test_goose.py:203
Methodtest_successful_authorization_not_enhanced
Test that successful authorizations are not modified by enhancement.
tests/server/auth/test_enhanced_error_responses.py:183
Methodtest_successful_result_is_still_cached
(self)
tests/server/middleware/test_caching.py:755
Methodtest_summary_and_detail_are_truncated
(self)
tests/experimental/transforms/test_jev_search.py:320
Functiontest_summary_counts_unique_humans_and_flags_first_time_candidates
()
tests/scripts/test_release_contributor_credit.py:195
Methodtest_summary_only
(self)
tests/utilities/test_docstring_parsing.py:196
Methodtest_supported_pattern_still_enforced
Valid patterns are not affected by the fallback logic.
tests/utilities/json_schema_type/test_json_schema_type.py:355
Methodtest_supported_scopes_from_server
(self)
tests/server/auth/test_multi_auth.py:125
← previousnext →11,901–12,000 of 13,374, ranked by callers