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
Method
test_list_resource_templates_same_as_original
( self, fastmcp_server, proxy_server )
tests/server/providers/proxy/test_proxy_server.py:670
Function
test_list_resources
Test listing resources with InMemoryClient.
tests/client/client/test_client.py:130
Function
test_list_resources
Test that we can list resources.
tests/client/auth/test_oauth_client.py:138
Function
test_list_resources
(mcp: FastMCP)
tests/server/test_file_server.py:79
Function
test_list_resources
Test listing available resources
examples/testing_demo/tests/test_server.py:120
Method
test_list_resources
Test listing the MCP resources
tests/integration_tests/test_github_mcp_remote.py:96
Method
test_list_resources
(self, capsys: pytest.CaptureFixture[str])
tests/cli/test_client_commands.py:868
Method
test_list_resources
( self, mcp_server: FastMCP, recording_middleware: RecordingMiddleware )
tests/server/middleware/test_middleware.py:238
Method
test_list_resources
Test that list resources caching works with a real FastMCP server.
tests/server/middleware/test_caching.py:589
Method
test_list_resources
Test listing resources.
tests/server/providers/test_local_provider.py:198
Method
test_list_resources
Test listing resources from wrapped server.
tests/server/providers/test_fastmcp_provider.py:134
Function
test_list_resources_both_eras
(dual_era_server, mode)
tests/server/test_protocol_eras.py:110
Method
test_list_resources_cache_does_not_leak_across_tokens
(self)
tests/server/middleware/test_caching.py:1078
Method
test_list_resources_creates_client_span
( self, trace_exporter: InMemorySpanExporter )
tests/client/telemetry/test_client_list_tracing.py:89
Method
test_list_resources_creates_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_list_tracing.py:47
Method
test_list_resources_default_template_mode
In template mode (default), only main file and manifest are resources.
tests/server/providers/test_skills_provider.py:274
Method
test_list_resources_discovers_skills
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:666
Method
test_list_resources_empty
(self)
tests/test_fastmcp_app.py:433
Method
test_list_resources_filtering_middleware
Test that middleware can filter resources.
tests/server/middleware/test_middleware.py:367
Method
test_list_resources_includes_descriptions
(self, skills_dir: Path)
tests/server/providers/test_skills_provider.py:680
Method
test_list_resources_is_read_only
list_resources is annotated as read-only by default.
tests/server/transforms/test_resources_as_tools.py:279
Function
test_list_resources_mcp
Test the list_resources_mcp method that returns raw MCP protocol objects.
tests/client/client/test_client.py:142
Method
test_list_resources_on_nested_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:408
Method
test_list_resources_same_as_original
(self, fastmcp_server, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:540
Method
test_list_resources_supporting_files_as_resources
In resources mode, supporting files are also exposed as resources.
tests/server/providers/test_skills_provider.py:284
Function
test_list_result_uses_protocol_wire_names
()
tests/skills/test_models.py:235
Method
test_list_return_includes_wrap_result_meta
A tool returning list[dict] should set wrap_result in meta.
tests/tools/tool/test_output_schema.py:587
Method
test_list_return_no_structured_content_without_schema
Test that list returns don't create structured content without output schema.
tests/tools/tool/test_content.py:446
Function
test_list_schema_is_inlined
(build: Callable[[int], dict[str, Any]])
tests/utilities/test_json_schema_expansion.py:129
Method
test_list_serialized_to_json
List input is JSON-serialized.
tests/resources/test_resources.py:145
Function
test_list_shows_a_property_whose_type_is_not_a_string
( capsys: pytest.CaptureFixture[str], )
tests/experimental/events/test_cli.py:75
Function
test_list_shows_event_types
(capsys: pytest.CaptureFixture[str])
tests/experimental/events/test_cli.py:64
Function
test_list_skill_resources_reaches_a_41_style_server
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:213
Function
test_list_skills_auto_paginates_in_uri_order
()
tests/skills/test_extension.py:148
Function
test_list_skills_enforces_page_limit
()
tests/skills/test_extension.py:167
Function
test_list_skills_follows_empty_cursor
()
tests/skills/test_extension.py:189
Function
test_list_skills_json
(capsys: pytest.CaptureFixture[str])
tests/cli/test_list_skills.py:45
Function
test_list_skills_keys_entries_by_server
()
tests/client/group/test_skills.py:17
Function
test_list_skills_skips_clients_without_the_extension
()
tests/client/group/test_skills.py:32
Function
test_list_skills_text
(capsys: pytest.CaptureFixture[str])
tests/cli/test_list_skills.py:32
Function
test_list_skills_without_server_support
(capsys: pytest.CaptureFixture[str])
tests/cli/test_list_skills.py:57
Method
test_list_skips_failing_mount_by_default
(self, caplog)
tests/server/mount/test_mount.py:361
Method
test_list_survives_mounts_and_proxies
Forwarding layers must pass the query through, not decode and re-encode it.
tests/resources/test_resource_template.py:1897
Method
test_list_templates_default_mode
In template mode (default), one template is exposed.
tests/server/providers/test_skills_provider.py:301
Method
test_list_templates_resources_mode
In resources mode, no templates are exposed.
tests/server/providers/test_skills_provider.py:309
Function
test_list_tools
Test listing tools with InMemoryClient.
tests/client/client/test_client.py:29
Function
test_list_tools
Test that we can list tools.
tests/client/auth/test_oauth_client.py:121
Function
test_list_tools
Test listing available tools
examples/testing_demo/tests/test_server.py:110
Method
test_list_tools
Test listing the MCP tools
tests/integration_tests/test_github_mcp_remote.py:80
Method
test_list_tools
(self, capsys: pytest.CaptureFixture[str])
tests/cli/test_client_commands.py:852
Method
test_list_tools
( self, mcp_server: FastMCP, recording_middleware: RecordingMiddleware )
tests/server/middleware/test_middleware.py:220
Method
test_list_tools
Test that tool list caching works with a real FastMCP server.
tests/server/middleware/test_caching.py:381
Method
test_list_tools
Test listing tools returns all stored tools.
tests/server/providers/test_local_provider.py:163
Method
test_list_tools
Test listing tools from wrapped server.
tests/server/providers/test_fastmcp_provider.py:74
Function
test_list_tools_both_eras
(dual_era_server, mode)
tests/server/test_protocol_eras.py:94
Function
test_list_tools_brief
ListTools at brief detail lists all tool names and descriptions.
tests/experimental/transforms/test_code_mode_discovery.py:541
Method
test_list_tools_cache_does_not_leak_across_tokens
(self)
tests/server/middleware/test_caching.py:1034
Method
test_list_tools_calls_provider_each_time
Test that provider.list_tools() is called on every list_tools request.
tests/server/test_providers.py:150
Method
test_list_tools_creates_both_client_and_server_spans
( self, trace_exporter: InMemorySpanExporter )
tests/client/telemetry/test_client_list_tracing.py:44
Method
test_list_tools_creates_client_span
( self, trace_exporter: InMemorySpanExporter )
tests/client/telemetry/test_client_list_tracing.py:14
Method
test_list_tools_creates_span
(self, trace_exporter: InMemorySpanExporter)
tests/server/telemetry/test_list_tracing.py:12
Function
test_list_tools_detailed
ListTools at detailed shows parameter schemas.
tests/experimental/transforms/test_code_mode_discovery.py:571
Method
test_list_tools_empty
(self)
tests/test_fastmcp_app.py:429
Method
test_list_tools_empty
Test listing tools when empty.
tests/server/providers/test_local_provider.py:157
Function
test_list_tools_empty_catalog
ListTools with no tools returns no-match message.
tests/experimental/transforms/test_code_mode_discovery.py:617
Method
test_list_tools_empty_creates_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_list_tracing.py:33
Method
test_list_tools_filtering_middleware
Test that middleware can filter tools.
tests/server/middleware/test_middleware.py:339
Function
test_list_tools_full_returns_json
ListTools at full returns valid JSON with schemas.
tests/experimental/transforms/test_code_mode_discovery.py:594
Method
test_list_tools_hides_tools_bm25
(self)
tests/server/transforms/test_search.py:82
Method
test_list_tools_hides_tools_regex
(self)
tests/server/transforms/test_search.py:75
Method
test_list_tools_ignores_proxy_environment
( self, unreachable_proxy: None, mcp_url: str )
tests/cli/test_apps_dev_server.py:755
Method
test_list_tools_includes_dynamic_tools
Test that list_tools returns both static and dynamic tools.
tests/server/test_providers.py:133
Method
test_list_tools_includes_injected_tools
Test that list_tools returns both base and injected tools.
tests/server/middleware/test_tool_injection.py:63
Function
test_list_tools_keeps_defs_for_large_schema
()
tests/utilities/test_json_schema_expansion.py:289
Method
test_list_tools_marks_matching
list_tools applies marks to matching components.
tests/server/transforms/test_visibility.py:239
Function
test_list_tools_mcp
Test the list_tools_mcp method that returns raw MCP protocol objects.
tests/client/client/test_client.py:41
Method
test_list_tools_on_nested_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:384
Function
test_list_tools_propagates_child_cancellation
()
tests/client/group/test_client_group.py:87
Method
test_list_tools_refreshes_cache
Explicit list_tools always refreshes the cache timestamp.
tests/server/providers/proxy/test_proxy_server.py:1133
Method
test_list_tools_replaced_by_subclass
(self)
tests/server/transforms/test_catalog.py:93
Method
test_list_tools_reports_invalid_params
The caller maps the ValueError to INVALID_PARAMS, so the client sees that.
tests/server/test_pagination.py:140
Method
test_list_tools_result_next_cursor_bridged
(self)
tests/test_compat.py:98
Method
test_list_tools_same_as_original
(self, fastmcp_server, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:392
Method
test_list_tools_shows_only_synthetic_tools
(self)
tests/experimental/transforms/test_jev_search.py:125
Method
test_list_tools_shows_v1_when_v2_disabled
list_tools should show v1 when v2 is disabled.
tests/server/versioning/test_visibility_version_fallback.py:41
Method
test_list_tools_shows_v1_when_v2_unauthorized
(self)
tests/server/versioning/test_auth_version_fallback.py:56
Function
test_listed_skills_install_into_a_local_folder
(tmp_path: Path)
tests/skills/test_provider.py:86
Function
test_listen_event_evicts_cached_list_before_yield
A warm cache must not serve the stale list to an immediate refetch.
tests/server/test_subscriptions.py:371
Function
test_listen_events_also_reach_message_handler
(server: FastMCP)
tests/server/test_subscriptions.py:416
Function
test_listen_is_enabled_by_default
()
tests/server/test_subscriptions.py:75
Function
test_listen_is_refused_on_legacy
(server: FastMCP)
tests/server/test_subscriptions.py:387
Function
test_listen_is_served_and_capabilities_advertise_it
(server: FastMCP)
tests/server/test_subscriptions.py:60
Function
test_listing_covers_mounted_tools
()
tests/server/test_mcp_param_schema_cache.py:80
Function
test_listing_does_not_load_html
(monkeypatch)
tests/server/providers/test_prefab_sharing.py:115
Function
test_listing_refresh_replaces_stale_entries
()
tests/server/test_mcp_param_schema_cache.py:103
Method
test_lists_available_skills
(self, skills_server: FastMCP)
tests/utilities/test_skills.py:131
Method
test_lists_both_resources_and_templates
list_resources returns both static and templated resources.
tests/server/transforms/test_resources_as_tools.py:95
Method
test_lists_highest_version_only
list_resources shows one entry per URI, like resources/list does.
tests/server/transforms/test_resources_as_tools.py:122
Method
test_lists_highest_version_only
list_prompts shows one entry per name, like prompts/list does.
tests/server/transforms/test_prompts_as_tools.py:102
Method
test_lists_prompt_with_arguments
list_prompts includes argument metadata.
tests/server/transforms/test_prompts_as_tools.py:75
← previous
next →
11,501–11,600 of 16,725, ranked by callers