Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
Method
test_replay_events_after_returns_stream_id
( self, event_store, sample_message )
tests/server/test_event_store.py:85
Method
test_replay_events_after_skips_priming_events
Priming events (message=None) should not be replayed.
tests/server/test_event_store.py:106
Method
test_replay_events_after_unknown_event_id
(self, event_store)
tests/server/test_event_store.py:126
Method
test_replayed_jti_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:494
Method
test_report_progress_in_background_task
report_progress() should complete without error in a background task.
tests/tasks/server/test_context_background_task.py:338
Method
test_report_progress_request
Test that the proxy client correctly forwards the `report_progress` request.
tests/server/providers/proxy/test_proxy_client.py:487
Method
test_repr
(self)
tests/test_fastmcp_app.py:796
Method
test_repr
Test string representation of component.
tests/utilities/test_components.py:153
Method
test_repr
Transform has useful repr.
tests/server/transforms/test_resources_as_tools.py:269
Method
test_repr
Transform has useful repr.
tests/server/transforms/test_prompts_as_tools.py:231
Method
test_repr
Test string representation.
tests/server/versioning/test_versioning.py:63
Method
test_repr
Test VersionFilter string representation.
tests/server/versioning/test_filtering.py:393
Method
test_repr_disable
Repr shows disable action and criteria.
tests/server/transforms/test_visibility.py:210
Method
test_repr_enable
Repr shows enable action.
tests/server/transforms/test_visibility.py:217
Method
test_repr_match_all
Repr shows match_all.
tests/server/transforms/test_visibility.py:222
Method
test_request_and_response_entries_keep_correlation
(self)
tests/cli/test_apps_dev_server.py:76
Method
test_request_approval_returns_structured_content
(self)
tests/apps/test_approval.py:8
Method
test_request_approval_with_details
(self)
tests/apps/test_approval.py:17
Method
test_request_body_and_headers_reach_the_app
(self)
tests/utilities/test_asgi_transport.py:59
Method
test_request_body_defaults
Test request body default values.
tests/utilities/openapi/test_models.py:125
Method
test_request_body_multiple_content_types
Test request body with multiple content types.
tests/utilities/openapi/test_models.py:133
Method
test_request_body_multiple_content_types
Test request body with multiple content types.
tests/utilities/openapi/test_schemas.py:624
Method
test_request_body_properties_in_tool
Test that request body properties are included in tool parameters.
tests/server/providers/openapi/test_openapi_features.py:308
Method
test_request_body_with_content_schema
Test request body with content schema.
tests/utilities/openapi/test_models.py:105
Method
test_request_building_and_execution
Test that requests are built and executed correctly.
tests/server/providers/openapi/test_comprehensive.py:478
Function
test_request_context_attributes_the_guides_route_to_exist
The guides send people to ``ctx.request_context`` for several attributes. ``FastMCPRequestContext`` resolves its attributes dynamically, so this
tests/docs/test_upgrade_guide_api_claims.py:100
Method
test_request_context_meta_access
Test that the lifted _meta dict is accessible from request context. In the v2 SDK port the wrapper's ``meta`` is the raw ``_meta`` block
tests/server/test_context.py:354
Method
test_request_context_meta_none
Test that context handles None meta gracefully.
tests/server/test_context.py:392
Function
test_request_defs_keep_the_component_a_pointer_reaches_into
()
tests/utilities/openapi/test_schemas.py:777
Method
test_request_for_required_scope_only
Requesting only the required scope keeps it and narrows away the rest.
tests/server/auth/oauth_proxy/test_identity_assertion.py:418
Method
test_request_includes_correct_headers
Test that the request includes correct headers and auth.
tests/server/auth/providers/test_introspection.py:317
Method
test_request_includes_token_and_hint
Test that the request includes token and token_type_hint.
tests/server/auth/providers/test_introspection.py:338
Method
test_request_narrowing_preserves_required_scope
A configured `required_scope` the assertion grants must always ride on the issued token; the request `scope` may only narrow the optional
tests/server/auth/oauth_proxy/test_identity_assertion.py:392
Method
test_request_scope_cannot_widen_assertion_scope
A client whose assertion grants only `readonly` cannot obtain `admin` by asking for it at the token endpoint. The request `scope` is not cover
tests/server/auth/oauth_proxy/test_identity_assertion.py:350
Method
test_request_scope_narrows_assertion_scope
When the request `scope` is a subset of the assertion's granted scopes, the issued token carries only the intersection.
tests/server/auth/oauth_proxy/test_identity_assertion.py:371
Method
test_request_uses_localhost_fallback_when_no_base_url
Test that tool uses localhost fallback when client has no base_url.
tests/server/providers/openapi/test_comprehensive.py:519
Method
test_request_with_token_applies_change
( self, rsa_key_pair: RSAKeyPair, kind: ComponentKind, key: str, route
tests/contrib/test_component_manager.py:774
Function
test_request_without_read_only_properties_is_sent
()
tests/server/providers/openapi/test_read_only_requests.py:92
Method
test_request_without_token_returns_401
( self, rsa_key_pair: RSAKeyPair, kind: ComponentKind, key: str, route
tests/contrib/test_component_manager.py:752
Method
test_request_without_token_returns_401
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:862
Method
test_requests_without_session_are_rejected
(self, method: str, path: str)
tests/cli/test_apps_dev_server.py:121
Method
test_require_docket_error_mentions_version_when_too_old
``require_docket()`` distinguishes "missing" from "too old". When pydocket is installed but pinned below the floor, the install instr
tests/server/test_dependencies.py:839
Method
test_require_docket_passes_when_installed
Test require_docket doesn't raise when docket is installed.
tests/server/test_dependencies.py:833
Method
test_required_accepts_valid
(self, required_object)
tests/utilities/json_schema_type/test_containers.py:345
Method
test_required_bool_without_default_gets_false
(self)
tests/apps/test_form.py:214
Function
test_required_in_sibling_all_of_member_loses_write_only_name
()
tests/server/providers/openapi/test_write_only_responses.py:271
Function
test_required_is_cleared_when_every_property_is_write_only
()
tests/server/providers/openapi/test_write_only_responses.py:121
Function
test_required_json_array_preserves_empty_value
()
tests/cli/test_generate_cli_empty_arrays.py:24
Function
test_required_json_object_with_omitted_properties_sends_empty_object
A required object body is {} when every property is left out. Optional bodies stay absent. Supplying a property still sends that object.
tests/server/providers/openapi/test_object_request_bodies.py:595
Function
test_required_json_parameter_preserves_null
( value: str, expected: dict[str, str] | None )
tests/cli/test_generate_cli_arguments.py:30
Method
test_required_mode_with_opt_in_tasks
Required mode tasks when the caller opts in.
tests/tasks/server/test_task_config.py:176
Method
test_required_mode_with_task_through_mount
(self, parent_with_modes)
tests/tasks/server/test_task_mount.py:436
Method
test_required_mode_without_opt_in_raises
Required mode raises -32021 when called without a tasks opt-in.
tests/tasks/server/test_task_config.py:168
Function
test_required_mode_without_optin_raises_32021
A legacy client never negotiates the tasks capability, so a required-mode tool call is rejected with the -32021 missing-capability error.
tests/tasks/client/test_client_tool_tasks.py:138
Method
test_required_mode_without_task_through_mount
(self, parent_with_modes)
tests/tasks/server/test_task_mount.py:447
Function
test_required_names_covered_by_additional_properties_stay_required
()
tests/server/providers/openapi/test_write_only_responses.py:232
Function
test_required_names_defined_by_all_of_stay_required
()
tests/server/providers/openapi/test_write_only_responses.py:214
Method
test_required_param
(self)
tests/cli/test_client_commands.py:333
Method
test_required_param
(self)
tests/cli/test_generate_cli.py:152
Method
test_required_params_in_path
Test that required parameters must be in path.
tests/resources/test_resource_template_query_params.py:161
Method
test_required_params_subset_of_uri_params
Test validation rule: Required function parameters must be in URI parameters.
tests/resources/test_resource_template.py:125
Method
test_required_properties_with_additional
Test BaseModel with required fields and additional properties
tests/utilities/json_schema_type/test_advanced.py:1336
Method
test_required_rejects_missing
(self, required_object)
tests/utilities/json_schema_type/test_containers.py:351
Method
test_required_scopes_all_oidc_raises_value_error
Test that providing only OIDC scopes raises ValueError.
tests/server/auth/providers/test_azure_scopes.py:160
Method
test_required_scopes_are_enforced_by_the_provider
( self, provider: WorkOSProvider )
tests/server/auth/providers/test_workos.py:479
Method
test_required_scopes_default_to_empty
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_workos.py:486
Method
test_required_scopes_explicit_empty_list
Passing required_scopes=[] explicitly clears inherited scopes.
tests/server/auth/test_multi_auth.py:445
Method
test_required_scopes_from_env
Test that required_scopes can be set via environment variable.
tests/server/auth/providers/test_descope.py:544
Method
test_required_scopes_from_server
(self)
tests/server/auth/test_multi_auth.py:151
Method
test_required_scopes_hooks_into_verifier
Token verifier should enforce required scopes when provided.
tests/server/auth/providers/test_scalekit.py:105
Method
test_required_scopes_not_satisfied_returns_none
Token without required scopes is rejected before userinfo.
tests/server/auth/providers/test_clerk.py:386
Method
test_required_scopes_not_satisfied_returns_none
Token without required scopes is rejected.
tests/server/auth/providers/test_google.py:457
Method
test_required_scopes_passed_to_verifier
Test that required_scopes are passed through to the token verifier.
tests/server/auth/providers/test_propelauth.py:70
Method
test_required_scopes_satisfied
Token with required scopes passes the scope check.
tests/server/auth/providers/test_google.py:433
Method
test_required_scopes_support
Test that required_scopes are supported and passed to JWT verifier.
tests/server/auth/providers/test_descope.py:519
Method
test_required_scopes_validation
Test that required scopes are validated.
tests/server/auth/providers/test_introspection.py:215
Method
test_required_scopes_validation_success
Test successful validation with required scopes.
tests/server/auth/providers/test_introspection.py:236
Method
test_required_scopes_with_oidc_filters_validation
Test that OIDC scopes in required_scopes are filtered from token validation.
tests/server/auth/providers/test_azure_scopes.py:142
Method
test_required_scopes_with_old_api
Test that required_scopes work with the old API (project_id + descope_base_url).
tests/server/auth/providers/test_descope.py:531
Method
test_required_task_tool_refuses_nested_call
(self)
tests/tasks/server/test_task_catalog_transforms.py:157
Method
test_required_tool_exposes_task_support
Tools with mode=required expose task_support='required'.
tests/tasks/server/test_task_config.py:231
Function
test_required_tool_tasks_when_opted_in
()
tests/tasks/server/test_extension.py:141
Function
test_required_tool_without_opt_in_raises_missing_capability
()
tests/tasks/server/test_extension.py:151
Method
test_requirements_path_resolution
Test that requirements path is resolved correctly.
tests/cli/test_mcp_server_config_integration.py:222
Method
test_requires_all_roles
(self)
tests/server/auth/test_authorization.py:141
Method
test_requires_config_url_or_project_id_and_descope_base_url
Test that either config_url or both project_id and descope_base_url are required.
tests/server/auth/providers/test_descope.py:303
Method
test_requires_server_or_verifiers
MultiAuth with neither server nor verifiers raises ValueError.
tests/server/auth/test_multi_auth.py:75
Method
test_requires_trusted_issuers
(self)
tests/server/auth/oauth_proxy/test_identity_assertion.py:176
Function
test_reseed_after_removal_sorts_versions_semantically
Regression (#5666 review repro 2): re-seeding after a version-scoped removal must pick the surviving version the way dispatch does (PEP 440),
tests/server/test_mcp_param_schema_cache.py:259
Method
test_reserved_names_become_aliased_fields
(self, name: str)
tests/utilities/json_schema_type/test_generated_classes.py:286
Function
test_resolve_allowed_hosts_for_run_merges_configured_hosts_with_loopback_host
()
tests/server/test_transport.py:26
Function
test_resolve_allowed_hosts_for_run_preserves_configured_hosts_when_disabled
()
tests/server/test_transport.py:35
Function
test_resolve_allowed_hosts_for_run_preserves_explicit_hosts
()
tests/server/test_transport.py:44
Method
test_resolve_callable_no_context
Without context, callables resolve to their bare __name__.
tests/test_fastmcp_app.py:305
Method
test_resolve_hostname_preserves_resolver_order
Resolved addresses should keep getaddrinfo order after deduplication.
tests/server/auth/test_ssrf_protection.py:145
Method
test_resolve_owning_server_recovers_mounted_child
(self, parent_server)
tests/tasks/server/test_task_mount.py:124
Method
test_resolve_owning_server_respects_version
Two versions of a mounted tool name resolve to their own child server.
tests/tasks/server/test_task_mount.py:160
Function
test_resolve_param_hints_handles_partials
Resolve partials via their function when direct introspection is empty. Argument coercion must not raise for partial-wrapped callables — it shoul
tests/tasks/server/test_task_tools.py:248
Method
test_resolve_string_no_context
Without a running Context the resolver returns bare names.
tests/test_fastmcp_app.py:291
Method
test_resolve_string_with_app_name
With an app name the resolver produces a hashed backend name.
tests/test_fastmcp_app.py:297
← previous
next →
13,201–13,300 of 15,974, ranked by callers