MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_read_resource
(self, proxy_server: FastMCPProxy)
tests/server/providers/proxy/test_proxy_server.py:547
Functiontest_read_resource_both_eras
(dual_era_server, mode)
tests/server/test_protocol_eras.py:117
Methodtest_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
Methodtest_read_resource_carries_domain_and_prefers_border
(self)
tests/server/providers/test_prefab_synthesis.py:157
Methodtest_read_resource_creates_span
( self, trace_exporter: InMemorySpanExporter )
tests/client/telemetry/test_client_tracing.py:117
Methodtest_read_resource_creates_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:95
Methodtest_read_resource_default_implementation
Test that default read_resource uses get_resource and reads it.
tests/server/test_providers.py:387
Methodtest_read_resource_denied_by_component_auth
(self)
tests/server/auth/test_authorization.py:1147
Functiontest_read_resource_dir
(mcp: FastMCP)
tests/server/test_file_server.py:91
Methodtest_read_resource_error_creates_spans
Both client and server spans should be created when resource read fails.
tests/client/telemetry/test_client_tracing.py:424
Functiontest_read_resource_file
(mcp: FastMCP)
tests/server/test_file_server.py:113
Methodtest_read_resource_ignores_proxy_environment
( self, unreachable_proxy: None, mcp_url: str )
tests/cli/test_apps_dev_server.py:762
Functiontest_read_resource_invalid_uri
Test reading a resource with an invalid URI.
tests/client/client/test_client.py:309
Methodtest_read_resource_is_read_only
read_resource is annotated as read-only by default.
tests/server/transforms/test_resources_as_tools.py:290
Methodtest_read_resource_key_is_hashed_and_does_not_include_raw_uri
(self)
tests/server/middleware/test_caching.py:954
Methodtest_read_resource_key_partitions_by_auth
(self)
tests/server/middleware/test_caching.py:988
Methodtest_read_resource_key_partitions_by_component_version
(self)
tests/server/middleware/test_versioned_caching.py:140
Functiontest_read_resource_mcp
Test the read_resource_mcp method that returns raw MCP protocol objects.
tests/client/client/test_client.py:334
Methodtest_read_resource_on_nested_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:272
Methodtest_read_resource_on_parent_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:252
Methodtest_read_resource_returns_none_if_not_found
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:613
Methodtest_read_resource_returns_renderer_html
(self)
tests/server/providers/test_prefab_synthesis.py:240
Methodtest_read_resource_same_as_original
(self, fastmcp_server, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:553
Methodtest_read_resource_span_attributes
( self, trace_exporter: InMemorySpanExporter )
tests/client/telemetry/test_client_tracing.py:137
Methodtest_read_resource_template
( self, mcp_server: FastMCP, recording_middleware: RecordingMiddleware )
tests/server/middleware/test_middleware.py:196
Methodtest_read_resource_template
(self, proxy_server: FastMCPProxy, id: int)
tests/server/providers/proxy/test_proxy_server.py:680
Functiontest_read_resource_template_both_eras
(dual_era_server, mode)
tests/server/test_protocol_eras.py:124
Methodtest_read_resource_template_creates_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:126
Methodtest_read_resource_template_default
Test that read_resource_template handles template-based resources.
tests/server/test_providers.py:409
Methodtest_read_resource_template_excludes_tags
(self)
tests/server/providers/test_local_provider_resources.py:951
Methodtest_read_resource_template_includes_tags
(self)
tests/server/providers/test_local_provider_resources.py:943
Methodtest_read_resource_template_on_nested_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:316
Methodtest_read_resource_template_on_parent_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:296
Methodtest_read_resource_template_same_as_original
( self, fastmcp_server, proxy_server )
tests/server/providers/proxy/test_proxy_server.py:686
Methodtest_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
Methodtest_read_resource_template_with_run_middleware_false
Templates also skip middleware when run_middleware=False.
tests/server/middleware/test_middleware.py:570
Methodtest_read_resource_version_selection
Client.read_resource routes to correct version via request meta.
tests/server/versioning/test_calls.py:343
Methodtest_read_resource_via_client
Test reading a resource through a server using the provider.
tests/server/providers/test_fastmcp_provider.py:167
Methodtest_read_resource_with_run_middleware_false
Middleware is NOT applied when run_middleware=False.
tests/server/middleware/test_middleware.py:552
Methodtest_read_resource_with_run_middleware_true
Middleware is applied when run_middleware=True (default).
tests/server/middleware/test_middleware.py:535
Methodtest_read_resource_with_version
read_resource should use specified version.
tests/server/versioning/test_calls.py:210
Methodtest_read_returns_resource_result
_read() returns ResourceResult after conversion.
tests/resources/test_resources.py:302
Functiontest_read_skill_can_be_served_again
()
tests/skills/test_provider.py:200
Functiontest_read_skill_falls_back_to_the_manifest_resource
()
tests/skills/test_read_skill.py:82
Functiontest_read_skill_falls_back_when_the_extension_does_not_know_the_skill
()
tests/skills/test_read_skill.py:209
Functiontest_read_skill_handles_nested_paths_and_encoded_names
()
tests/skills/test_read_skill.py:90
Functiontest_read_skill_preserves_extension_errors
()
tests/skills/test_read_skill.py:366
Functiontest_read_skill_preserves_manifest_resource_uris
(query: str)
tests/skills/test_read_skill.py:382
Functiontest_read_skill_reads_from_a_folder_provider
(tmp_path: Path)
tests/skills/test_read_skill.py:105
Functiontest_read_skill_reconciles_all_advertised_frontmatter
( advertised: dict[str, Any], )
tests/skills/test_read_skill.py:51
Functiontest_read_skill_rejects_a_file_that_does_not_match_its_digest
()
tests/skills/test_read_skill.py:120
Functiontest_read_skill_rejects_a_file_whose_size_changed
()
tests/skills/test_read_skill.py:141
Functiontest_read_skill_rejects_bytes_that_miss_the_manifest
()
tests/skills/test_provider.py:210
Functiontest_read_skill_rejects_manifest_paths_that_escape_the_skill
()
tests/skills/test_read_skill.py:241
Functiontest_read_skill_rejects_oversized_entries_before_reading_files
(limit: str)
tests/skills/test_read_skill.py:297
Functiontest_read_skill_rejects_unusable_manifests
( manifest: dict[str, Any], match: str )
tests/skills/test_read_skill.py:232
Functiontest_read_skill_requires_a_connection
()
tests/skills/test_read_skill.py:290
Functiontest_read_skill_requires_a_skill_that_matches_its_uri
()
tests/skills/test_read_skill.py:266
Functiontest_read_skill_returns_an_equal_skill_through_the_extension
()
tests/skills/test_read_skill.py:35
Functiontest_read_skill_returns_the_served_skill
()
tests/skills/test_provider.py:193
Functiontest_read_skill_returns_the_stored_skill
()
tests/skills/test_manifest_provider.py:64
Functiontest_read_skill_takes_a_skill_md_uri
()
tests/skills/test_read_skill.py:283
Functiontest_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
Functiontest_read_skill_verifies_resource_mode_manifests
()
tests/skills/test_read_skill.py:196
Methodtest_read_supporting_file_via_resource_mode
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:392
Methodtest_read_supporting_file_via_template
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:384
Methodtest_read_supporting_file_via_template
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:735
Methodtest_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
Methodtest_read_supporting_file_with_utf8_name
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:424
Methodtest_read_text
Test reading text from a FunctionResource.
tests/resources/test_function_resources.py:29
Methodtest_read_text_file
Test reading a text file.
tests/resources/test_file_resources.py:58
Methodtest_read_text_file
(self)
tests/apps/test_file_upload.py:66
Methodtest_read_through_client
(self)
tests/resources/test_resource_template.py:1866
Methodtest_read_through_client_and_in_process
( self, uri_template: str, uri: str )
tests/resources/test_resource_template.py:1793
Methodtest_read_utf8_with_encoding
FileResource should read UTF-8 files correctly when encoding is specified.
tests/resources/test_file_resources.py:123
Methodtest_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
Methodtest_reads_binary_as_base64
read_resource returns binary content as base64.
tests/server/transforms/test_resources_as_tools.py:220
Functiontest_reads_only_the_file_a_client_reads
()
tests/skills/test_manifest_provider.py:53
Methodtest_reads_roles_from_provider_specific_claim
(self, claims, extract)
tests/server/auth/test_authorization.py:137
Methodtest_reads_static_resource
read_resource reads a static resource by URI.
tests/server/transforms/test_resources_as_tools.py:179
Methodtest_reads_templated_resource
read_resource reads a templated resource with parameters.
tests/server/transforms/test_resources_as_tools.py:193
Methodtest_reads_the_registered_extensions_settings
The constructor-configured URL is visible without any env var.
tests/cli/test_tasks.py:25
Methodtest_real_extensions_field
A client that sets the real `extensions` field is detected.
tests/test_apps.py:474
Methodtest_real_extensions_field_without_target_extension
(self)
tests/test_apps.py:483
Methodtest_realm_url_with_trailing_slash
Test handling of realm URL with trailing slash.
tests/server/auth/providers/test_keycloak.py:128
Functiontest_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
Methodtest_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
Functiontest_reconstructed_counts_do_not_invent_historical_drafts
(backlog)
tests/test_backlog_status.py:85
Functiontest_recursive_default_hydrates_after_resolution
()
tests/utilities/json_schema_type/test_recursive_hydration.py:115
Functiontest_recursive_default_on_a_reserved_property_name
()
tests/utilities/json_schema_type/test_recursive_hydration.py:138
Methodtest_recursive_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:1030
Methodtest_recursive_defaults_are_hydrated
(self, many: bool)
tests/utilities/json_schema_type/test_advanced.py:72
Methodtest_recursive_ref_in_anyof_does_not_recurse_forever
(self)
tests/utilities/json_schema_type/test_advanced.py:1047
Functiontest_recursive_references_use_root_context
(model: bool)
tests/utilities/json_schema_type/test_caching.py:98
Methodtest_recursive_schema_naming
(self)
tests/utilities/json_schema_type/test_advanced.py:1136
Methodtest_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:1169
Functiontest_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
Methodtest_redirect_error_includes_proxy_issuer
Authorization error redirects should include RFC 9207 issuer.
tests/server/auth/test_enhanced_error_responses.py:252
Methodtest_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:286
Methodtest_redirect_path_normalization
Test that redirect_path is normalized with leading slash.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:198
← previousnext →12,901–13,000 of 15,974, ranked by callers