Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,098 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,098
◇
Types & classes
2,237
↳
Endpoints
189
Method
test_stdio_target_no_auth
(self)
tests/cli/test_client_commands.py:696
Method
test_stdio_transport
(self)
tests/cli/test_discovery.py:843
Method
test_stdio_transport
(self)
tests/cli/test_client_commands.py:545
Method
test_stdio_transport_basic
(self)
tests/cli/test_generate_cli.py:124
Method
test_stdio_transport_with_env
(self)
tests/cli/test_generate_cli.py:132
Method
test_stdio_type_unchanged
Stdio entries have ``type`` as a proper field — leave it alone.
tests/cli/test_discovery.py:259
Method
test_stdio_with_copy
Test stdio install with copy to clipboard option.
tests/cli/test_install.py:410
Method
test_stdio_with_packages
Test stdio install with additional packages.
tests/cli/test_install.py:416
Method
test_stdlib_not_shadowed_by_same_named_file
A provider file named json.py must not overwrite sys.modules['json'].
tests/fs/test_discovery.py:543
Method
test_step_up_requests_union_of_scopes
(self)
tests/client/auth/test_client_credentials.py:532
Method
test_stopped_owning_loop_keeps_the_connection
A stopped loop can't run the teardown, so the connection stays its. Moving to another loop would otherwise forget a subprocess that nothing
tests/client/test_stdio.py:513
Method
test_stops_at_home
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:450
Method
test_storage_collections_are_isolated
Verify that transactions, codes, and clients use separate collections.
tests/server/auth/test_oauth_consent_flow.py:355
Method
test_storage_data_structure
Test that storage uses proper structured format.
tests/server/auth/test_oauth_proxy_storage.py:175
Method
test_storage_key_does_not_embed_the_raw_principal
The injected session is stored under the reserved per-user id, not under the raw principal JSON — proven by reconstructing a `Session`
tests/server/test_session_provider.py:230
Method
test_storage_uses_pydantic_adapter
Verify that PydanticAdapter serializes/deserializes correctly.
tests/server/auth/test_oauth_consent_flow.py:869
Method
test_store_event_priming_event
Test storing a priming event (message=None).
tests/server/test_event_store.py:71
Method
test_store_event_returns_event_id
(self, event_store, sample_message)
tests/server/test_event_store.py:65
Method
test_store_multiple_events
(self, event_store, sample_message)
tests/server/test_event_store.py:76
Function
test_stored_credential_precedes_interactive_authorization
( tmp_path: Path, )
tests/cli/deploy/test_credentials.py:134
Method
test_stored_falsy_value_is_not_treated_as_missing
(self)
tests/server/test_sessions.py:179
Method
test_stored_on_instance
(self)
tests/client/auth/test_oauth_cimd.py:21
Method
test_stored_value_is_not_readable
( self, echo_token_server: FastMCP, encryption_key: str )
tests/tasks/server/test_snapshot_encryption.py:238
Method
test_stores_http_client
(self, shared_client: httpx2.AsyncClient)
tests/server/auth/providers/test_http_client.py:25
Method
test_stores_http_client
(self, shared_client: httpx2.AsyncClient)
tests/server/auth/providers/test_http_client.py:131
Method
test_stores_http_client
(self)
tests/server/auth/providers/test_http_client.py:209
Method
test_stores_http_client
(self)
tests/server/auth/providers/test_http_client.py:239
Method
test_stores_http_client
(self)
tests/server/auth/providers/test_http_client.py:253
Method
test_stores_http_client
(self)
tests/server/auth/providers/test_http_client.py:264
Method
test_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
Method
test_str_return_still_preserves_component_meta
Control: the str path keeps attaching component meta.
tests/resources/test_resources.py:413
Function
test_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
Method
test_stream_event_list
(self)
tests/server/test_event_store.py:40
Method
test_stream_event_list_empty
(self)
tests/server/test_event_store.py:44
Method
test_streamable_http_app_auth_argument_applies
( self, rsa_key_pair: RSAKeyPair )
tests/contrib/test_component_manager.py:831
Function
test_streamable_http_app_with_custom_middleware
Test that custom middleware works with StreamableHTTP app.
tests/server/http/test_http_middleware.py:86
Method
test_streamable_http_discovery_and_resolution
( self, goose_config_path: Path, tmp_path: Path, url: str, headers: di
tests/cli/test_discovery.py:585
Function
test_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
Function
test_streamable_http_redirect_behavior
Test that non-matching paths get redirected correctly.
tests/server/test_streamable_http_no_redirect.py:42
Function
test_streamable_http_route_structure
Test that streamable HTTP routes use Route objects with correct paths.
tests/server/test_streamable_http_no_redirect.py:14
Method
test_streamable_http_sse_read_timeout_removed
(self)
tests/test_upgrade_from_v3.py:322
Method
test_streamable_http_transport
(self)
tests/cli/test_discovery.py:835
Method
test_streamable_http_transport_accepted
Test that streamable-http transport is accepted as a valid value.
tests/cli/test_mcp_server_config_integration.py:255
Method
test_streamable_http_transport_binds_client_credentials
(self)
tests/client/auth/test_client_credentials.py:685
Method
test_streamable_http_transport_stores_verify_cert_path
(self)
tests/client/transports/test_transports.py:97
Method
test_streamable_http_transport_stores_verify_false
(self)
tests/client/transports/test_transports.py:82
Method
test_streamable_http_transport_stores_verify_ssl_context
(self)
tests/client/transports/test_transports.py:89
Method
test_streamable_http_transport_verify_default_is_none
(self)
tests/client/transports/test_transports.py:104
Method
test_streamable_http_verify_propagates_to_oauth
(self)
tests/client/transports/test_transports.py:166
Function
test_streaming_credential_providers_are_rejected
()
tests/server/test_server_docket.py:195
Method
test_strict_field_rejects_coercion
(self)
tests/server/test_input_validation.py:335
Function
test_strict_input_validation_rejects_undeclared_arguments
()
tests/server/providers/openapi/test_undeclared_arguments.py:110
Method
test_strict_model_config_rejects_coercion
(self)
tests/server/test_input_validation.py:360
Method
test_strict_rejects_public_host_when_server_scope_is_ambiguous
(self)
tests/server/http/test_http_auth_middleware.py:313
Method
test_strict_type_rejects_coercion
(self)
tests/server/test_input_validation.py:349
Function
test_strict_validation_accepts_suffix_on_manual_route
()
tests/server/providers/openapi/test_undeclared_arguments.py:362
Function
test_strict_validation_keeps_list_container_semantics
()
tests/utilities/json_schema_type/test_prefix_items.py:219
Method
test_stricter_numeric_exclusive_drops_maximum
(self)
tests/utilities/json_schema_type/test_constraints.py:198
Method
test_stricter_numeric_exclusive_drops_minimum
(self)
tests/utilities/json_schema_type/test_constraints.py:208
Method
test_string
(self)
tests/cli/test_client_commands.py:89
Method
test_string
(self)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:52
Method
test_string_accepts_string
(self, simple_string)
tests/utilities/json_schema_type/test_json_schema_type.py:44
Method
test_string_coercible_non_string_annotations_decode_json
( self, annotation: Any, value: str, expected: Any )
tests/prompts/test_prompt.py:408
Method
test_string_compatible_annotation_guidance_preserves_raw_strings
(self)
tests/prompts/test_prompt.py:423
Method
test_string_compatible_annotations_preserve_wire_strings
( self, annotation: Any, value: str )
tests/prompts/test_prompt.py:378
Method
test_string_const_invalid
(self, string_const)
tests/utilities/json_schema_type/test_advanced.py:787
Method
test_string_const_valid
(self, string_const)
tests/utilities/json_schema_type/test_advanced.py:783
Method
test_string_content
String input creates text content with text/plain mime type.
tests/resources/test_resources.py:125
Method
test_string_default
Unknown or missing type treats value as string.
tests/cli/test_client_commands.py:92
Method
test_string_default_preserved
Test that string defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:503
Method
test_string_entrypoint_with_entrypoint_and_environment
Test that file.py:entrypoint syntax works with environment config.
tests/cli/test_config.py:324
Method
test_string_fallback_for_invalid_versions
Invalid PEP 440 versions should fall back to string comparison.
tests/server/versioning/test_versioning.py:50
Method
test_string_float_coercion
Test that string floats are also coerced.
tests/server/test_input_validation.py:122
Method
test_string_integer_with_strict_validation
With strict validation, string integers should raise an error.
tests/server/test_input_validation.py:70
Method
test_string_integer_without_strict_validation
Without strict validation, string integers should be coerced.
tests/server/test_input_validation.py:92
Method
test_string_issuer_mismatch_rejection
Test that mismatched string issuers are rejected.
tests/server/auth/test_jwt_provider_bearer.py:471
Method
test_string_issuer_validation
Test that string (non-URL) issuers are supported per RFC 7519.
tests/server/auth/test_jwt_provider_bearer.py:453
Method
test_string_mentioning_nan_is_not_rejected
(self)
tests/tools/tool/test_nonfinite_serialization.py:141
Method
test_string_non_url
(self)
tests/cli/test_discovery.py:850
Method
test_string_parameters_no_enhancement
Test that string parameters don't get schema enhancement.
tests/prompts/test_prompt.py:536
Method
test_string_preserves_numeric_looking_values
(self)
tests/cli/test_client_commands.py:96
Method
test_string_rejects_number
(self, simple_string)
tests/utilities/json_schema_type/test_json_schema_type.py:48
Method
test_string_script_path_still_works_but_warns
(self, tmp_path)
tests/client/client/test_transport.py:156
Method
test_string_to_missing_script_is_not_a_transport
(self, tmp_path)
tests/client/client/test_transport.py:182
Method
test_string_url
(self)
tests/cli/test_discovery.py:847
Method
test_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
Method
test_strip_explode_modifier
Test that the explode modifier (*) is stripped.
tests/resources/test_resource_template_level3.py:48
Method
test_strips_discriminator_mapping_after_inlining
Discriminator.mapping refs dangle after $defs are inlined (#3679).
tests/utilities/test_json_schema.py:283
Method
test_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
Method
test_strips_file_ref
(self)
tests/utilities/test_json_schema.py:1330
Method
test_strips_http_ref
(self)
tests/utilities/test_json_schema.py:1322
Method
test_strips_https_ref
(self)
tests/utilities/test_json_schema.py:1326
Method
test_strips_nested_remote_refs
(self)
tests/utilities/test_json_schema.py:1343
Method
test_strips_remote_refs_in_lists
(self)
tests/utilities/test_json_schema.py:1354
Method
test_structured_and_unstructured_content
(self, client)
tests/tools/tool/test_results.py:52
Method
test_structured_content_interaction_with_wrapping
Test that structured content works correctly with schema wrapping.
tests/tools/tool/test_output_schema.py:471
Method
test_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
Method
test_structured_content_with_custom_wrapper_schema
Test structured content with custom schema that includes wrap marker.
tests/tools/tool/test_output_schema.py:515
Method
test_structured_content_with_explicit_object_schema
Test structured content with explicit object schema.
tests/tools/tool/test_output_schema.py:496
Method
test_structured_logging_middleware_handles_errors
Test structured logging of errors with JSON format.
tests/server/middleware/test_logging.py:562
← previous
next →
14,301–14,400 of 16,098, ranked by callers