MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_list_survives_mounts_and_proxies
Forwarding layers must pass the query through, not decode and re-encode it.
tests/resources/test_resource_template.py:1642
Methodtest_list_templates_default_mode
In template mode (default), one template is exposed.
tests/server/providers/test_skills_provider.py:295
Methodtest_list_templates_resources_mode
In resources mode, no templates are exposed.
tests/server/providers/test_skills_provider.py:303
Functiontest_list_tools
Test listing tools with InMemoryClient.
tests/client/client/test_client.py:25
Functiontest_list_tools
Test that we can list tools.
tests/client/auth/test_oauth_client.py:121
Functiontest_list_tools
Test listing available tools
examples/testing_demo/tests/test_server.py:110
Methodtest_list_tools
Test listing the MCP tools
tests/integration_tests/test_github_mcp_remote.py:80
Methodtest_list_tools
(self, capsys: pytest.CaptureFixture[str])
tests/cli/test_client_commands.py:446
Methodtest_list_tools
( self, mcp_server: FastMCP, recording_middleware: RecordingMiddleware )
tests/server/middleware/test_middleware.py:220
Methodtest_list_tools
Test that tool list caching works with a real FastMCP server.
tests/server/middleware/test_caching.py:381
Methodtest_list_tools
Test listing tools returns all stored tools.
tests/server/providers/test_local_provider.py:162
Methodtest_list_tools
Test listing tools from wrapped server.
tests/server/providers/test_fastmcp_provider.py:74
Functiontest_list_tools_both_eras
(dual_era_server, mode)
tests/server/test_protocol_eras.py:94
Functiontest_list_tools_brief
ListTools at brief detail lists all tool names and descriptions.
tests/experimental/transforms/test_code_mode_discovery.py:515
Methodtest_list_tools_cache_does_not_leak_across_tokens
(self)
tests/server/middleware/test_caching.py:987
Methodtest_list_tools_calls_provider_each_time
Test that provider.list_tools() is called on every list_tools request.
tests/server/test_providers.py:150
Methodtest_list_tools_creates_both_client_and_server_spans
( self, trace_exporter: InMemorySpanExporter )
tests/client/telemetry/test_client_list_tracing.py:44
Methodtest_list_tools_creates_client_span
( self, trace_exporter: InMemorySpanExporter )
tests/client/telemetry/test_client_list_tracing.py:14
Methodtest_list_tools_creates_span
(self, trace_exporter: InMemorySpanExporter)
tests/server/telemetry/test_list_tracing.py:12
Functiontest_list_tools_detailed
ListTools at detailed shows parameter schemas.
tests/experimental/transforms/test_code_mode_discovery.py:545
Methodtest_list_tools_empty
(self)
tests/test_fastmcp_app.py:429
Methodtest_list_tools_empty
Test listing tools when empty.
tests/server/providers/test_local_provider.py:156
Functiontest_list_tools_empty_catalog
ListTools with no tools returns no-match message.
tests/experimental/transforms/test_code_mode_discovery.py:591
Methodtest_list_tools_empty_creates_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_list_tracing.py:33
Methodtest_list_tools_filtering_middleware
Test that middleware can filter tools.
tests/server/middleware/test_middleware.py:310
Functiontest_list_tools_full_returns_json
ListTools at full returns valid JSON with schemas.
tests/experimental/transforms/test_code_mode_discovery.py:568
Methodtest_list_tools_hides_tools_bm25
(self)
tests/server/transforms/test_search.py:82
Methodtest_list_tools_hides_tools_regex
(self)
tests/server/transforms/test_search.py:75
Methodtest_list_tools_includes_dynamic_tools
Test that list_tools returns both static and dynamic tools.
tests/server/test_providers.py:133
Methodtest_list_tools_includes_injected_tools
Test that list_tools returns both base and injected tools.
tests/server/middleware/test_tool_injection.py:63
Functiontest_list_tools_keeps_defs_for_large_schema
()
tests/utilities/test_json_schema_expansion.py:253
Methodtest_list_tools_marks_matching
list_tools applies marks to matching components.
tests/server/transforms/test_visibility.py:239
Functiontest_list_tools_mcp
Test the list_tools_mcp method that returns raw MCP protocol objects.
tests/client/client/test_client.py:37
Methodtest_list_tools_on_nested_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:384
Methodtest_list_tools_refreshes_cache
Explicit list_tools always refreshes the cache timestamp.
tests/server/providers/proxy/test_proxy_server.py:1062
Methodtest_list_tools_replaced_by_subclass
(self)
tests/server/transforms/test_catalog.py:93
Methodtest_list_tools_reports_invalid_params
The caller maps the ValueError to INVALID_PARAMS, so the client sees that.
tests/server/test_pagination.py:140
Methodtest_list_tools_result_next_cursor_bridged
(self)
tests/test_compat.py:98
Methodtest_list_tools_same_as_original
(self, fastmcp_server, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:389
Methodtest_list_tools_shows_only_synthetic_tools
(self)
tests/experimental/transforms/test_jev_search.py:125
Methodtest_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
Methodtest_lists_available_skills
(self, skills_server: FastMCP)
tests/utilities/test_skills.py:105
Methodtest_lists_both_resources_and_templates
list_resources returns both static and templated resources.
tests/server/transforms/test_resources_as_tools.py:95
Methodtest_lists_prompt_with_arguments
list_prompts includes argument metadata.
tests/server/transforms/test_prompts_as_tools.py:75
Methodtest_lists_prompts
list_prompts returns prompt metadata.
tests/server/transforms/test_prompts_as_tools.py:56
Methodtest_lists_resource_templates
list_resources returns templates with uri_template.
tests/server/transforms/test_resources_as_tools.py:77
Methodtest_lists_static_resources
list_resources returns static resources with uri.
tests/server/transforms/test_resources_as_tools.py:59
Methodtest_literal_type_validation_error
(self)
tests/server/providers/local_provider_tools/test_parameters.py:193
Methodtest_literal_type_validation_success
(self)
tests/server/providers/local_provider_tools/test_parameters.py:208
Methodtest_literal_with_context
Test Literal types work with Context and future annotations.
tests/tools/test_tool_future_annotations.py:130
Functiontest_live_task_session_is_released_on_connection_disconnect
A registered in-process task session is dropped when its connection exit stack unwinds.
tests/tasks/server/test_context_background_task.py:77
Methodtest_load_and_merge_fastmcp_json
(self, tmp_path: Path)
tests/cli/test_config_encoding.py:76
Functiontest_load_config_with_cwd
Test that Deployment applies working directory change.
tests/cli/test_run_config.py:109
Functiontest_load_config_with_entrypoint_source
Test loading config with entrypoint-format source.
tests/cli/test_run_config.py:82
Functiontest_load_config_with_log_level
Test configuration with log_level setting.
tests/cli/test_run_config.py:209
Functiontest_load_config_with_relative_cwd
Test configuration with relative working directory.
tests/cli/test_run_config.py:138
Functiontest_load_config_with_server_args
Test configuration with server arguments.
tests/cli/test_run_config.py:190
Functiontest_load_config_with_various_log_levels
Test that all valid log levels are accepted.
tests/cli/test_run_config.py:228
Functiontest_load_mcp_server_config
Test loading configuration and returning config subsets.
tests/cli/test_run_config.py:46
Functiontest_load_minimal_config
Test loading minimal configuration with only source.
tests/cli/test_run_config.py:172
Methodtest_load_server_directory
Test loading directory path exits.
tests/cli/test_run.py:97
Methodtest_load_server_nonexistent
Test loading nonexistent file path exits.
tests/cli/test_run.py:89
Methodtest_loads_frontmatter_from_utf8_bom_skill
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:238
Methodtest_loads_skill_at_init
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:232
Methodtest_local_provider_first_wins_duplicates
Test that LocalProvider tools take precedence over added providers.
tests/server/providers/test_local_provider.py:830
Methodtest_local_provider_returns_local_provider
(self)
tests/server/test_server.py:123
Methodtest_local_refs_still_resolved
(self)
tests/utilities/test_json_schema.py:1226
Methodtest_local_tools_come_first
Test that local tools (from LocalProvider) appear before other provider tools.
tests/server/test_providers.py:250
Methodtest_localhost_no_port_matches_any_port
Pattern http://localhost/callback should match any port on localhost.
tests/server/auth/test_redirect_validation.py:501
Methodtest_localhost_no_port_no_path_matches_any_port
Pattern http://localhost should match any port on localhost.
tests/server/auth/test_redirect_validation.py:508
Methodtest_log
(self, fastmcp_server: FastMCP, caplog)
tests/client/test_logs.py:53
Methodtest_log_clear_requires_same_origin
(self, headers: dict[str, str])
tests/cli/test_apps_dev_server.py:388
Methodtest_log_endpoints_work_for_the_session
(self)
tests/cli/test_apps_dev_server.py:466
Methodtest_log_error_basic
Test basic error logging.
tests/server/middleware/test_error_handling.py:61
Methodtest_log_error_callback_exception
Test error logging when callback raises exception.
tests/server/middleware/test_error_handling.py:95
Methodtest_log_error_with_callback
Test error logging with callback.
tests/server/middleware/test_error_handling.py:85
Methodtest_log_error_with_traceback
Test error logging with traceback.
tests/server/middleware/test_error_handling.py:73
Methodtest_log_file_captures_stderr_output_with_path
Test that stderr output is written to the log_file when using Path
tests/client/test_stdio.py:759
Methodtest_log_file_captures_stderr_output_with_textio
Test that stderr output is written to the log_file when using TextIO
tests/client/test_stdio.py:776
Methodtest_log_file_none_uses_default_behavior
Test that log_file=None uses default stderr handling
tests/client/test_stdio.py:799
Methodtest_log_file_parameter_accepted_by_python_stdio_transport
Test that log_file parameter can be set on PythonStdioTransport
tests/client/test_stdio.py:740
Methodtest_log_file_parameter_accepted_by_stdio_transport
Test that log_file parameter can be set on StdioTransport
tests/client/test_stdio.py:732
Methodtest_log_file_parameter_accepts_textio
Test that log_file parameter can accept a TextIO object
tests/client/test_stdio.py:750
Methodtest_log_request
Test that the proxy client correctly forwards the `log` request.
tests/server/providers/proxy/test_proxy_client.py:313
Functiontest_logging_doesnt_affect_other_loggers
(caplog)
tests/utilities/test_logging.py:10
Methodtest_logging_middleware_custom_configuration
Test logging middleware with custom logger configuration.
tests/server/middleware/test_logging.py:621
Methodtest_logging_middleware_logs_failures
Test that logging middleware captures failed operations.
tests/server/middleware/test_logging.py:501
Methodtest_logging_middleware_logs_successful_operations
Test that logging middleware captures successful operations.
tests/server/middleware/test_logging.py:473
Methodtest_logging_middleware_with_different_operations
Test logging middleware with various MCP operations.
tests/server/middleware/test_logging.py:585
Methodtest_logging_middleware_with_payloads
Test logging middleware when configured to include payloads.
tests/server/middleware/test_logging.py:519
Functiontest_logging_notification_still_flows_on_modern
`ctx.info` is a server->client *notification*, not a request. Unlike the removed server-initiated requests, notifications still flow over the mode
tests/server/test_protocol_eras.py:317
Methodtest_login_accepts_a_horizon_host
(self)
tests/cli/test_cli.py:45
Functiontest_login_host_is_saved_before_device_authorization
( use_horizon_api: Callable[[HorizonAuthAPI], None], capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_command.py:201
Functiontest_login_never_persists_an_environment_key
( use_horizon_api: Callable[[HorizonAuthAPI], None], monkeypatch: pytest.MonkeyPatch, )
tests/cli/deploy/test_command.py:286
Functiontest_login_rejects_an_invalid_host
( capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_command.py:219
Functiontest_login_replaces_an_invalid_stored_key
( use_horizon_api: Callable[[HorizonAuthAPI], None], capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_command.py:269
Functiontest_logout_clears_local_state_when_remote_revocation_fails
( use_horizon_api: Callable[[HorizonAuthAPI], None], capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_command.py:448
Functiontest_logout_does_not_modify_environment_or_stored_credentials
( use_horizon_api: Callable[[HorizonAuthAPI], None], capsys: pytest.CaptureFixture[str], monkeypat
tests/cli/deploy/test_command.py:400
Functiontest_logout_revokes_the_remote_key_and_clears_local_state
( use_horizon_api: Callable[[HorizonAuthAPI], None], capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_command.py:425
Methodtest_long_reference_chain_is_rejected
(self)
tests/utilities/json_schema_type/test_generated_classes.py:521
← previousnext →9,201–9,300 of 13,374, ranked by callers