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_backend_tool_callable_by_hash_through_a_proxy
(self)
tests/server/providers/test_prefab_roundtrip.py:251
Method
test_backend_tool_callable_through_a_namespaced_proxy
(self)
tests/server/providers/test_prefab_roundtrip.py:260
Method
test_backend_tool_callable_through_chained_proxies
(self)
tests/server/providers/test_prefab_roundtrip.py:274
Method
test_backend_tool_hidden
(self)
tests/apps/test_form.py:91
Method
test_backend_tool_listed_as_app_only
``store_files`` is listed but declares visibility=["app"], so the host keeps it out of the model's tool list.
tests/apps/test_file_upload.py:144
Method
test_backend_tool_reachable_through_mounted_server
A FastMCPApp inside a mounted FastMCP server: the outer server's dispatcher walks through FastMCPProvider to find the backend tool by
tests/server/providers/test_prefab_roundtrip.py:151
Function
test_backend_without_skills_has_an_empty_catalog
()
tests/server/providers/proxy/test_skills.py:123
Function
test_background_context_logging_honors_server_log_level
( caplog: pytest.LogCaptureFixture, )
tests/server/test_context.py:717
Function
test_background_context_logging_without_session
()
tests/server/test_context.py:702
Function
test_background_task_can_read_snapshotted_request_headers
A background task worker reads the HTTP headers snapshotted at submission. There is no client task-submission API yet (Phase 4), so the task is d
tests/server/http/test_http_dependencies.py:238
Method
test_background_task_detects_advertised_extension
The stored session preserves the client's advertised capabilities, so an advertised extension is detected even with no request context.
tests/tasks/server/test_context_background_task.py:260
Method
test_background_task_honors_session_level
A background task has a stored session but no request context; the per-session minimum registered via logging/setLevel must still gate
tests/tasks/server/test_context_background_task.py:209
Method
test_background_task_no_extensions_returns_false
When the client advertised no extensions, detection returns False.
tests/tasks/server/test_context_background_task.py:271
Function
test_background_task_raises_on_error_by_default
(tool_task_server: FastMCP)
tests/tasks/client/test_client_tool_tasks.py:92
Function
test_background_task_returns_error_when_not_raising
( tool_task_server: FastMCP, )
tests/tasks/client/test_client_tool_tasks.py:99
Function
test_background_task_runs_the_injected_tool_when_its_name_is_shared
()
tests/tasks/server/test_task_middleware.py:61
Function
test_background_task_runs_the_injected_tool_when_registered_tool_is_not_task_capable
()
tests/tasks/server/test_task_middleware.py:111
Function
test_background_task_runs_the_injected_tool_when_signatures_differ
()
tests/tasks/server/test_task_middleware.py:86
Function
test_background_task_snapshot_preserves_all_request_headers
The task snapshot preserves every request header, including authorization.
tests/server/http/test_http_dependencies.py:268
Method
test_background_task_without_session_level_sends_all
When no per-session level is registered, background-task logs fall back to the server default (which allows everything by default).
tests/tasks/server/test_context_background_task.py:227
Function
test_background_tool_receives_custom_depends
Background tools can use Depends() with custom functions.
tests/tasks/server/test_task_dependencies.py:105
Function
test_background_tool_receives_docket_dependency
Background tools can use CurrentDocket() and it resolves in the worker.
tests/tasks/server/test_task_dependencies.py:73
Function
test_background_tool_receives_server_dependency
Background tools can use CurrentFastMCP() and get the actual server.
tests/tasks/server/test_task_dependencies.py:87
Function
test_background_tool_resolves_bare_call_argument
A bare CallArgument resolves from the tool's arguments in a worker. Regression guard for the pydocket-floor split caught in #4802 review: pyd
tests/tasks/server/test_task_dependencies.py:280
Function
test_background_tool_resolves_call_argument_binding
A Depends(..., param=CallArgument("name")) binding resolves in a worker.
tests/tasks/server/test_task_dependencies.py:307
Function
test_background_tool_with_multiple_dependencies
Background tools can have multiple dependencies injected at once.
tests/tasks/server/test_task_dependencies.py:123
Function
test_backlog_cli_does_not_require_optional_triage
(backlog, tmp_path, monkeypatch)
tests/test_backlog_status.py:141
Method
test_backslash_authority_application_type_rejected
(self, uri, application_type)
tests/server/auth/test_redirect_validation.py:770
Method
test_backslash_authority_pattern_rejected
(self, uri, pattern)
tests/server/auth/test_redirect_validation.py:760
Function
test_backward_compat_context_still_works
Test that existing Context injection via type annotation still works.
tests/server/test_dependencies.py:180
Method
test_backwards_compatibility_asynccontextmanager
Test that existing @asynccontextmanager lifespans still work.
tests/server/test_server_lifespan.py:309
Method
test_backwards_compatibility_descope_base_url_without_scheme
Test that descope_base_url without scheme gets https:// prefix added.
tests/server/auth/providers/test_descope.py:333
Method
test_backwards_compatibility_with_project_id_and_descope_base_url
Test backwards compatibility with old API using project_id and descope_base_url.
tests/server/auth/providers/test_descope.py:311
Method
test_bad_url_raises_error
Test default configuration with bad URL setting.
tests/server/auth/test_oidc_proxy.py:304
Method
test_bare_aliased_input_required_suppresses_schema
A bare aliased guard return (`-> _AliasedAskArm` where the alias is `InputRequiredResult`) is de-aliased so downstream suppression applies,
tests/server/test_mrtr_guards.py:229
Function
test_bare_call_argument_reads_tool_parameter
A bare CallArgument takes the value of the same-named tool parameter.
tests/server/test_call_arguments.py:17
Method
test_bare_component
(self)
tests/test_apps_prefab.py:50
Method
test_bare_context
(self, server: FastMCP)
tests/server/test_context.py:555
Method
test_bare_dotdot_encoded
(self, director, path_route)
tests/utilities/openapi/test_director.py:1240
Method
test_bare_input_required_return_suppresses_schema
(self)
tests/server/test_mrtr_guards.py:256
Method
test_bare_input_required_subclass_suppresses_schema
A bare `InputRequiredResult` *subclass* is subclass-aware suppressed, matching `run()`'s isinstance handling, so no output schema is emitted
tests/server/test_mrtr_guards.py:217
Method
test_bare_name
(self)
tests/cli/test_generate_cli.py:387
Method
test_bare_name_resolves
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:806
Method
test_bare_schema_name_mapping_resolves
Mapping values may be schema names, not just references.
tests/server/providers/openapi/test_openapi_discriminator.py:221
Method
test_bare_single_dot_encoded
(self, director, path_route)
tests/utilities/openapi/test_director.py:1236
Function
test_bare_slim_import_needs_only_mcp_types
A bare `fastmcp-slim` install ships `mcp-types` but not the full `mcp` SDK. `mcp-types` is a core dependency (it only pulls pydantic + typing-ext
tests/client/test_slim_package_boundaries.py:68
Method
test_bare_traceparent
(self, trace_exporter: InMemorySpanExporter)
tests/telemetry/test_module.py:84
Method
test_bare_tracestate
(self, trace_exporter: InMemorySpanExporter)
tests/telemetry/test_module.py:90
Method
test_base_authority_azure_government
Test Azure Government endpoints with login.microsoftonline.us.
tests/server/auth/providers/test_azure.py:498
Method
test_base_authority_defaults_to_public_cloud
Test that base_authority defaults to login.microsoftonline.com.
tests/server/auth/providers/test_azure.py:468
Method
test_base_authority_from_parameter
Test that base_authority can be set via parameter.
tests/server/auth/providers/test_azure.py:529
Method
test_base_authority_with_special_tenant_values
Test that base_authority works with special tenant values like 'organizations'.
tests/server/auth/providers/test_azure.py:560
Method
test_base_class_has_empty_prefix
Test that FastMCPComponent has empty KEY_PREFIX.
tests/utilities/test_components.py:193
Method
test_base_model_return_annotation
(self)
tests/tools/tool/test_output_schema.py:186
Method
test_base_url_configurations
Test different base_url configurations.
tests/server/auth/test_remote_auth_provider.py:318
Method
test_base_url_from_server
(self)
tests/server/auth/test_multi_auth.py:103
Method
test_base_url_override
(self)
tests/server/auth/test_multi_auth.py:113
Method
test_basemodel_conversion
Test handling of BaseModel types.
tests/resources/test_resource_template.py:268
Method
test_basemodel_return_raises_type_error
Returning BaseModel from read() raises TypeError - use ResourceResult.
tests/resources/test_function_resources.py:103
Method
test_basic
(self)
tests/cli/test_goose.py:40
Method
test_basic
(self, mock_process, mock_install)
tests/cli/test_goose.py:279
Method
test_basic
(self)
tests/utilities/test_docstring_parsing.py:16
Method
test_basic
(self)
tests/utilities/test_docstring_parsing.py:114
Method
test_basic
(self)
tests/utilities/test_docstring_parsing.py:155
Method
test_basic_context_transformation
Test basic Context type annotation is transformed.
tests/server/test_dependencies_advanced.py:71
Method
test_basic_deeplink
(self)
tests/cli/test_goose.py:82
Method
test_basic_fn
(self)
tests/prompts/test_prompt.py:41
Method
test_basic_frontmatter
(self)
tests/server/providers/test_skills_provider.py:33
Method
test_basic_function
Test registering and running a basic function.
tests/tools/tool/test_tool.py:21
Method
test_basic_initialization
Test basic proxy initialization with required parameters.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:23
Function
test_basic_json_schema
Test JSON schema generation for a simple function
tests/utilities/test_typeadapter.py:222
Method
test_basic_key_value
(self)
tests/cli/test_client_commands.py:241
Method
test_basic_parameter_creation
Test creating a basic parameter.
tests/utilities/openapi/test_models.py:19
Method
test_basic_ranking
(self)
tests/server/transforms/test_search.py:495
Method
test_basic_request_body
Test creating a basic request body.
tests/utilities/openapi/test_models.py:94
Method
test_basic_response
Test creating a basic response.
tests/utilities/openapi/test_models.py:156
Method
test_basic_route_creation
Test creating a basic HTTP route.
tests/utilities/openapi/test_models.py:193
Method
test_basic_store_and_list
(self)
tests/apps/test_file_upload.py:52
Method
test_basic_subclass_check
Test that a subclass is recognized as a member of the base class.
tests/utilities/test_types.py:35
Method
test_basic_tool_resource_prompt_server
(self)
tests/test_upgrade_from_v3.py:70
Function
test_batch_credits_missing_reporters_and_reuses_maintainer_permission
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:80
Function
test_batch_file_runs_with_absolute_cmd_path
( run: Mock, monkeypatch: pytest.MonkeyPatch, comspec: str | None, expected: str )
tests/cli/test_install_cli_arguments.py:484
Method
test_batch_wrapper_detection_ignores_case
( self, installer: Installer, run: Mock, monkeypatch: pytest.MonkeyPatch,
tests/cli/test_install_cli_arguments.py:358
Method
test_batch_wrapper_receives_literal_arguments
( self, installer: Installer, run: Mock, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_install_cli_arguments.py:322
Method
test_batch_wrapper_rejects_line_break
( self, installer: Installer, run: Mock, monkeypatch: pytest.MonkeyPatch,
tests/cli/test_install_cli_arguments.py:407
Method
test_bearer_auth
(self)
tests/server/auth/test_jwt_provider_bearer.py:508
Method
test_bearer_auth_backend_authenticate_with_invalid_token
Test BearerAuthBackend authentication with invalid token.
tests/server/http/test_bearer_auth_backend.py:64
Method
test_bearer_auth_backend_authenticate_with_no_header
Test BearerAuthBackend authentication with no Authorization header.
tests/server/http/test_bearer_auth_backend.py:80
Method
test_bearer_auth_backend_authenticate_with_non_bearer_token
Test BearerAuthBackend authentication with non-Bearer token.
tests/server/http/test_bearer_auth_backend.py:96
Method
test_bearer_auth_backend_authenticate_with_valid_token
Test BearerAuthBackend authentication with valid token.
tests/server/http/test_bearer_auth_backend.py:42
Method
test_bearer_auth_backend_constructor_accepts_token_verifier
Test that BearerAuthBackend constructor accepts TokenVerifier.
tests/server/http/test_bearer_auth_backend.py:33
Function
test_bearer_auth_strings_still_resolve_per_transport
()
tests/client/transports/test_oauth_transport_reuse.py:89
Method
test_bearer_token
(self, transport_cls: type)
tests/cli/test_generate_cli_remote.py:86
Method
test_binary_content_to_mcp
Test converting binary ResourceContent to MCP type.
tests/resources/test_function_resources.py:267
Method
test_binary_inferred_from_non_text_mime_type
A non-text MIME type reads as binary when is_binary is not set.
tests/resources/test_file_resources.py:154
Method
test_binary_only_content_serialized
Test that binary-only responses fall back to serialized content.
tests/server/middleware/test_response_limiting.py:142
Method
test_bind_creates_token_storage
(self)
tests/client/auth/test_oauth_cimd.py:100
Method
test_bind_idempotent
Second call to _bind is a no-op.
tests/client/auth/test_oauth_cimd.py:82
Method
test_bind_is_idempotent
(self)
tests/client/auth/test_client_credentials.py:147
Method
test_bind_sets_bound_true
(self)
tests/client/auth/test_oauth_cimd.py:74
← previous
next →
7,701–7,800 of 15,974, ranked by callers