MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,725 in github.com/PrefectHQ/fastmcp

Methodtest_raises_when_no_proxy_is_configured
No proxy in the environment → refuse rather than fetch unprotected.
tests/server/auth/test_ssrf_protection.py:684
Methodtest_raising_server_does_not_break_chain
If the server raises, verifiers are still tried.
tests/server/auth/test_multi_auth.py:343
Methodtest_raising_verifier_does_not_break_chain
If a verifier raises, the chain continues to the next source.
tests/server/auth/test_multi_auth.py:332
Functiontest_ramp_doubles_from_floor_up_to_advertised_ceiling
Even with an advertised interval, the poll ramps fast then caps at it.
tests/tasks/client/test_poll_interval.py:46
Methodtest_range_request_reaches_the_shown_twin
(self)
tests/server/mount/test_filtering.py:163
Methodtest_rate_limiting_allows_normal_usage
Test that normal usage patterns are allowed through rate limiting.
tests/server/middleware/test_rate_limiting.py:534
Methodtest_rate_limiting_blocks_rapid_requests
Test that rate limiting blocks rapid successive requests.
tests/server/middleware/test_rate_limiting.py:549
Methodtest_rate_limiting_recovery_over_time
Test that rate limiting allows requests again after time passes.
tests/server/middleware/test_rate_limiting.py:699
Methodtest_rate_limiting_with_concurrent_requests
Test rate limiting behavior with concurrent requests.
tests/server/middleware/test_rate_limiting.py:573
Methodtest_rate_limiting_with_different_operations
Test that rate limiting applies to all types of operations.
tests/server/middleware/test_rate_limiting.py:627
Methodtest_raw_call_override_still_works
(self)
tests/server/middleware/test_message_visibility.py:205
Methodtest_raw_call_tool_result_carries_middleware_edits
(self, edit: str)
tests/tools/tool/test_results.py:185
Methodtest_raw_call_tool_result_is_preserved
(self)
tests/tools/tool/test_results.py:128
Methodtest_raw_call_tool_result_preserves_protocol_fields
(self)
tests/tools/tool/test_results.py:141
Methodtest_raw_call_tool_result_serializes_nested_models_like_the_wire
(self)
tests/tools/tool/test_results.py:165
Functiontest_raw_create_task_result_is_exposed
The raw claimed CreateTaskResult is reachable via the session/handle path.
tests/tasks/client/test_transparent_tasks.py:117
Methodtest_raw_string_rejected_by_validate_redirect_uri
(self)
tests/server/auth/test_redirect_validation.py:837
Methodtest_raw_string_rejects_whatwg_ambiguous_spellings
(self, uri, pattern)
tests/server/auth/test_redirect_validation.py:831
Methodtest_raw_user_id
(self, meter_provider, reader, monkeypatch)
tests/server/middleware/test_usage.py:485
Methodtest_raw_user_id_falls_back_to_client_id
( self, meter_provider, reader, monkeypatch )
tests/server/middleware/test_usage.py:495
Methodtest_read_binary
Test reading binary data from a FunctionResource.
tests/resources/test_function_resources.py:50
Methodtest_read_binary_file
Test reading a file as binary.
tests/resources/test_file_resources.py:71
Methodtest_read_binary_file
(self)
tests/apps/test_file_upload.py:78
Methodtest_read_cache_invalid_json
Reading invalid JSON returns None.
tests/utilities/test_version_check.py:61
Methodtest_read_cache_no_file
Reading non-existent cache returns None.
tests/utilities/test_version_check.py:36
Methodtest_read_cache_valid
Reading valid cache returns version and timestamp.
tests/utilities/test_version_check.py:46
Methodtest_read_excluded_resource
(self)
tests/server/providers/test_local_provider_resources.py:739
Methodtest_read_included_resource
(self)
tests/server/providers/test_local_provider_resources.py:731
Methodtest_read_json_resource
(self, proxy_server: FastMCPProxy)
tests/server/providers/proxy/test_proxy_server.py:560
Methodtest_read_latin1_with_encoding
FileResource should read non-UTF-8 files when correct encoding is specified.
tests/resources/test_file_resources.py:199
Methodtest_read_main_file
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:318
Methodtest_read_main_file_with_literal_percent_in_name
A custom main_file_name containing a literal '%' must round-trip through the same encode/decode path as supporting files (#4545).
tests/server/providers/test_skills_provider.py:328
Methodtest_read_main_skill_file
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:688
Methodtest_read_manifest
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:348
Methodtest_read_manifest
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:698
Methodtest_read_mime_type_matches_listed_mime_type
resources/templates/list and resources/read must agree.
tests/resources/test_resource_template.py:1612
Methodtest_read_missing_file_raises
(self)
tests/apps/test_file_upload.py:91
Methodtest_read_nested_file_via_template
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:747
Methodtest_read_nonexistent_resource_sets_error
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:158
Methodtest_read_prompt_excludes_tags
(self)
tests/server/providers/test_local_provider_prompts.py:476
Methodtest_read_prompt_includes_tags
(self)
tests/server/providers/test_local_provider_prompts.py:466
Methodtest_read_renderer_with_insufficient_scope_is_denied
(self)
tests/server/auth/test_authorization.py:1822
Methodtest_read_renderer_with_sufficient_scope
(self)
tests/server/auth/test_authorization.py:1805
Functiontest_read_resource
Test reading a resource with InMemoryClient.
tests/client/client/test_client.py:316
Functiontest_read_resource
Test that we can read a resource.
tests/client/auth/test_oauth_client.py:146
Methodtest_read_resource
( self, mcp_server: FastMCP, recording_middleware: RecordingMiddleware )
tests/server/middleware/test_middleware.py:184
Methodtest_read_resource
Test that get resources caching works with a real FastMCP server.
tests/server/middleware/test_caching.py:605
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_roundtrip
(t: DrawnTemplate)
tests/pbt/test_resource_read.py:68
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
← previousnext →13,501–13,600 of 16,725, ranked by callers