Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Method
test_read_manifest
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:342
Method
test_read_manifest
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:602
Method
test_read_mime_type_matches_listed_mime_type
resources/templates/list and resources/read must agree.
tests/resources/test_resource_template.py:1376
Method
test_read_missing_file_raises
(self)
tests/apps/test_file_upload.py:91
Method
test_read_nested_file_via_template
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:651
Method
test_read_nonexistent_resource_sets_error
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:157
Method
test_read_prompt_excludes_tags
(self)
tests/server/providers/test_local_provider_prompts.py:476
Method
test_read_prompt_includes_tags
(self)
tests/server/providers/test_local_provider_prompts.py:466
Function
test_read_resource
Test reading a resource with InMemoryClient.
tests/client/client/test_client.py:312
Function
test_read_resource
Test that we can read a resource.
tests/client/auth/test_oauth_client.py:146
Method
test_read_resource
( self, mcp_server: FastMCP, recording_middleware: RecordingMiddleware )
tests/server/middleware/test_middleware.py:184
Method
test_read_resource
Test that get resources caching works with a real FastMCP server.
tests/server/middleware/test_caching.py:605
Method
test_read_resource
(self, proxy_server: FastMCPProxy)
tests/server/providers/proxy/test_proxy_server.py:543
Function
test_read_resource_both_eras
(dual_era_server, mode)
tests/server/test_protocol_eras.py:117
Method
test_read_resource_cache_is_partitioned_by_component_version
( self, versioned_caching_server: tuple[FastMCP, dict[str, int]] )
tests/server/middleware/test_versioned_caching.py:82
Method
test_read_resource_creates_span
( self, trace_exporter: InMemorySpanExporter )
tests/client/telemetry/test_client_tracing.py:116
Method
test_read_resource_creates_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:94
Method
test_read_resource_default_implementation
Test that default read_resource uses get_resource and reads it.
tests/server/test_providers.py:387
Method
test_read_resource_denied_by_component_auth
(self)
tests/server/auth/test_authorization.py:1130
Function
test_read_resource_dir
(mcp: FastMCP)
tests/server/test_file_server.py:91
Method
test_read_resource_error_creates_spans
Both client and server spans should be created when resource read fails.
tests/client/telemetry/test_client_tracing.py:422
Function
test_read_resource_file
(mcp: FastMCP)
tests/server/test_file_server.py:113
Function
test_read_resource_invalid_uri
Test reading a resource with an invalid URI.
tests/client/client/test_client.py:305
Method
test_read_resource_is_read_only
read_resource is annotated as read-only by default.
tests/server/transforms/test_resources_as_tools.py:246
Method
test_read_resource_key_is_hashed_and_does_not_include_raw_uri
(self)
tests/server/middleware/test_caching.py:907
Method
test_read_resource_key_partitions_by_auth
(self)
tests/server/middleware/test_caching.py:941
Method
test_read_resource_key_partitions_by_component_version
(self)
tests/server/middleware/test_versioned_caching.py:140
Function
test_read_resource_mcp
Test the read_resource_mcp method that returns raw MCP protocol objects.
tests/client/client/test_client.py:330
Method
test_read_resource_on_nested_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:272
Method
test_read_resource_on_parent_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:252
Method
test_read_resource_returns_none_if_not_found
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:599
Method
test_read_resource_returns_renderer_html
(self)
tests/server/providers/test_prefab_synthesis.py:157
Method
test_read_resource_same_as_original
(self, fastmcp_server, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:549
Method
test_read_resource_span_attributes
( self, trace_exporter: InMemorySpanExporter )
tests/client/telemetry/test_client_tracing.py:136
Method
test_read_resource_template
( self, mcp_server: FastMCP, recording_middleware: RecordingMiddleware )
tests/server/middleware/test_middleware.py:196
Method
test_read_resource_template
(self, proxy_server: FastMCPProxy, id: int)
tests/server/providers/proxy/test_proxy_server.py:663
Function
test_read_resource_template_both_eras
(dual_era_server, mode)
tests/server/test_protocol_eras.py:124
Method
test_read_resource_template_creates_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:125
Method
test_read_resource_template_default
Test that read_resource_template handles template-based resources.
tests/server/test_providers.py:409
Method
test_read_resource_template_excludes_tags
(self)
tests/server/providers/test_local_provider_resources.py:893
Method
test_read_resource_template_includes_tags
(self)
tests/server/providers/test_local_provider_resources.py:885
Method
test_read_resource_template_on_nested_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:316
Method
test_read_resource_template_on_parent_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:296
Method
test_read_resource_template_same_as_original
( self, fastmcp_server, proxy_server )
tests/server/providers/proxy/test_proxy_server.py:669
Method
test_read_resource_template_via_client
Test reading a resource via template through a server using the provider.
tests/server/providers/test_fastmcp_provider.py:214
Method
test_read_resource_template_with_run_middleware_false
Templates also skip middleware when run_middleware=False.
tests/server/middleware/test_middleware.py:541
Method
test_read_resource_version_selection
Client.read_resource routes to correct version via request meta.
tests/server/versioning/test_calls.py:343
Method
test_read_resource_via_client
Test reading a resource through a server using the provider.
tests/server/providers/test_fastmcp_provider.py:167
Method
test_read_resource_with_run_middleware_false
Middleware is NOT applied when run_middleware=False.
tests/server/middleware/test_middleware.py:523
Method
test_read_resource_with_run_middleware_true
Middleware is applied when run_middleware=True (default).
tests/server/middleware/test_middleware.py:506
Method
test_read_resource_with_version
read_resource should use specified version.
tests/server/versioning/test_calls.py:210
Method
test_read_returns_resource_result
_read() returns ResourceResult after conversion.
tests/resources/test_resources.py:302
Method
test_read_supporting_file_via_resource_mode
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:386
Method
test_read_supporting_file_via_template
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:378
Method
test_read_supporting_file_via_template
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:639
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:396
Method
test_read_supporting_file_with_utf8_name
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:418
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:1611
Method
test_read_through_client_and_in_process
( self, uri_template: str, uri: str )
tests/resources/test_resource_template.py:1538
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:176
Method
test_reads_roles_from_provider_specific_claim
(self, claims, extract)
tests/server/auth/test_authorization.py:120
Method
test_reads_static_resource
read_resource reads a static resource by URI.
tests/server/transforms/test_resources_as_tools.py:135
Method
test_reads_templated_resource
read_resource reads a templated resource with parameters.
tests/server/transforms/test_resources_as_tools.py:149
Method
test_reads_the_registered_extensions_settings
The constructor-configured URL is visible without any env var.
tests/cli/test_tasks.py:18
Method
test_real_extensions_field
A client that sets the real `extensions` field is detected.
tests/test_apps.py:466
Method
test_real_extensions_field_without_target_extension
(self)
tests/test_apps.py:475
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:350
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
Method
test_recursive_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:483
Method
test_recursive_ref_in_anyof_does_not_recurse_forever
(self)
tests/utilities/json_schema_type/test_advanced.py:500
Method
test_recursive_schema_naming
(self)
tests/utilities/json_schema_type/test_advanced.py:589
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:622
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:299
Method
test_redirect_error_includes_proxy_issuer
Authorization error redirects should include RFC 9207 issuer.
tests/server/auth/test_enhanced_error_responses.py:215
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:249
Method
test_redirect_path_normalization
Test that redirect_path is normalized with leading slash.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:198
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:128
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_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_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:305
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
← previous
next →
10,801–10,900 of 13,374, ranked by callers