MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_list_tools_on_nested_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:384
Functiontest_list_tools_propagates_child_cancellation
()
tests/client/group/test_client_group.py:87
Methodtest_list_tools_refreshes_cache
Explicit list_tools always refreshes the cache timestamp.
tests/server/providers/proxy/test_proxy_server.py:1133
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:392
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_list_tools_shows_v1_when_v2_unauthorized
(self)
tests/server/versioning/test_auth_version_fallback.py:56
Functiontest_listed_skills_install_into_a_local_folder
(tmp_path: Path)
tests/skills/test_provider.py:86
Functiontest_listing_covers_mounted_tools
()
tests/server/test_mcp_param_schema_cache.py:80
Functiontest_listing_does_not_load_html
(monkeypatch)
tests/server/providers/test_prefab_sharing.py:115
Functiontest_listing_refresh_replaces_stale_entries
()
tests/server/test_mcp_param_schema_cache.py:103
Methodtest_lists_available_skills
(self, skills_server: FastMCP)
tests/utilities/test_skills.py:131
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_highest_version_only
list_resources shows one entry per URI, like resources/list does.
tests/server/transforms/test_resources_as_tools.py:122
Methodtest_lists_highest_version_only
list_prompts shows one entry per name, like prompts/list does.
tests/server/transforms/test_prompts_as_tools.py:102
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
Functiontest_lists_skills_without_reading_their_files
()
tests/skills/test_manifest_provider.py:42
Methodtest_lists_static_resources
list_resources returns static resources with uri.
tests/server/transforms/test_resources_as_tools.py:59
Methodtest_literal_fragment_in_template_rejects_other_fragment
(self)
tests/resources/test_resource_template.py:1098
Methodtest_literal_fragment_in_template_still_matches
(self)
tests/resources/test_resource_template.py:1091
Methodtest_literal_query_in_template_rejects_extra_key
A raw `&` starts another key, so it never ends up inside the value.
tests/resources/test_resource_template.py:1137
Methodtest_literal_query_in_template_rejects_other_query
(self)
tests/resources/test_resource_template.py:1119
Methodtest_literal_query_in_template_round_trips_empty_value
(self)
tests/resources/test_resource_template.py:1131
Methodtest_literal_query_in_template_round_trips_reserved_value
(self)
tests/resources/test_resource_template.py:1126
Methodtest_literal_query_in_template_still_matches
(self)
tests/resources/test_resource_template.py:1112
Methodtest_literal_query_in_template_wildcard_stops_at_ampersand
(self)
tests/resources/test_resource_template.py:1152
Methodtest_literal_query_in_template_with_two_keys
(self)
tests/resources/test_resource_template.py:1145
Methodtest_literal_query_name_cannot_inject_pattern
(self)
tests/resources/test_resource_template.py:2009
Methodtest_literal_query_value_with_non_identifier_name
(self)
tests/resources/test_resource_template.py:2004
Functiontest_literal_reannotation_advertises_transform_fn_values
A transform_fn Literal replaces the parent's value set instead of merging.
tests/tools/tool_transform/test_schema_compatibility.py:354
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:78
Methodtest_load_access_token_rejects_under_scoped_grant
( self, provider: WorkOSProvider, httpx_mock: HTTPXMock )
tests/server/auth/providers/test_workos.py:516
Methodtest_load_access_token_uses_upstream_granted_scopes
( self, provider: WorkOSProvider, httpx_mock: HTTPXMock )
tests/server/auth/providers/test_workos.py:505
Functiontest_load_and_merge_config_anchors_paths_to_config_dir
Relative source and requirements paths resolve beside fastmcp.json, not the cwd.
tests/cli/test_run_config.py:352
Methodtest_load_and_merge_fastmcp_json
(self, tmp_path: Path)
tests/cli/test_config_encoding.py:77
Functiontest_load_config_with_cwd
Test that Deployment applies working directory change.
tests/cli/test_run_config.py:110
Functiontest_load_config_with_entrypoint_source
Test loading config with entrypoint-format source.
tests/cli/test_run_config.py:83
Functiontest_load_config_with_log_level
Test configuration with log_level setting.
tests/cli/test_run_config.py:210
Functiontest_load_config_with_relative_cwd
Test configuration with relative working directory.
tests/cli/test_run_config.py:139
Functiontest_load_config_with_server_args
Test configuration with server arguments.
tests/cli/test_run_config.py:191
Functiontest_load_config_with_various_log_levels
Test that all valid log levels are accepted.
tests/cli/test_run_config.py:229
Functiontest_load_mcp_server_config
Test loading configuration and returning config subsets.
tests/cli/test_run_config.py:47
Functiontest_load_minimal_config
Test loading minimal configuration with only source.
tests/cli/test_run_config.py:173
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
Functiontest_load_skills_is_called_once_per_request
()
tests/skills/test_provider.py:96
Methodtest_loads_frontmatter_from_utf8_bom_skill
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:244
Methodtest_loads_skill_at_init
(self, single_skill_dir: Path)
tests/server/providers/test_skills_provider.py:238
Functiontest_local_and_proxied_skills_share_one_catalog
()
tests/server/providers/proxy/test_skills.py:201
Methodtest_local_provider_first_wins_duplicates
Test that LocalProvider tools take precedence over added providers.
tests/server/providers/test_local_provider.py:939
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:1421
Functiontest_local_tool_available_before_any_listing
()
tests/server/test_mcp_param_schema_cache.py:44
Methodtest_local_tools_come_first
Test that local tools (from LocalProvider) appear before other provider tools.
tests/server/test_providers.py:250
Functiontest_local_wins_for_bare_and_qualified_names
(claude_project)
tests/cli/test_claude_code_precedence.py:34
Methodtest_localhost_no_port_matches_any_port
Pattern http://localhost/callback should match any port on localhost.
tests/server/auth/test_redirect_validation.py:561
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:568
Methodtest_log
(self, fastmcp_server: FastMCP, caplog)
tests/client/test_logs.py:55
Methodtest_log_clear_requires_same_origin
(self, headers: dict[str, str])
tests/cli/test_apps_dev_server.py:451
Methodtest_log_endpoints_work_for_the_session
(self)
tests/cli/test_apps_dev_server.py:529
Methodtest_log_error_basic
Test basic error logging.
tests/server/middleware/test_error_handling.py:64
Methodtest_log_error_callback_exception
Test error logging when callback raises exception.
tests/server/middleware/test_error_handling.py:98
Methodtest_log_error_with_callback
Test error logging with callback.
tests/server/middleware/test_error_handling.py:88
Methodtest_log_error_with_traceback
Test error logging with traceback.
tests/server/middleware/test_error_handling.py:76
Methodtest_log_extra_with_attribute_from_custom_record_factory
Attributes added by a record factory installed later are reserved too.
tests/server/test_context.py:606
Methodtest_log_extra_with_log_record_attribute_names
`extra` keys that collide with LogRecord attributes must not fail the call.
tests/server/test_context.py:582
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:938
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:955
Methodtest_log_file_from_a_python_server_is_valid_utf8
Regression test for GH-5641: the captured stderr log decodes as UTF-8 even where the platform code page is not UTF-8.
tests/client/test_stdio.py:994
Methodtest_log_file_none_uses_default_behavior
Test that log_file=None uses default stderr handling
tests/client/test_stdio.py:978
Methodtest_log_file_parameter_accepted_by_python_stdio_transport
Test that log_file parameter can be set on PythonStdioTransport
tests/client/test_stdio.py:919
Methodtest_log_file_parameter_accepted_by_stdio_transport
Test that log_file parameter can be set on StdioTransport
tests/client/test_stdio.py:911
Methodtest_log_file_parameter_accepts_textio
Test that log_file parameter can accept a TextIO object
tests/client/test_stdio.py:929
Methodtest_log_request
Test that the proxy client correctly forwards the `log` request.
tests/server/providers/proxy/test_proxy_client.py:436
Methodtest_log_request_with_non_fastmcp_payload
Test that the proxy forwards log data that is not FastMCP's `msg`/`extra` dict.
tests/server/providers/proxy/test_proxy_client.py:467
Functiontest_logging_doesnt_affect_other_loggers
(caplog)
tests/utilities/test_logging.py:17
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:47
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
Functiontest_long_reference_chain_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:217
← previousnext →11,001–11,100 of 15,974, ranked by callers