MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodenabled
Return whether caching is active.
fastmcp_slim/fastmcp/utilities/token_cache.py:89
Methodenabled_prompt
()
tests/server/providers/test_local_provider.py:569
Methodenabled_resource
()
tests/server/providers/test_local_provider.py:458
Methodenabled_template
(id: str)
tests/server/providers/test_local_provider.py:496
Methodenabled_tool
()
tests/server/providers/test_local_provider.py:367
Functionencryption_key
Configure the tasks encryption key for the duration of a test.
tests/tasks/server/test_snapshot_encryption.py:47
Functionend_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
Functionendpoint
(request: Request)
fastmcp_slim/fastmcp/contrib/component_manager/component_manager.py:153
Functionendpoint_handler
Endpoint that returns request state or headers.
tests/server/http/test_http_middleware.py:46
Methodenforce
(attr: str, is_url: bool = False)
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:145
Functionentangled
(a: str = Depends(get_a), b: str = Depends(get_b))
tests/server/test_call_arguments.py:156
Methodenter_and_call
()
tests/client/client/test_client.py:1122
Methodenter_env
(ctx: Context)
tests/server/test_session_visibility.py:647
Functionerror_handling_server
Create a FastMCP server specifically for error handling middleware tests.
tests/server/middleware/test_error_handling.py:392
Functionerror_resource
Resource that always raises ValueError.
examples/diagnostics/server.py:111
Methoderror_resource
()
tests/client/client/test_error_handling.py:126
Functionerror_template
Template that always raises ValueError.
examples/diagnostics/server.py:117
Functionerror_tool
()
tests/conftest.py:311
Functionerror_tool
A tool that raises an error for testing purposes.
tests/contrib/test_bulk_tool_caller.py:22
Functionerror_tool
()
tests/tasks/server/test_task_methods.py:40
Functionerror_tool
This tool always raises an error.
tests/server/providers/proxy/test_proxy_server.py:72
Methoderror_tool
()
tests/client/client/test_error_handling.py:32
Functionerror_tool_result_factory
Generates the expected error result for error_tool.
tests/contrib/test_bulk_tool_caller.py:27
Functionerroring_server
A server whose resource and prompt handlers raise FastMCP errors.
tests/server/test_protocol_eras.py:412
Methodevent_store
(self)
fastmcp_slim/fastmcp/server/http.py:68
Methodevent_store
(self)
tests/server/test_event_store.py:51
Functionevents
List events.
tests/experimental/transforms/test_code_mode_serialization.py:399
Functionexample_tool
()
tests/server/middleware/test_initialization_middleware.py:169
Methodexception_resource
()
tests/client/client/test_error_handling.py:94
Methodexchange_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: AuthorizationCode )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:167
Methodexchange_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: AuthorizationCode )
tests/server/test_auth_integration_errors.py:73
Methodexchange_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: RefreshToken, # This is th
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:235
Methodexchange_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: RefreshToken, scope
tests/server/test_auth_integration_errors.py:125
Methodexcluded_versioned_prompt
(name: str)
tests/server/versioning/test_filtering.py:327
Methodexcluded_versioned_resource
()
tests/server/versioning/test_filtering.py:259
Methodexcluded_versioned_template
(name: str)
tests/server/versioning/test_filtering.py:284
Methodexcluded_versioned_tool
()
tests/server/versioning/test_filtering.py:167
Methodexcluded_versioned_tool
()
tests/server/versioning/test_filtering.py:467
Methodexclusive_max_number
(self)
tests/utilities/json_schema_type/test_constraints.py:95
Methodexclusive_min_number
(self)
tests/utilities/json_schema_type/test_constraints.py:87
Functionexecute_trade
Execute a trade (simulated).
examples/namespace_activation/server.py:28
Methodexit_env
(ctx: Context)
tests/server/test_session_visibility.py:652
Functionexpensive_dependency
()
tests/server/test_dependencies.py:214
Functionexplain
Generate an explanation prompt. Args: topic: The concept to explain. audience: Target audience level.
examples/filesystem-provider/components/prompts/assistant.py:32
Functionexplain_concept
Explain a programming concept.
examples/prompts_as_tools/server.py:18
Functionexplain_prompt
Generate a prompt to explain a topic
examples/testing_demo/server.py:54
Functionexplicit_session
()
tests/downstream/smoke_langchain_mcp_adapters.py:168
Methodexplicit_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:161
Functionexplode
()
tests/server/test_protocol_eras.py:425
Functionexplodes
()
tests/tasks/server/test_guard_reentrant.py:431
Methodexploding_factory
()
tests/server/providers/proxy/test_proxy_server.py:1496
Methodf
(x: int)
tests/test_upgrade_from_v3.py:306
Methodf
()
tests/server/providers/local_provider_tools/test_output_schema.py:53
Methodf
(x: Annotated[int, "A number"])
tests/server/providers/local_provider_tools/test_parameters.py:411
Methodfactory
( headers: dict[str, str] | None = None, timeout: httpx2.Timeout | None = None,
fastmcp_slim/fastmcp/client/transports/http.py:135
Methodfactory
( headers: dict[str, str] | None = None, timeout: httpx2.Timeout | None = None,
fastmcp_slim/fastmcp/client/transports/sse.py:111
Functionfail
(*args: Any, **kwargs: Any)
tests/server/providers/openapi/test_undeclared_arguments.py:112
Functionfail
Always raises an error.
examples/apps/inspector_demo.py:114
Functionfail_clear
(store: CredentialStore)
tests/cli/deploy/test_command.py:310
Functionfail_prompt
Prompt that always raises ValueError.
examples/diagnostics/server.py:123
Methodfail_registration
(self: FileSystemProvider, component: object)
tests/fs/test_provider.py:54
Functionfail_replace
(source: Path, destination: Path)
tests/cli/deploy/test_credentials.py:99
Functionfail_save
(value: HorizonConfiguration)
tests/cli/deploy/test_configuration.py:119
Functionfail_to_open
(url: str)
tests/cli/deploy/test_authentication.py:164
Functionfail_tool
Tool that always raises ValueError - for error tracing.
examples/diagnostics/server.py:105
Methodfailed_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
Methodfailing
()
tests/tools/tool/test_results.py:104
Methodfailing_async_validator
(token: str)
tests/server/auth/test_debug_verifier.py:128
Methodfailing_auth_flow
(request)
tests/client/auth/test_oauth_static_client.py:142
Functionfailing_dependency
()
tests/tasks/server/test_task_dependencies.py:200
Functionfailing_elicit
(context: Context)
tests/client/test_elicitation.py:432
Methodfailing_func
()
tests/resources/test_function_resources.py:92
Functionfailing_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
Functionfailing_operation
An operation that fails with different error types.
tests/server/middleware/test_error_handling.py:402
Methodfailing_prompt
()
tests/client/telemetry/test_client_tracing.py:477
Methodfailing_resource
()
tests/client/telemetry/test_client_tracing.py:429
Methodfailing_session
Simulates a session task that raises an error.
tests/client/client/test_session.py:56
Functionfailing_task
A task that always fails.
tests/server/middleware/test_timing.py:162
Functionfailing_tool
()
tests/tasks/server/test_task_protocol.py:29
Methodfailing_tool
()
tests/client/client/test_error_handling.py:190
Methodfailing_tool
()
tests/client/telemetry/test_client_tracing.py:82
Methodfailing_tool
()
tests/client/telemetry/test_client_tracing.py:381
Methodfailing_tool
()
tests/server/telemetry/test_server_tracing.py:56
Methodfailing_validator
(token: str)
tests/server/auth/test_debug_verifier.py:116
Methodfails_then_succeeds
()
tests/server/middleware/test_error_handling.py:590
Functionfake_build_client
(resolved: Any, **kwargs: Any)
tests/cli/test_client_commands.py:434
Functionfake_build_client
(resolved: Any, **kwargs: Any)
tests/cli/test_generate_cli.py:583
Methodfake_builder
(cmd: list[str])
tests/cli/test_run.py:759
Methodfake_disconnect
()
tests/client/client/test_session.py:262
Methodfake_fetch
(url: str, **kwargs)
tests/server/auth/test_cimd.py:266
Methodfake_import
(name, *args, **kwargs)
tests/server/test_dependencies.py:823
Methodfake_refresh
(url, refresh_token, scope=None, **kwargs)
tests/server/auth/oauth_proxy/test_tokens.py:760
Functionfake_resolve
(server_spec: Any, **kwargs: Any)
tests/cli/test_client_commands.py:431
Functionfake_resolve
(server_spec: Any, **kwargs: Any)
tests/cli/test_generate_cli.py:580
Methodfake_version
(name: str)
tests/server/test_dependencies.py:780
Functionfarewell
Say farewell in their language.
examples/apps/greet_server.py:50
Functionfarewell
Say goodbye to someone. Args: name: The person's name.
examples/filesystem-provider/components/tools/greeting.py:17
Methodfarewell
(name: str)
tests/server/mount/test_prompts.py:40
Methodfast
()
tests/client/client/test_client.py:991
Methodfast_async_tool
()
tests/tools/test_tool_timeout.py:48
← previousnext →3,901–4,000 of 13,374, ranked by callers