Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Method
enabled
Return whether caching is active.
fastmcp_slim/fastmcp/utilities/token_cache.py:89
Method
enabled_prompt
()
tests/server/providers/test_local_provider.py:569
Method
enabled_resource
()
tests/server/providers/test_local_provider.py:458
Method
enabled_template
(id: str)
tests/server/providers/test_local_provider.py:496
Method
enabled_tool
()
tests/server/providers/test_local_provider.py:367
Function
encryption_key
Configure the tasks encryption key for the duration of a test.
tests/tasks/server/test_snapshot_encryption.py:47
Function
end_session
End a session and delete all of its state. Validates the id like any other resolution (an unknown or foreign id is rejected), then deletes th
fastmcp_slim/fastmcp/server/sessions.py:490
Function
endpoint
(request: Request)
fastmcp_slim/fastmcp/contrib/component_manager/component_manager.py:153
Function
endpoint_handler
Endpoint that returns request state or headers.
tests/server/http/test_http_middleware.py:46
Method
enforce
(attr: str, is_url: bool = False)
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:145
Function
entangled
(a: str = Depends(get_a), b: str = Depends(get_b))
tests/server/test_call_arguments.py:156
Method
enter_and_call
()
tests/client/client/test_client.py:1122
Method
enter_env
(ctx: Context)
tests/server/test_session_visibility.py:647
Function
error_handling_server
Create a FastMCP server specifically for error handling middleware tests.
tests/server/middleware/test_error_handling.py:392
Function
error_resource
Resource that always raises ValueError.
examples/diagnostics/server.py:111
Method
error_resource
()
tests/client/client/test_error_handling.py:126
Function
error_template
Template that always raises ValueError.
examples/diagnostics/server.py:117
Function
error_tool
()
tests/conftest.py:311
Function
error_tool
A tool that raises an error for testing purposes.
tests/contrib/test_bulk_tool_caller.py:22
Function
error_tool
()
tests/tasks/server/test_task_methods.py:40
Function
error_tool
This tool always raises an error.
tests/server/providers/proxy/test_proxy_server.py:72
Method
error_tool
()
tests/client/client/test_error_handling.py:32
Function
error_tool_result_factory
Generates the expected error result for error_tool.
tests/contrib/test_bulk_tool_caller.py:27
Function
erroring_server
A server whose resource and prompt handlers raise FastMCP errors.
tests/server/test_protocol_eras.py:412
Method
event_store
(self)
fastmcp_slim/fastmcp/server/http.py:68
Method
event_store
(self)
tests/server/test_event_store.py:51
Function
events
List events.
tests/experimental/transforms/test_code_mode_serialization.py:399
Function
example_tool
()
tests/server/middleware/test_initialization_middleware.py:169
Method
exception_resource
()
tests/client/client/test_error_handling.py:94
Method
exchange_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: AuthorizationCode )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:167
Method
exchange_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: AuthorizationCode )
tests/server/test_auth_integration_errors.py:73
Method
exchange_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: RefreshToken, # This is th
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:235
Method
exchange_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: RefreshToken, scope
tests/server/test_auth_integration_errors.py:125
Method
excluded_versioned_prompt
(name: str)
tests/server/versioning/test_filtering.py:327
Method
excluded_versioned_resource
()
tests/server/versioning/test_filtering.py:259
Method
excluded_versioned_template
(name: str)
tests/server/versioning/test_filtering.py:284
Method
excluded_versioned_tool
()
tests/server/versioning/test_filtering.py:167
Method
excluded_versioned_tool
()
tests/server/versioning/test_filtering.py:467
Method
exclusive_max_number
(self)
tests/utilities/json_schema_type/test_constraints.py:95
Method
exclusive_min_number
(self)
tests/utilities/json_schema_type/test_constraints.py:87
Function
execute_trade
Execute a trade (simulated).
examples/namespace_activation/server.py:28
Method
exit_env
(ctx: Context)
tests/server/test_session_visibility.py:652
Function
expensive_dependency
()
tests/server/test_dependencies.py:214
Function
explain
Generate an explanation prompt. Args: topic: The concept to explain. audience: Target audience level.
examples/filesystem-provider/components/prompts/assistant.py:32
Function
explain_concept
Explain a programming concept.
examples/prompts_as_tools/server.py:18
Function
explain_prompt
Generate a prompt to explain a topic
examples/testing_demo/server.py:54
Function
explicit_session
()
tests/downstream/smoke_langchain_mcp_adapters.py:168
Method
explicit_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:161
Function
explode
()
tests/server/test_protocol_eras.py:425
Function
explodes
()
tests/tasks/server/test_guard_reentrant.py:431
Method
exploding_factory
()
tests/server/providers/proxy/test_proxy_server.py:1496
Method
f
(x: int)
tests/test_upgrade_from_v3.py:306
Method
f
()
tests/server/providers/local_provider_tools/test_output_schema.py:53
Method
f
(x: Annotated[int, "A number"])
tests/server/providers/local_provider_tools/test_parameters.py:411
Method
factory
( headers: dict[str, str] | None = None, timeout: httpx2.Timeout | None = None,
fastmcp_slim/fastmcp/client/transports/http.py:135
Method
factory
( headers: dict[str, str] | None = None, timeout: httpx2.Timeout | None = None,
fastmcp_slim/fastmcp/client/transports/sse.py:111
Function
fail
(*args: Any, **kwargs: Any)
tests/server/providers/openapi/test_undeclared_arguments.py:112
Function
fail
Always raises an error.
examples/apps/inspector_demo.py:114
Function
fail_clear
(store: CredentialStore)
tests/cli/deploy/test_command.py:310
Function
fail_prompt
Prompt that always raises ValueError.
examples/diagnostics/server.py:123
Method
fail_registration
(self: FileSystemProvider, component: object)
tests/fs/test_provider.py:54
Function
fail_replace
(source: Path, destination: Path)
tests/cli/deploy/test_credentials.py:99
Function
fail_save
(value: HorizonConfiguration)
tests/cli/deploy/test_configuration.py:119
Function
fail_to_open
(url: str)
tests/cli/deploy/test_authentication.py:164
Function
fail_tool
Tool that always raises ValueError - for error tracing.
examples/diagnostics/server.py:105
Method
failed_files
Files that failed to import or register during the most recent load. The returned mapping is a snapshot. Import failures are also logged as
fastmcp_slim/fastmcp/server/providers/filesystem.py:167
Method
failing
()
tests/tools/tool/test_results.py:104
Method
failing_async_validator
(token: str)
tests/server/auth/test_debug_verifier.py:128
Method
failing_auth_flow
(request)
tests/client/auth/test_oauth_static_client.py:142
Function
failing_dependency
()
tests/tasks/server/test_task_dependencies.py:200
Function
failing_elicit
(context: Context)
tests/client/test_elicitation.py:432
Method
failing_func
()
tests/resources/test_function_resources.py:92
Function
failing_job
Reports a tool execution error: `completed` with `result.isError`. Registered `required` so a client that never negotiated the extension gets
tests/conformance/server.py:651
Function
failing_operation
An operation that fails with different error types.
tests/server/middleware/test_error_handling.py:402
Method
failing_prompt
()
tests/client/telemetry/test_client_tracing.py:477
Method
failing_resource
()
tests/client/telemetry/test_client_tracing.py:429
Method
failing_session
Simulates a session task that raises an error.
tests/client/client/test_session.py:56
Function
failing_task
A task that always fails.
tests/server/middleware/test_timing.py:162
Function
failing_tool
()
tests/tasks/server/test_task_protocol.py:29
Method
failing_tool
()
tests/client/client/test_error_handling.py:190
Method
failing_tool
()
tests/client/telemetry/test_client_tracing.py:82
Method
failing_tool
()
tests/client/telemetry/test_client_tracing.py:381
Method
failing_tool
()
tests/server/telemetry/test_server_tracing.py:56
Method
failing_validator
(token: str)
tests/server/auth/test_debug_verifier.py:116
Method
fails_then_succeeds
()
tests/server/middleware/test_error_handling.py:590
Function
fake_build_client
(resolved: Any, **kwargs: Any)
tests/cli/test_client_commands.py:434
Function
fake_build_client
(resolved: Any, **kwargs: Any)
tests/cli/test_generate_cli.py:583
Method
fake_builder
(cmd: list[str])
tests/cli/test_run.py:759
Method
fake_disconnect
()
tests/client/client/test_session.py:262
Method
fake_fetch
(url: str, **kwargs)
tests/server/auth/test_cimd.py:266
Method
fake_import
(name, *args, **kwargs)
tests/server/test_dependencies.py:823
Method
fake_refresh
(url, refresh_token, scope=None, **kwargs)
tests/server/auth/oauth_proxy/test_tokens.py:760
Function
fake_resolve
(server_spec: Any, **kwargs: Any)
tests/cli/test_client_commands.py:431
Function
fake_resolve
(server_spec: Any, **kwargs: Any)
tests/cli/test_generate_cli.py:580
Method
fake_version
(name: str)
tests/server/test_dependencies.py:780
Function
farewell
Say farewell in their language.
examples/apps/greet_server.py:50
Function
farewell
Say goodbye to someone. Args: name: The person's name.
examples/filesystem-provider/components/tools/greeting.py:17
Method
farewell
(name: str)
tests/server/mount/test_prompts.py:40
Method
fast
()
tests/client/client/test_client.py:991
Method
fast_async_tool
()
tests/tools/test_tool_timeout.py:48
← previous
next →
3,901–4,000 of 13,374, ranked by callers