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_issuers_outside_the_project_are_rejected
Only issuers of the configured project, plus one ID segment, pass.
tests/server/auth/providers/test_descope.py:499
Function
test_items_created_during_collection_are_accepted
(backlog)
tests/test_backlog_status.py:137
Method
test_js_file_builds_client_without_deprecation_warning
(self, tmp_path: Path)
tests/cli/test_client_commands.py:404
Function
test_json_and_malformed_error_bodies_are_readable
( body: str, content_type: str, expected: str )
tests/server/providers/openapi/test_http_error_details_regression.py:70
Method
test_json_body_still_works
application/json bodies should still be sent as JSON (regression).
tests/utilities/openapi/test_director.py:1451
Function
test_json_device_challenge_uses_only_stderr
( capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_output.py:32
Function
test_json_environment_logout_has_stable_fields
( capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_output.py:133
Function
test_json_error_has_stable_fields
( capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_output.py:94
Method
test_json_fastmcp_config_exits
(self, tmp_path: Path)
tests/cli/test_client_commands.py:423
Function
test_json_identity_has_stable_fields
( capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_output.py:63
Method
test_json_invalid
(self, json_format)
tests/utilities/json_schema_type/test_formats.py:124
Function
test_json_login_reports_stable_device_failures
( token_error: str, category: str, use_horizon_api: Callable[[HorizonAuthAPI], None], capsys:
tests/cli/deploy/test_command.py:384
Function
test_json_login_writes_one_result_and_challenge_to_stderr
( use_horizon_api: Callable[[HorizonAuthAPI], None], capsys: pytest.CaptureFixture[str], monkeypat
tests/cli/deploy/test_command.py:146
Function
test_json_logout_has_stable_fields
( capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_output.py:157
Method
test_json_mcp_config
(self, tmp_path: Path)
tests/cli/test_client_commands.py:415
Method
test_json_native_return_matches_concrete_resource
A dict return behaves the same for templates and concrete resources.
tests/resources/test_resource_template.py:1626
Method
test_json_native_return_preserves_component_meta
JSON-native returns should propagate component-level meta to content.
tests/resources/test_resources.py:362
Method
test_json_not_found_exits
(self, tmp_path: Path)
tests/cli/test_client_commands.py:429
Function
test_json_object_body_serialization_is_unchanged
JSON request bodies keep using a JSON document, not form encoding.
tests/server/providers/openapi/test_object_request_bodies.py:384
Function
test_json_parameters_do_not_collide_with_argument_dictionary
()
tests/cli/test_generate_cli_arguments.py:84
Method
test_json_parsing_fallback
Test that JSON parsing falls back to direct validation when needed.
tests/prompts/test_prompt.py:335
Method
test_json_patch_content_type_preserved
application/json-patch+json is sent as the Content-Type header.
tests/utilities/openapi/test_director.py:458
Method
test_json_pointer_tilde_escape
~0 should unescape to ~ and ~1 should unescape to /.
tests/server/providers/local_provider_tools/test_output_schema.py:423
Method
test_json_positional_ignored_when_input_json_set
When --input-json is already provided, a JSON positional arg is not special.
tests/cli/test_client_commands.py:293
Method
test_json_response
JSON content type is correctly extracted.
tests/server/providers/openapi/test_openapi_features.py:435
Method
test_json_round_trip_preserves_every_field
( self, sensitive_snapshot: TaskContextSnapshot )
tests/tasks/server/test_snapshot_encryption.py:166
Function
test_json_success_preserves_unwrapped_data_next_to_bodiless_success
( payload: Any, schema: dict[str, Any], validate_output: bool )
tests/server/providers/openapi/test_bodiless_success_responses.py:151
Method
test_json_success_responses
(self, invitation: ResponseInfo)
tests/utilities/openapi/test_schemas.py:761
Method
test_json_valid
(self, json_format)
tests/utilities/json_schema_type/test_formats.py:119
Method
test_json_value_is_accepted
(self, annotation, value, expected)
tests/server/test_input_validation.py:274
Method
test_json_when_no_accept_header
Test that JSON is returned when no Accept header is provided.
tests/server/auth/test_enhanced_error_responses.py:1022
Method
test_json_when_only_json_accepted
Test that JSON is returned when only application/json is accepted.
tests/server/auth/test_enhanced_error_responses.py:1003
Function
test_json_whoami_does_not_start_device_authorization
( capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch, )
tests/cli/deploy/test_command.py:362
Function
test_json_whoami_reports_a_failed_rejected_key_cleanup
( use_horizon_api: Callable[[HorizonAuthAPI], None], capsys: pytest.CaptureFixture[str], monkeypat
tests/cli/deploy/test_command.py:302
Method
test_jsonrpc_error_reports_error_code
A JSON-RPC error sets `error.type` and `rpc.response.status_code` to the error code, not the exception class name.
tests/client/telemetry/test_client_tracing.py:564
Method
test_jsonrpc_error_reports_error_code
A JSON-RPC error sets `error.type` and `rpc.response.status_code` to the error code, not the exception class name.
tests/server/telemetry/test_server_tracing.py:801
Method
test_jti_cache_does_not_grow_past_capacity
Rejected assertions do not remain in a full replay cache.
tests/server/auth/test_cimd_validators.py:303
Method
test_jti_cache_does_not_grow_past_capacity
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:762
Method
test_jwks_cgnat_blocked
JWKS fetch to RFC6598 CGNAT IP should be blocked.
tests/server/auth/test_ssrf_protection.py:419
Method
test_jwks_discovered_via_oidc
( self, idp_key: RSAKeyPair, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_identity_assertion.py:825
Method
test_jwks_fetch_uses_provided_client
When http_client is provided, JWKS fetches should use it.
tests/server/auth/providers/test_http_client.py:144
Method
test_jwks_ignores_other_algorithm_key_types_without_kid
Unrelated key types do not make a no-kid lookup ambiguous.
tests/server/auth/test_jwt_provider.py:797
Method
test_jwks_loopback_blocked
JWKS fetch to loopback should be blocked.
tests/server/auth/test_ssrf_protection.py:436
Method
test_jwks_private_ip_blocked
JWKS fetch to private IP should be blocked.
tests/server/auth/test_ssrf_protection.py:401
Method
test_jwks_skips_unusable_keys
An unusable key must not poison the whole key set - #4515.
tests/server/auth/test_jwt_provider.py:763
Method
test_jwks_token_validation
Test token validation using JWKS URI.
tests/server/auth/test_jwt_provider.py:733
Method
test_jwks_token_validation_with_invalid_key
( self, rsa_key_pair: RSAKeyPair, rsa_key_pair_2: RSAKeyPair, jwks_provider: J
tests/server/auth/test_jwt_provider.py:856
Method
test_jwks_token_validation_with_kid
( self, rsa_key_pair: RSAKeyPair, jwks_provider: JWTVerifier, mock_jwks_data:
tests/server/auth/test_jwt_provider.py:875
Method
test_jwks_token_validation_with_kid_and_no_kid_in_token
( self, rsa_key_pair: RSAKeyPair, jwks_provider: JWTVerifier, mock_jwks_data:
tests/server/auth/test_jwt_provider.py:896
Method
test_jwks_token_validation_with_kid_mismatch
( self, rsa_key_pair: RSAKeyPair, jwks_provider: JWTVerifier, mock_jwks_data:
tests/server/auth/test_jwt_provider.py:936
Method
test_jwks_token_validation_with_multiple_keys_and_no_kid_in_token
( self, rsa_key_pair: RSAKeyPair, jwks_provider: JWTVerifier, mock_jwks_data:
tests/server/auth/test_jwt_provider.py:956
Method
test_jwks_token_validation_with_no_kid_and_kid_in_jwks
( self, rsa_key_pair: RSAKeyPair, jwks_provider: JWTVerifier, mock_jwks_data:
tests/server/auth/test_jwt_provider.py:916
Method
test_jwks_with_only_unusable_keys_rejects_cleanly
If every key in the JWKS is unusable, verification fails cleanly (returns None) rather than crashing - #4515.
tests/server/auth/test_jwt_provider.py:823
Method
test_jwt_issuer_property_raises_if_not_initialized
Test that jwt_issuer property raises if set_mcp_path not called.
tests/server/auth/oauth_proxy/test_config.py:452
Method
test_jwt_verifier_configured_correctly
Test that JWT verifier is configured correctly.
tests/server/auth/providers/test_descope.py:364
Method
test_jwt_verifier_configured_correctly
Test that JWT verifier is configured correctly.
tests/server/auth/providers/test_supabase.py:54
Method
test_jwt_verifier_configured_correctly
Test that JWT verifier is configured correctly.
tests/server/auth/providers/test_scalekit.py:86
Method
test_jwt_verifier_requires_pyjwt
Test that JWTVerifier raises helpful error without PyJWT.
tests/server/auth/test_jwt_provider_bearer.py:599
Method
test_jwt_verifier_with_required_scopes
Test that JWT verifier respects required_scopes.
tests/server/auth/providers/test_supabase.py:70
Method
test_keep_alive_default_true
(self)
tests/client/test_stdio.py:277
Method
test_keep_alive_false_exit_scope_kills_server
(self, stdio_script)
tests/client/test_stdio.py:401
Method
test_keep_alive_false_recovers_after_subprocess_crash
When keep_alive=False, crash recovery works because disconnect() is always called.
tests/client/test_stdio.py:656
Method
test_keep_alive_false_starts_new_session_across_multiple_calls
( self, stdio_script )
tests/client/test_stdio.py:457
Method
test_keep_alive_maintains_session_across_multiple_calls
( self, stdio_script )
tests/client/test_stdio.py:338
Method
test_keep_alive_maintains_session_if_reentered
(self, stdio_script)
tests/client/test_stdio.py:584
Method
test_keep_alive_reconnects_on_a_different_event_loop
A kept-alive connection belongs to the loop that created it. Reusing the transport from a second, concurrently-alive loop has to spaw
tests/client/test_stdio.py:477
Method
test_keep_alive_recovers_after_subprocess_crash
When keep_alive=True and the subprocess dies, the next connection should start a fresh subprocess.
tests/client/test_stdio.py:635
Method
test_keep_alive_set_false
(self)
tests/client/test_stdio.py:332
Method
test_keep_alive_starts_new_session_if_manually_closed
(self, stdio_script)
tests/client/test_stdio.py:568
Method
test_keep_alive_true_exit_scope_kills_client
(self, stdio_script)
tests/client/test_stdio.py:379
Method
test_keep_alive_true_exit_scope_kills_transport
(self, stdio_script)
tests/client/test_stdio.py:357
Method
test_keeps_defs_referenced_below_the_traversal_cutoff
A $ref deeper than the traversal walks must still pin its definition. The reference scan stops at its depth guard, so past that point it
tests/utilities/test_json_schema.py:535
Method
test_key_property_without_custom_key
Test that key property returns name@version when no custom key is set.
tests/utilities/test_components.py:85
Method
test_key_value_overrides_input_json
(self)
tests/cli/test_client_commands.py:249
Function
test_keycloak_openid_default_stays_on_default_verifier
()
tests/server/auth/test_remote_auth_required_scopes.py:95
Method
test_keyless_worker_fails_the_encrypted_task
A worker whose key was lost mid-rollout must not run anonymously. The submitter wrote an encrypted snapshot; the restoring process has no
tests/tasks/server/test_snapshot_encryption.py:342
Function
test_keyword_constructor_renders_skill_md
()
tests/skills/test_skill.py:26
Function
test_known_route_survives_an_unrelated_dead_client
()
tests/client/group/test_client_group.py:307
Function
test_known_route_survives_the_group_context
An adapter that resolved a route inside the group can call it later with only the owning client connected.
tests/client/group/test_client_group.py:324
Method
test_known_sensitive_headers_are_redacted
(self)
tests/server/providers/openapi/test_openapi_features.py:1402
Function
test_known_span_attributes_are_available_on_start
( monkeypatch: pytest.MonkeyPatch, )
tests/telemetry/test_span_attributes.py:139
Method
test_kwonly_defaults_preserved_when_annotations_are_processed
Keyword-only defaults should survive function cloning during annotation processing.
tests/utilities/test_types.py:824
Function
test_label_collection_is_paginated_and_fails_before_prompt
( triage_steps, tmp_path, failure )
tests/test_label_triage.py:30
Function
test_label_is_not_a_human_response
(ranking_module, label)
tests/test_issue_ranking.py:126
Method
test_lambda
(self)
tests/tools/tool/test_tool.py:301
Method
test_lambda
(self)
tests/utilities/test_async_utils.py:52
Function
test_lambda_function
Test lambda function schema and validation
tests/utilities/test_typeadapter.py:205
Method
test_lambda_with_no_name
(self)
tests/tools/tool/test_tool.py:321
Function
test_large_advertised_interval_is_honored
()
tests/tasks/client/test_poll_interval.py:35
Method
test_large_catalog_is_still_one_round_trip
(self)
tests/experimental/transforms/test_jev_search.py:307
Function
test_large_discriminated_union_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:203
Function
test_large_list_schema_keeps_defs
( build: Callable[[int], dict[str, Any]], )
tests/utilities/test_json_schema_expansion.py:121
Function
test_large_schema_keeps_defs
(defs_key: str, pointer: str)
tests/utilities/test_json_schema_expansion.py:70
Function
test_large_schema_resolves_root_reference_in_every_pointer_form
( defs_key: str, pointer: str )
tests/utilities/test_json_schema_expansion.py:239
Function
test_large_schema_resolves_root_reference_through_aliases
(aliases: int)
tests/utilities/test_json_schema_expansion.py:250
Function
test_large_schema_still_resolves_root_reference
()
tests/utilities/test_json_schema_expansion.py:230
Function
test_large_sse_tool_and_resource_results
(limit: int | None)
tests/client/transports/test_sse_event_size.py:11
Function
test_large_unused_definitions_keep_defs
()
tests/utilities/test_json_schema_expansion.py:179
Method
test_last_page_returns_none_cursor
Last page should return None cursor.
tests/server/test_pagination.py:90
Method
test_last_property
Test pruning the only/last parameter, should leave empty properties object.
tests/utilities/test_json_schema.py:59
← previous
next →
10,701–10,800 of 15,974, ranked by callers