MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,224 in github.com/PrefectHQ/fastmcp

Methodtest_preserves_passthrough_exception
(self, failure: Exception)
tests/client/client/test_session.py:285
Methodtest_preserves_property_named_discriminator
A field *named* 'discriminator' inside properties must survive.
tests/utilities/test_json_schema.py:366
Methodtest_preserves_refs_by_default
Test that compress_schema preserves $refs by default.
tests/utilities/test_json_schema.py:556
Methodtest_preserves_return_annotation_in_signature
Test that return annotation is preserved in both annotations and signature.
tests/utilities/test_types.py:694
Methodtest_preserves_sibling_keywords
Test that sibling keywords (default, description) are preserved. Pydantic places description, default, examples as siblings to $ref.
tests/utilities/test_json_schema.py:202
Methodtest_preserves_siblings_in_lists
Test that siblings are preserved for $refs inside lists (allOf, anyOf, etc).
tests/utilities/test_json_schema.py:232
Methodtest_preserves_siblings_when_stripping
(self)
tests/utilities/test_json_schema.py:1334
Methodtest_preserves_underscores
(self)
tests/cli/test_generate_cli.py:211
Methodtest_preserves_valueless_param_and_non_utf8_bytes
(self)
tests/server/auth/test_redirect_validation.py:32
Methodtest_preserves_valueless_param_and_non_utf8_bytes_alongside_existing_iss
Exact end-to-end reproduction of the worked example from the P2 review comment: registered redirect_uri already has `iss`, a valueless
tests/server/auth/test_redirect_validation.py:195
Functiontest_previous_public_assessment_reused_without_credentials
( ranking_module, tmp_path )
tests/test_issue_ranking.py:255
Methodtest_primary_version_order_still_descending
(self)
tests/server/versioning/test_versioning.py:446
Methodtest_principal_is_the_isolation_wall
(self)
tests/server/test_sessions.py:72
Methodtest_principal_not_embedded_verbatim
(self)
tests/server/test_sessions.py:89
Methodtest_prior_discover_is_exposed
(self, fastmcp_server)
tests/client/client/test_mode_negotiation.py:245
Methodtest_private_arguments
(self)
tests/tools/tool/test_tool.py:414
Methodtest_private_ip_blocked
Fetch to private IP should be blocked.
tests/server/auth/test_ssrf_protection.py:211
Methodtest_private_ip_rejected
URLs resolving to private IPs should be rejected.
tests/server/auth/test_ssrf_protection.py:179
Methodtest_private_ipv4_blocked
Private IPv4 addresses should be blocked.
tests/server/auth/test_ssrf_protection.py:69
Methodtest_private_key_jwt_auth_method_allowed
Test that private_key_jwt is allowed for CIMD.
tests/server/auth/test_cimd.py:54
Methodtest_private_scope_respected
(self)
tests/server/test_cache_hints.py:193
Methodtest_private_scope_roundtrips
(self)
tests/client/client/test_kv_response_cache.py:97
Methodtest_private_use_scheme_redirect_uris
A native client's private-use scheme redirect resolves and is enforced. RFC 8252 section 7.1 schemes have no host, and unsafe schemes in the
tests/server/auth/test_cimd_validators.py:825
Methodtest_proactive_refresh_when_validated_but_within_threshold
Token that passes validation but is within threshold gets proactively refreshed.
tests/server/auth/oauth_proxy/test_tokens.py:2245
Methodtest_process_common_args_reads_json_spec_as_utf8
A fastmcp.json spec with a non-ASCII path must survive the read.
tests/cli/test_install.py:266
Methodtest_profile_data_fetched_from_userinfo
Profile data (name, picture, locale) comes from the v2 userinfo endpoint.
tests/server/auth/providers/test_google.py:554
Functiontest_progress_aenter_returns_fresh_instances
Progress.__aenter__ returns independent per-invocation objects, not the shared default.
tests/tasks/server/test_concurrent_dependencies.py:163
Methodtest_progress_forwards_through_modern_proxy
A backend tool's `ctx.report_progress()` reaches the caller's progress handler even when the proxy backend negotiates the modern era — the
tests/server/test_mrtr_guards.py:487
Functiontest_progress_handler
(fastmcp_server: FastMCP)
tests/client/test_progress.py:45
Functiontest_progress_handler_can_be_supplied_on_tool_call
(fastmcp_server: FastMCP)
tests/client/test_progress.py:52
Functiontest_progress_handler_supplied_on_tool_call_overrides_default
( fastmcp_server: FastMCP, )
tests/client/test_progress.py:59
Functiontest_progress_in_background_task
Progress dependency works inside a background task.
tests/tasks/server/test_progress_dependency.py:35
Functiontest_progress_in_immediate_execution
Progress dependency works when a tool runs synchronously.
tests/tasks/server/test_progress_dependency.py:19
Functiontest_progress_status_message_in_background_task
A working task surfaces the current progress message as statusMessage.
tests/tasks/server/test_progress_dependency.py:71
Functiontest_progress_tracks_multiple_increments
Progress correctly tracks multiple increment calls.
tests/tasks/server/test_progress_dependency.py:55
Methodtest_project_level_config
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_discovery.py:499
Methodtest_project_level_config_url_parsing
Test project-level well-known URLs without the agentic path segment.
tests/server/auth/providers/test_descope.py:80
Methodtest_project_level_metadata_failure_is_not_retried
Identical project-level primary and fallback URLs are fetched once.
tests/server/auth/providers/test_descope.py:217
Methodtest_project_option
Test --project option for all install commands.
tests/cli/test_install.py:591
Methodtest_project_prepare_auto_detect
Test project prepare with auto-detected config.
tests/cli/test_project_prepare.py:194
Methodtest_project_prepare_config_not_exists
Test project prepare when specified config doesn't exist.
tests/cli/test_project_prepare.py:267
Methodtest_project_prepare_explicit_path
Test project prepare with explicit config path.
tests/cli/test_project_prepare.py:225
Methodtest_project_prepare_failure
Test project prepare when prepare() fails.
tests/cli/test_project_prepare.py:287
Methodtest_project_prepare_no_config_found
Test project prepare when no config is found.
tests/cli/test_project_prepare.py:248
Methodtest_project_servers
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:309
Methodtest_project_servers_match_posix_path_key
Claude Code on Windows stores project keys with forward slashes.
tests/cli/test_discovery.py:325
Methodtest_project_url_normalization
Test that project_url handles trailing slashes correctly.
tests/server/auth/providers/test_supabase.py:38
Functiontest_prompt
()
tests/contrib/test_component_manager.py:703
Functiontest_prompt
(x: str)
tests/server/middleware/test_middleware_nested.py:141
Functiontest_prompt
(x: str)
tests/server/middleware/test_middleware.py:139
Functiontest_prompt
A prompt that takes time to generate.
tests/server/middleware/test_timing.py:173
Functiontest_prompt
A test prompt for logging.
tests/server/middleware/test_logging.py:429
Methodtest_prompt
Test prompt for tool management routes.
tests/contrib/test_component_manager.py:47
Methodtest_prompt
Test prompt for auth testing.
tests/contrib/test_component_manager.py:278
Methodtest_prompt
()
tests/contrib/test_component_manager.py:482
Methodtest_prompt
()
tests/contrib/test_component_manager.py:561
Methodtest_prompt
Test prompt.
tests/utilities/test_inspect_icons.py:411
Methodtest_prompt
()
tests/utilities/test_inspect.py:254
Methodtest_prompt
(self)
tests/server/middleware/test_caching_guards.py:96
Methodtest_prompt
(x: str)
tests/server/middleware/test_middleware_nested.py:193
Methodtest_prompt
A test prompt for logging.
tests/server/middleware/test_logging.py:467
Methodtest_prompt
(name: str, greeting: str = "Hello")
tests/server/providers/test_local_provider_prompts.py:119
Methodtest_prompt
(self)
tests/server/providers/test_local_provider_prompts.py:153
Methodtest_prompt
(message: str)
tests/prompts/test_prompt.py:685
Methodtest_prompt_added_to_server
Prompt created by @prompt should work when added to a server.
tests/prompts/test_standalone_decorator.py:139
Functiontest_prompt_and_template_resolve_annotated_dependencies
()
tests/server/test_annotated_dependencies.py:50
Functiontest_prompt_argument_completion_returns_candidates
(completion_server, mode)
tests/server/test_completions.py:59
Methodtest_prompt_auth_param_forwarded
(self)
tests/contrib/test_mcp_mixin.py:589
Methodtest_prompt_completes_with_responses
Answering the ask renders the prompt on the next round.
tests/server/test_mrtr_guards_components.py:96
Methodtest_prompt_context
(self)
tests/server/providers/test_local_provider_prompts.py:16
Methodtest_prompt_context_with_callable_object
(self)
tests/server/providers/test_local_provider_prompts.py:30
Methodtest_prompt_decorator
(self)
tests/server/providers/test_local_provider_prompts.py:52
Methodtest_prompt_decorator_async_function
(self)
tests/server/providers/test_local_provider_prompts.py:209
Methodtest_prompt_decorator_classmethod
(self)
tests/server/providers/test_local_provider_prompts.py:165
Methodtest_prompt_decorator_classmethod_error
(self)
tests/server/providers/test_local_provider_prompts.py:183
Methodtest_prompt_decorator_conflicting_names_error
Test that providing both positional and keyword names raises an error.
tests/server/providers/test_local_provider_prompts.py:283
Methodtest_prompt_decorator_delegates_to_local_provider
Test that @mcp.prompt registers with the local provider.
tests/server/test_server.py:81
Methodtest_prompt_decorator_instance_method
(self)
tests/server/providers/test_local_provider_prompts.py:146
Methodtest_prompt_decorator_registers
Prompt decorator should register in _components.
tests/server/providers/test_local_provider.py:521
Methodtest_prompt_decorator_staticmethod
(self)
tests/server/providers/test_local_provider_prompts.py:194
Methodtest_prompt_decorator_staticmethod_order
Test that both decorator orders work for static methods
tests/server/providers/test_local_provider_prompts.py:296
Methodtest_prompt_decorator_with_description
(self)
tests/server/providers/test_local_provider_prompts.py:99
Methodtest_prompt_decorator_with_meta
Test that meta parameter is passed through the prompt decorator.
tests/server/providers/test_local_provider_prompts.py:312
Methodtest_prompt_decorator_with_name
(self)
tests/server/providers/test_local_provider_prompts.py:83
Methodtest_prompt_decorator_with_parameters
(self)
tests/server/providers/test_local_provider_prompts.py:115
Methodtest_prompt_decorator_with_string_name
Test that @prompt(\"custom_name\") syntax works correctly.
tests/server/providers/test_local_provider_prompts.py:235
Methodtest_prompt_decorator_with_tags
Test that the prompt decorator properly sets tags.
tests/server/providers/test_local_provider_prompts.py:222
Methodtest_prompt_decorator_without_parentheses
(self)
tests/server/providers/test_local_provider_prompts.py:68
Functiontest_prompt_dependency_cannot_be_overridden_externally
Test that external callers cannot override prompt dependencies. This is a security test - dependencies should NEVER be overridable from outsi
tests/server/test_dependencies.py:612
Methodtest_prompt_direct_function_call
Test that prompts can be registered via direct function call.
tests/server/providers/test_local_provider_prompts.py:253
Methodtest_prompt_disabled
(self)
tests/server/providers/test_local_provider_prompts.py:349
Methodtest_prompt_emits_input_required
The asking round reaches the wire as an InputRequiredResult.
tests/server/test_mrtr_guards_components.py:86
Methodtest_prompt_enable_raises_not_implemented
Test that Prompt.enable() raises NotImplementedError.
tests/utilities/test_components.py:311
Methodtest_prompt_enabled_false
Prompt with enabled=False should add a Visibility transform.
tests/server/providers/test_local_provider.py:542
Methodtest_prompt_enabled_false_not_listed
Disabled prompt should not appear in get_prompts (filtering at server level).
tests/server/providers/test_local_provider.py:561
Methodtest_prompt_enabled_false_skips_registration
(self)
tests/contrib/test_mcp_mixin.py:501
Functiontest_prompt_error_masked_when_masking_enabled
Masking still applies: prompts leak no more than tools already do.
tests/server/test_protocol_eras.py:494
Functiontest_prompt_error_message_reaches_client
A PromptError's message must reach the wire on every era.
tests/server/test_protocol_eras.py:449
Methodtest_prompt_error_with_custom_log_level
PromptError with custom log_level should log at specified level.
tests/client/client/test_error_handling.py:451
Methodtest_prompt_errors_are_sent_to_client
(self, mask_error_details: bool)
tests/client/client/test_error_handling.py:246
← previousnext →12,701–12,800 of 16,224, ranked by callers