Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,725 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,725
◇
Types & classes
2,302
↳
Endpoints
198
Function
test_read_skill_rejects_bytes_that_miss_the_manifest
()
tests/skills/test_provider.py:210
Function
test_read_skill_rejects_manifest_paths_that_escape_the_skill
()
tests/skills/test_read_skill.py:241
Function
test_read_skill_rejects_oversized_entries_before_reading_files
(limit: str)
tests/skills/test_read_skill.py:297
Function
test_read_skill_rejects_unusable_manifests
( manifest: dict[str, Any], match: str )
tests/skills/test_read_skill.py:232
Function
test_read_skill_requires_a_connection
()
tests/skills/test_read_skill.py:290
Function
test_read_skill_requires_a_skill_that_matches_its_uri
()
tests/skills/test_read_skill.py:266
Function
test_read_skill_returns_an_equal_skill_through_the_extension
()
tests/skills/test_read_skill.py:35
Function
test_read_skill_returns_the_served_skill
()
tests/skills/test_provider.py:193
Function
test_read_skill_returns_the_stored_skill
()
tests/skills/test_manifest_provider.py:64
Function
test_read_skill_takes_a_skill_md_uri
()
tests/skills/test_read_skill.py:283
Function
test_read_skill_through_proxy_and_mount
( tmp_path: Path, forward_skills: bool, negotiate_skills: bool, mounted: bool )
tests/server/providers/proxy/test_skills.py:329
Function
test_read_skill_verifies_resource_mode_manifests
()
tests/skills/test_read_skill.py:196
Method
test_read_supporting_file_via_resource_mode
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:392
Method
test_read_supporting_file_via_template
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:384
Method
test_read_supporting_file_via_template
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:735
Method
test_read_supporting_file_with_space_in_name
Percent-encoded resource URIs for supporting files must round-trip (#4545).
tests/server/providers/test_skills_provider.py:402
Method
test_read_supporting_file_with_utf8_name
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:424
Method
test_read_text
Test reading text from a FunctionResource.
tests/resources/test_function_resources.py:29
Method
test_read_text_file
Test reading a text file.
tests/resources/test_file_resources.py:58
Method
test_read_text_file
(self)
tests/apps/test_file_upload.py:66
Method
test_read_through_client
(self)
tests/resources/test_resource_template.py:1866
Method
test_read_through_client_and_in_process
( self, uri_template: str, uri: str )
tests/resources/test_resource_template.py:1793
Method
test_read_utf8_with_encoding
FileResource should read UTF-8 files correctly when encoding is specified.
tests/resources/test_file_resources.py:123
Method
test_reads_as_utf8_explicitly
Regression test for GH-4689: config files must be read with an explicit UTF-8 encoding, not the platform's preferred encoding (e.g. cp
tests/cli/test_discovery.py:175
Method
test_reads_binary_as_base64
read_resource returns binary content as base64.
tests/server/transforms/test_resources_as_tools.py:220
Function
test_reads_only_the_file_a_client_reads
()
tests/skills/test_manifest_provider.py:53
Method
test_reads_roles_from_provider_specific_claim
(self, claims, extract)
tests/server/auth/test_authorization.py:137
Method
test_reads_static_resource
read_resource reads a static resource by URI.
tests/server/transforms/test_resources_as_tools.py:179
Method
test_reads_templated_resource
read_resource reads a templated resource with parameters.
tests/server/transforms/test_resources_as_tools.py:193
Method
test_reads_the_registered_extensions_settings
The constructor-configured URL is visible without any env var.
tests/cli/test_tasks.py:25
Method
test_real_extensions_field
A client that sets the real `extensions` field is detected.
tests/test_apps.py:474
Method
test_real_extensions_field_without_target_extension
(self)
tests/test_apps.py:483
Method
test_realm_url_with_trailing_slash
Test handling of realm URL with trailing slash.
tests/server/auth/providers/test_keycloak.py:128
Function
test_reconnection
Closes the POST stream mid-call so the client must resume (SEP-1699). The result is written after the stream is gone, so it can only reach the
tests/conformance/server.py:378
Method
test_reconnects_after_persistent_session_ends
A completed request must not prevent a dead session from reconnecting.
tests/server/providers/proxy/test_stateful_proxy_client.py:93
Function
test_reconstructed_counts_do_not_invent_historical_drafts
(backlog)
tests/test_backlog_status.py:85
Method
test_records_cancelled_calls
(self, meter_provider, reader)
tests/server/middleware/test_usage.py:195
Method
test_records_client_timeouts
(self, meter_provider, reader)
tests/server/middleware/test_usage.py:224
Method
test_records_errors
(self, meter_provider, reader)
tests/server/middleware/test_usage.py:417
Method
test_records_http_transport
(self, meter_provider, reader)
tests/server/middleware/test_usage.py:270
Method
test_records_prompts
(self, meter_provider, reader)
tests/server/middleware/test_usage.py:447
Method
test_records_returned_tool_errors
(self, meter_provider, reader)
tests/server/middleware/test_usage.py:430
Method
test_records_stdio_transport
(self, meter_provider, reader)
tests/server/middleware/test_usage.py:284
Method
test_records_tool_calls
(self, meter_provider, reader, mode)
tests/server/middleware/test_usage.py:245
Function
test_recursive_default_hydrates_after_resolution
()
tests/utilities/json_schema_type/test_recursive_hydration.py:115
Function
test_recursive_default_on_a_reserved_property_name
()
tests/utilities/json_schema_type/test_recursive_hydration.py:138
Method
test_recursive_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:1106
Method
test_recursive_defaults_are_hydrated
(self, many: bool)
tests/utilities/json_schema_type/test_advanced.py:148
Method
test_recursive_ref_in_anyof_does_not_recurse_forever
(self)
tests/utilities/json_schema_type/test_advanced.py:1123
Function
test_recursive_reference_in_prefix_items_tail
A `$ref` cycle through the tail of a positional array still resolves.
tests/utilities/json_schema_type/test_prefix_items.py:266
Function
test_recursive_reference_in_prefix_position
A `$ref` cycle through a prefix position still resolves.
tests/utilities/json_schema_type/test_prefix_items.py:282
Function
test_recursive_references_use_root_context
(model: bool)
tests/utilities/json_schema_type/test_caching.py:98
Method
test_recursive_schema_naming
(self)
tests/utilities/json_schema_type/test_advanced.py:1212
Method
test_recursive_schema_with_invalid_python_name
Test that recursive schemas work with titles that aren't valid Python identifiers
tests/utilities/json_schema_type/test_advanced.py:1245
Function
test_redacted_attribute_survives_a_redacting_sampler
A sampler that deliberately replaces one of FastMCP's attributes (e.g. redacting `mcp.method.name` for privacy) must have that decision survive.
tests/telemetry/test_span_attributes.py:303
Method
test_redirect_error_includes_proxy_issuer
Authorization error redirects should include RFC 9207 issuer.
tests/server/auth/test_enhanced_error_responses.py:257
Method
test_redirect_error_matches_path_base_url_metadata_issuer
Authorization error redirects should match the metadata issuer exactly.
tests/server/auth/test_enhanced_error_responses.py:291
Method
test_redirect_path_normalization
Test that redirect_path is normalized with leading slash.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:235
Method
test_redirect_uri_allowed_when_no_pattern_restriction
Ordinary redirect URIs are accepted when allowed_client_redirect_uris is None.
tests/server/auth/oauth_proxy/test_client_registration.py:535
Method
test_redirect_uri_blocked_when_empty_allowlist
Empty allowed_client_redirect_uris blocks all redirect URIs, including localhost.
tests/server/auth/oauth_proxy/test_client_registration.py:564
Method
test_redirect_uri_validated_against_patterns
Redirect URI validation honours allowed_client_redirect_uris when set.
tests/server/auth/oauth_proxy/test_client_registration.py:550
Method
test_redirect_uri_whitespace_only_rejected
Test that whitespace-only redirect_uris are rejected.
tests/server/auth/test_cimd.py:149
Method
test_redirect_uri_without_host_rejected
Test that redirect_uris without a host are rejected.
tests/server/auth/test_cimd.py:120
Method
test_redirect_uri_without_scheme_rejected
Test that redirect_uris without a scheme are rejected.
tests/server/auth/test_cimd.py:112
Function
test_redirect_without_location_has_no_extra_detail
()
tests/server/providers/openapi/test_http_error_details_regression.py:85
Function
test_redis_prefix_anonymous
()
tests/tasks/server/test_task_keys.py:138
Function
test_redis_prefix_authenticated
()
tests/tasks/server/test_task_keys.py:134
Function
test_redis_prefix_disjoint_for_anon_vs_literal_anon_scope
()
tests/tasks/server/test_task_keys.py:142
Function
test_redis_prefix_disjoint_for_anon_vs_literal_underscore_scope
()
tests/tasks/server/test_task_keys.py:146
Function
test_redis_prefix_encodes_special_characters
()
tests/tasks/server/test_task_keys.py:150
Function
test_reentrant_wrapper_preserves_signature
The wrapper keeps the tool's parameters so Docket DI is unchanged.
tests/tasks/server/test_guard_reentrant.py:222
Function
test_reexpand
(t: DrawnTemplate)
tests/pbt/test_uri_template.py:52
Function
test_ref_chain_with_sibling_properties_sends_all_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:140
Method
test_ref_only_request_body_handled
Request bodies that are just a $ref (not an object with properties) must work.
tests/utilities/openapi/test_transitive_references.py:636
Function
test_ref_to_additional_properties_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:307
Function
test_ref_to_any_of_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:288
Function
test_ref_to_object_with_all_of_still_merges
()
tests/server/providers/openapi/test_body_ref_siblings.py:255
Function
test_ref_to_one_of_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:271
Function
test_ref_to_pattern_properties_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:299
Function
test_ref_to_string_with_all_of_keeps_referenced_constraints
()
tests/server/providers/openapi/test_body_ref_siblings.py:243
Function
test_ref_with_all_of_to_additional_properties_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:315
Function
test_ref_with_discriminator_advertises_subtype_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:221
Function
test_ref_with_discriminator_sends_subtype_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:232
Function
test_ref_with_sibling_properties_advertises_both_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:60
Function
test_ref_with_sibling_properties_merges_required
()
tests/server/providers/openapi/test_body_ref_siblings.py:84
Function
test_ref_with_sibling_properties_sends_both_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:72
Function
test_ref_without_siblings_exposes_referenced_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:180
Function
test_refcount_survives_nested_holds
Two holds (sibling extensions): the wrap stays until the last release.
tests/tasks/server/test_wire_production.py:85
Function
test_reference_context_in_containers
(container: str)
tests/utilities/json_schema_type/test_caching.py:118
Function
test_reference_inside_sibling_property_is_resolved
()
tests/server/providers/openapi/test_body_ref_siblings.py:124
Function
test_reference_keeps_numeric_object_keys
(key: str)
tests/utilities/json_schema_type/test_array_references.py:91
Function
test_reference_rejects_invalid_array_index
(index: str)
tests/utilities/json_schema_type/test_array_references.py:80
Function
test_reference_traverses_array
(template: dict[str, Any], pointer: str)
tests/utilities/json_schema_type/test_array_references.py:35
Method
test_referer_does_not_replace_the_origin_check
(self)
tests/cli/test_apps_dev_server.py:500
Method
test_refill
Test token refill over time.
tests/server/middleware/test_rate_limiting.py:66
Method
test_refresh_body
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:202
Method
test_refresh_exchange_claims_apply_to_all_tokens_of_session
Claims follow the upstream session through both refresh paths. After a transparent refresh and then a refresh grant, the newly issued
tests/server/auth/oauth_proxy/test_tokens.py:1220
Method
test_refresh_exchange_decouples_access_token
Re-issued access tokens on refresh also honor the configured lifetime.
tests/server/auth/oauth_proxy/test_tokens.py:1180
Method
test_refresh_exchange_persists_rotated_tokens_when_extraction_raises
A failing claims hook must not lose a rotated upstream refresh token.
tests/server/auth/oauth_proxy/test_tokens.py:1310
Method
test_refresh_expires_in_zero_issues_refresh_token
refresh_expires_in=0 should fall back to the configured default. Keycloak returns refresh_expires_in=0 for offline tokens (offline_access sco
tests/server/auth/oauth_proxy/test_tokens.py:1540
← previous
next →
13,601–13,700 of 16,725, ranked by callers