MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,725 in github.com/PrefectHQ/fastmcp

Functiontest_input_required_result_request_state
Carries opaque state across the round trip and confirms it came back.
tests/conformance/server.py:530
Functiontest_input_required_result_sampling
Asks the client to sample an answer, then echoes the sampled text.
tests/conformance/server.py:484
Functiontest_input_required_result_tampered_state
Round-trips sealed state so a tampered echo is rejected by the framework.
tests/conformance/server.py:609
Methodtest_input_responses_visible_to_tool
A guard tool reads the client's answer out of ctx.input_responses.
tests/server/test_mrtr_guards.py:337
Functiontest_input_schema_keeps_media_type_defs
()
tests/utilities/openapi/test_inline_defs.py:88
Functiontest_input_schema_omits_read_only_properties
(openapi_version: str)
tests/server/providers/openapi/test_read_only_requests.py:69
Methodtest_inspect_command_parsing_basic
Test basic inspect command parsing.
tests/cli/test_cli.py:547
Methodtest_inspect_command_parsing_with_output
Test inspect command parsing with output file.
tests/cli/test_cli.py:556
Methodtest_inspect_command_stdout_is_valid_json
Long descriptions and bracketed text must reach stdout unchanged.
tests/cli/test_cli.py:673
Methodtest_inspect_command_text_summary
Test inspect command with no format shows text summary.
tests/cli/test_cli.py:574
Methodtest_inspect_command_text_summary_keeps_brackets
Square brackets in server metadata are shown literally, not parsed as markup.
tests/cli/test_cli.py:610
Methodtest_inspect_command_with_real_server
Test inspect command with a real server file.
tests/cli/test_cli.py:627
Methodtest_inspect_parent_filters_override_mounted_server_filters
Test that parent server tag filters apply to mounted servers. Even if a mounted server has no tag filters of its own, the parent serv
tests/utilities/test_inspect.py:426
Methodtest_inspect_respects_tag_filtering
Test that inspect omits components filtered out by include_tags/exclude_tags. Regression test for Issue #2032: inspect command was showing co
tests/utilities/test_inspect.py:274
Methodtest_inspect_respects_tag_filtering_with_mounted_servers
Test that inspect applies tag filtering to mounted servers. Verifies that when a parent server has tag filters, those filters are res
tests/utilities/test_inspect.py:357
Methodtest_inspector_module_mode_skips_load_server
Test that inspector with module=True skips load_server() and forwards --module.
tests/cli/test_run.py:1254
Methodtest_install_app_exists
Test that the install app is properly configured.
tests/cli/test_install.py:16
Methodtest_install_claude_desktop_merges_existing_config
(self, tmp_path: Path)
tests/cli/test_config_encoding.py:94
Methodtest_install_commands_registered
Test that all install commands are registered.
tests/cli/test_install.py:22
Methodtest_install_creates_missing_or_blank_config_file
( self, server_file: Path, config_dir: Path, existing: str | None )
tests/cli/test_install.py:184
Methodtest_install_cursor_deduplicate_packages
Test that duplicate packages are deduplicated.
tests/cli/test_cursor.py:391
Methodtest_install_cursor_failure
Test cursor installation when deeplink fails to open.
tests/cli/test_cursor.py:346
Methodtest_install_cursor_success
Test successful cursor installation.
tests/cli/test_cursor.py:267
Methodtest_install_cursor_with_editable
Test cursor installation with editable package.
tests/cli/test_cursor.py:315
Methodtest_install_cursor_with_packages
Test cursor installation with additional packages.
tests/cli/test_cursor.py:286
Methodtest_install_cursor_workspace_empty_config_file
Test that an empty .cursor/mcp.json is filled in instead of rejected.
tests/cli/test_cursor.py:374
Methodtest_install_cursor_workspace_path_is_file
Test that passing a file as workspace_path returns False.
tests/cli/test_cursor.py:360
Methodtest_install_is_idempotent
(self)
tests/test_compat.py:173
Methodtest_install_keeps_other_settings_in_existing_config_file
( self, server_file: Path, config_dir: Path )
tests/cli/test_install.py:199
Methodtest_install_mcp_json_stdout_is_valid_json
Long paths and bracketed values must reach stdout unchanged.
tests/cli/test_install.py:377
Methodtest_install_minimal_args
Test install commands with minimal required arguments.
tests/cli/test_install.py:528
Methodtest_install_reads_fastmcp_json
(self, tmp_path: Path)
tests/cli/test_config_encoding.py:85
Methodtest_install_stdio_generates_command
Test that install_stdio produces a shell command containing fastmcp run.
tests/cli/test_install.py:424
Methodtest_install_stdio_with_object
Test that install_stdio includes the :object suffix.
tests/cli/test_install.py:447
Methodtest_instance_method
(self)
tests/tools/tool/test_tool.py:491
Methodtest_instance_method_with_varargs_not_allowed
(self)
tests/tools/tool/test_tool.py:530
Methodtest_instance_method_with_varkwargs_not_allowed
(self)
tests/tools/tool/test_tool.py:543
Methodtest_insufficient_scope_challenge_includes_supported_scopes
(self)
tests/server/auth/test_enhanced_error_responses.py:820
Methodtest_insufficient_scope_error_is_authorization_error
(self)
tests/server/auth/test_authorization.py:1214
Methodtest_insufficient_scope_not_enhanced
Test that insufficient_scope errors are not modified.
tests/server/auth/test_enhanced_error_responses.py:958
Methodtest_int_array_schema
Test route with integer array request body schema.
tests/utilities/openapi/test_direct_array_schemas.py:55
Methodtest_int_coercion
Test integer type coercion for query parameters.
tests/resources/test_resource_template_query_params.py:59
Methodtest_int_return_includes_wrap_result_meta
A tool returning int should set wrap_result in meta.
tests/tools/tool/test_output_schema.py:598
Methodtest_int_return_no_structured_content_without_schema
Test that int returns don't create structured content without output schema.
tests/tools/tool/test_content.py:410
Methodtest_int_return_with_schema_creates_structured_content
Test that int returns DO create structured content when there's an output schema.
tests/tools/tool/test_content.py:484
Methodtest_integer
(self)
tests/cli/test_client_commands.py:48
Methodtest_integer
(self)
tests/cli/test_generate_cli.py:793
Methodtest_integer_accepts_integer
(self, simple_integer)
tests/utilities/json_schema_type/test_json_schema_type.py:71
Methodtest_integer_accepts_integer_string
(self, simple_integer)
tests/utilities/json_schema_type/test_json_schema_type.py:75
Methodtest_integer_default_preserved
Test that integer defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:517
Methodtest_integer_invalid
(self)
tests/cli/test_client_commands.py:54
Methodtest_integer_negative
(self)
tests/cli/test_client_commands.py:51
Methodtest_integer_rejects_float
(self, simple_integer)
tests/utilities/json_schema_type/test_json_schema_type.py:79
Methodtest_integer_rejects_float_string
(self, simple_integer)
tests/utilities/json_schema_type/test_json_schema_type.py:84
Methodtest_integral_float_counts_apply
(self, schema, valid, invalid)
tests/utilities/json_schema_type/test_constraints.py:305
Functiontest_interactive_credential_is_persisted
(tmp_path: Path)
tests/cli/deploy/test_credentials.py:149
Functiontest_interactive_credential_rejects_an_origin_change
( tmp_path: Path, )
tests/cli/deploy/test_credentials.py:161
Functiontest_interceptor_observes_tool_call
A pass-through interceptor sees the call and the tool still runs.
tests/server/test_extensions.py:212
Functiontest_interceptor_reaches_tool_metadata
An interceptor can resolve the tool being called through the context.
tests/server/test_extensions.py:262
Functiontest_interceptor_short_circuits
An interceptor can return its own result without running the tool body.
tests/server/test_extensions.py:236
Functiontest_interceptor_tasks_the_requested_version_not_the_highest
A versioned tools/call tasks the version the caller asked for. Two versions share a name but differ in task mode: v1 is task-forbidden, v2 is
tests/tasks/server/test_task_config.py:57
Functiontest_interceptors_nest_first_registered_outermost
Multiple interceptors nest with the first-registered extension outermost.
tests/server/test_extensions.py:286
Methodtest_internal_metadata_stripped_by_get_meta
Internal metadata is stripped when calling get_meta().
tests/server/transforms/test_visibility.py:185
Functiontest_internal_tasks_extension_present_without_user_extensions
Even with no user extensions, the tasks claim is auto-registered.
tests/client/test_client_extensions.py:154
Methodtest_introspection_client_secret_as_secret_str
Test that SecretStr client_secret is unwrapped correctly.
tests/server/auth/providers/test_propelauth.py:83
Functiontest_introspection_endpoints_keep_session_and_transport_ownership_separate
()
tests/server/auth/test_auth_source_identities.py:190
Methodtest_introspection_failure_rejects_when_scopes_required
When introspection fails (non-200), token is rejected regardless of scopes.
tests/server/auth/providers/test_clerk.py:353
Methodtest_introspection_failure_rejects_without_required_scopes
Introspection failure (non-200) rejects the token even without required_scopes.
tests/server/auth/providers/test_clerk.py:548
Methodtest_introspection_inactive_token_returns_none
Token marked inactive by introspection is rejected before userinfo.
tests/server/auth/providers/test_clerk.py:317
Methodtest_introspection_missing_active_field_returns_none
RFC 7662 requires the 'active' field; a missing field is malformed and rejected.
tests/server/auth/providers/test_clerk.py:335
Methodtest_introspection_sends_client_credentials
Introspection request sends credentials via HTTP Basic Auth when both are set.
tests/server/auth/providers/test_clerk.py:421
Functiontest_invalid_access_token_is_not_revoked
( proxy: OAuthProxy, jwt_verifier, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_revocation.py:246
Methodtest_invalid_arg_format_exits
(self)
tests/cli/test_client_commands.py:276
Methodtest_invalid_audience_rejection
Test rejection of tokens with invalid audience.
tests/server/auth/test_jwt_provider_bearer.py:179
Functiontest_invalid_backend_client_negotiation_is_not_ignored
()
tests/server/providers/proxy/test_server_metadata.py:356
Methodtest_invalid_boolean_value_raises_error
Test that nonsense boolean values like 'banana' raise ValueError.
tests/resources/test_resource_template_query_params.py:281
Methodtest_invalid_boolean_value_raises_error
( self, postponed_get_config, value: str )
tests/resources/test_resource_template_query_params.py:352
Methodtest_invalid_boolean_value_raises_error
(self, config_reader, value: str)
tests/resources/test_resource_template_query_params.py:397
Methodtest_invalid_cache_timestamp_is_ignored
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, timestamp: object )
tests/utilities/test_version_check.py:77
Functiontest_invalid_catalogs
(skills: object, message: str)
tests/skills/test_provider.py:188
Methodtest_invalid_cimd_url_rejected
CIMD URLs must be HTTPS with a non-root path.
tests/client/auth/test_oauth_cimd.py:55
Functiontest_invalid_clone_rejected_without_rebinding_source
(invalid_clone: str)
tests/server/test_provider_extensions.py:538
Methodtest_invalid_coercion_still_fails
Even without strict validation, truly invalid inputs should fail.
tests/server/test_input_validation.py:138
Methodtest_invalid_content_is_an_error
(self, content: dict[str, Any])
tests/client/test_elicitation.py:956
Methodtest_invalid_cursor_raises
Invalid cursor should raise ValueError.
tests/server/test_pagination.py:119
Methodtest_invalid_cursor_returns_error
Server should return MCP error for invalid cursor.
tests/server/test_pagination.py:330
Methodtest_invalid_data_error_names_only_sent_keys
(self)
tests/utilities/json_schema_type/test_advanced.py:109
Methodtest_invalid_defaults_only_apply_to_omitted_fields
( self, additional_properties: bool | None )
tests/utilities/json_schema_type/test_advanced.py:32
Functiontest_invalid_folders_stop_startup_with_a_fix_for_each
(tmp_path: Path)
tests/skills/test_directory_provider.py:62
Functiontest_invalid_generator_arguments_do_not_enter_dependency
()
tests/server/test_generator_dependency_lifetime.py:116
Methodtest_invalid_grant_is_sanitized
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_tokens.py:421
Functiontest_invalid_identifier_rejected_at_class_definition
()
tests/server/test_extensions.py:513
Methodtest_invalid_input_json_exits
(self)
tests/cli/test_client_commands.py:280
Methodtest_invalid_issuer_rejection
Test rejection of tokens with invalid issuer.
tests/server/auth/test_jwt_provider_bearer.py:166
Methodtest_invalid_json
(self, tmp_path: Path)
tests/cli/test_discovery.py:125
Methodtest_invalid_jwt_format
Test that invalid format raises ValueError.
tests/utilities/test_auth.py:115
Methodtest_invalid_jwt_format_four_parts
Test that four-part token raises ValueError.
tests/utilities/test_auth.py:58
Methodtest_invalid_jwt_format_one_part
Test that single-part token raises ValueError.
tests/utilities/test_auth.py:53
Methodtest_invalid_jwt_format_two_parts
Test that two-part token raises ValueError.
tests/utilities/test_auth.py:48
Functiontest_invalid_local_keeps_valid_user
(claude_project)
tests/cli/test_claude_code_precedence.py:95
← previousnext →11,101–11,200 of 16,725, ranked by callers