MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_store_event_returns_event_id
(self, event_store, sample_message)
tests/server/test_event_store.py:65
Methodtest_store_multiple_events
(self, event_store, sample_message)
tests/server/test_event_store.py:76
Functiontest_stored_credential_precedes_interactive_authorization
( tmp_path: Path, )
tests/cli/deploy/test_credentials.py:134
Methodtest_stored_falsy_value_is_not_treated_as_missing
(self)
tests/server/test_sessions.py:179
Methodtest_stored_on_instance
(self)
tests/client/auth/test_oauth_cimd.py:21
Methodtest_stored_value_is_not_readable
( self, echo_token_server: FastMCP, encryption_key: str )
tests/tasks/server/test_snapshot_encryption.py:238
Methodtest_stores_http_client
(self, shared_client: httpx2.AsyncClient)
tests/server/auth/providers/test_http_client.py:25
Methodtest_stores_http_client
(self, shared_client: httpx2.AsyncClient)
tests/server/auth/providers/test_http_client.py:131
Methodtest_stores_http_client
(self)
tests/server/auth/providers/test_http_client.py:209
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
Methodtest_str_return_still_preserves_component_meta
Control: the str path keeps attaching component meta.
tests/resources/test_resources.py:413
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:831
Functiontest_streamable_http_app_with_custom_middleware
Test that custom middleware works with StreamableHTTP app.
tests/server/http/test_http_middleware.py:86
Methodtest_streamable_http_discovery_and_resolution
( self, goose_config_path: Path, tmp_path: Path, url: str, headers: di
tests/cli/test_discovery.py:585
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:835
Methodtest_streamable_http_transport_accepted
Test that streamable-http transport is accepted as a valid value.
tests/cli/test_mcp_server_config_integration.py:255
Methodtest_streamable_http_transport_binds_client_credentials
(self)
tests/client/auth/test_client_credentials.py:685
Methodtest_streamable_http_transport_stores_verify_cert_path
(self)
tests/client/transports/test_transports.py:97
Methodtest_streamable_http_transport_stores_verify_false
(self)
tests/client/transports/test_transports.py:82
Methodtest_streamable_http_transport_stores_verify_ssl_context
(self)
tests/client/transports/test_transports.py:89
Methodtest_streamable_http_transport_verify_default_is_none
(self)
tests/client/transports/test_transports.py:104
Methodtest_streamable_http_verify_propagates_to_oauth
(self)
tests/client/transports/test_transports.py:166
Functiontest_streaming_credential_providers_are_rejected
()
tests/server/test_server_docket.py:195
Methodtest_strict_field_rejects_coercion
(self)
tests/server/test_input_validation.py:335
Functiontest_strict_input_validation_rejects_undeclared_arguments
()
tests/server/providers/openapi/test_undeclared_arguments.py:110
Methodtest_strict_model_config_rejects_coercion
(self)
tests/server/test_input_validation.py:360
Methodtest_strict_rejects_public_host_when_server_scope_is_ambiguous
(self)
tests/server/http/test_http_auth_middleware.py:313
Methodtest_strict_type_rejects_coercion
(self)
tests/server/test_input_validation.py:349
Functiontest_strict_validation_accepts_suffix_on_manual_route
()
tests/server/providers/openapi/test_undeclared_arguments.py:362
Functiontest_strict_validation_keeps_list_container_semantics
()
tests/utilities/json_schema_type/test_prefix_items.py:219
Methodtest_stricter_numeric_exclusive_drops_maximum
(self)
tests/utilities/json_schema_type/test_constraints.py:198
Methodtest_stricter_numeric_exclusive_drops_minimum
(self)
tests/utilities/json_schema_type/test_constraints.py:208
Methodtest_string
(self)
tests/cli/test_client_commands.py:89
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:408
Methodtest_string_compatible_annotation_guidance_preserves_raw_strings
(self)
tests/prompts/test_prompt.py:423
Methodtest_string_compatible_annotations_preserve_wire_strings
( self, annotation: Any, value: str )
tests/prompts/test_prompt.py:378
Methodtest_string_const_invalid
(self, string_const)
tests/utilities/json_schema_type/test_advanced.py:787
Methodtest_string_const_valid
(self, string_const)
tests/utilities/json_schema_type/test_advanced.py:783
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:92
Methodtest_string_default_preserved
Test that string defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:503
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:122
Methodtest_string_integer_with_strict_validation
With strict validation, string integers should raise an error.
tests/server/test_input_validation.py:70
Methodtest_string_integer_without_strict_validation
Without strict validation, string integers should be coerced.
tests/server/test_input_validation.py:92
Methodtest_string_issuer_mismatch_rejection
Test that mismatched string issuers are rejected.
tests/server/auth/test_jwt_provider_bearer.py:471
Methodtest_string_issuer_validation
Test that string (non-URL) issuers are supported per RFC 7519.
tests/server/auth/test_jwt_provider_bearer.py:453
Methodtest_string_mentioning_nan_is_not_rejected
(self)
tests/tools/tool/test_nonfinite_serialization.py:141
Methodtest_string_non_url
(self)
tests/cli/test_discovery.py:850
Methodtest_string_parameters_no_enhancement
Test that string parameters don't get schema enhancement.
tests/prompts/test_prompt.py:536
Methodtest_string_preserves_numeric_looking_values
(self)
tests/cli/test_client_commands.py:96
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:847
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:174
Methodtest_strip_explode_modifier
Test that the explode modifier (*) is stripped.
tests/resources/test_resource_template_level3.py:48
Methodtest_strips_discriminator_mapping_after_inlining
Discriminator.mapping refs dangle after $defs are inlined (#3679).
tests/utilities/test_json_schema.py:283
Methodtest_strips_discriminator_under_property_named_like_a_keyword
A property named like a data keyword still holds a sub-schema.
tests/utilities/test_json_schema.py:443
Methodtest_strips_file_ref
(self)
tests/utilities/test_json_schema.py:1330
Methodtest_strips_http_ref
(self)
tests/utilities/test_json_schema.py:1322
Methodtest_strips_https_ref
(self)
tests/utilities/test_json_schema.py:1326
Methodtest_strips_nested_remote_refs
(self)
tests/utilities/test_json_schema.py:1343
Methodtest_strips_remote_refs_in_lists
(self)
tests/utilities/test_json_schema.py:1354
Methodtest_structured_and_unstructured_content
(self, client)
tests/tools/tool/test_results.py:52
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:1002
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
Functiontest_structured_middleware_shares_the_filter
()
tests/server/middleware/test_logging_methods_filter.py:70
Methodtest_structured_output_schema
(self, annotation)
tests/server/providers/local_provider_tools/test_output_schema.py:71
Functiontest_structured_response_type
Test elicitation with dataclass response type.
tests/client/test_elicitation.py:549
Methodtest_structured_unstructured_and_meta_content
(self, client)
tests/tools/tool/test_results.py:63
Methodtest_sub_half_rate_default_burst_admits_requests
( self, mock_context, mock_call_next, monkeypatch, global_limit )
tests/server/middleware/test_rate_limiting.py:313
Methodtest_sub_lifespan_is_executed
(self)
tests/server/mount/test_proxy.py:201
Methodtest_sub_pointer_names_the_container_definition
(self)
tests/utilities/test_json_schema.py:946
Methodtest_subclass_is_instance
Test that subclasses are instances of Provider.
tests/server/test_providers.py:293
Functiontest_subclass_lock_around_inherited_lookup_does_not_deadlock
( key_data: dict[str, Any], )
tests/server/auth/test_jwks_refresh.py:227
Methodtest_subdomain_wildcard
Test wildcard matching for subdomains.
tests/server/auth/test_redirect_validation.py:330
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:98
Methodtest_submit_boolean_true_preserved
When a boolean field is explicitly True, it should be preserved.
tests/apps/test_form.py:111
← previousnext →14,201–14,300 of 15,974, ranked by callers