MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Functiondo_log
(ctx: Context)
tests/server/test_protocol_eras.py:222
Methoddo_something
(self, x: int)
tests/utilities/test_typeadapter.py:41
Methoddo_something_annotated
( self, x: Annotated[int, Field(description="A description")] )
tests/utilities/test_typeadapter.py:44
Methoddo_something_return_none
(self)
tests/utilities/test_typeadapter.py:49
Methoddo_thing
()
tests/server/test_input_validation.py:590
Functiondoc
(name: str)
tests/downstream/server.py:177
Methoddoc
(name: str)
tests/resources/test_resource_template.py:1513
Methoddocket
The Docket instance owned by this server, if the tasks extension is active. Returns the Docket that the tasks extension initialized as the ro
fastmcp_slim/fastmcp/server/mixins/lifespan.py:43
Methoddocket_settings
The resolved Docket settings (backend URL, worker options).
fastmcp_tasks/fastmcp_tasks/extension.py:115
Methoddocumented_prompt
( text: Annotated[str, Field(description="Text")], )
tests/prompts/test_prompt.py:376
Functiondouble
(n: int)
tests/tasks/client/test_task_tracing.py:22
Functiondouble
(x: int)
tests/experimental/transforms/test_code_mode_serialization.py:334
Functiondouble
(x: int)
tests/experimental/transforms/test_code_mode.py:657
Methoddouble
(x: int)
tests/server/versioning/test_mounting.py:211
Methoddropped_attributes
(self)
fastmcp_slim/fastmcp/telemetry.py:206
Functiondual_era_server
A single FastMCP server exercising every core MCP object type. Deliberately minimal and side-effect free so the same instance can be driven c
tests/server/test_protocol_eras.py:45
Methoddummy_func
()
tests/resources/test_resources.py:17
Methoddummy_tool
()
tests/server/test_server.py:250
Methodduplicate_tool
()
tests/server/providers/test_local_provider.py:835
Methoddynamic_data
()
tests/server/mount/test_proxy.py:56
Methoddynamic_tool
()
tests/server/mount/test_advanced.py:32
Methoddynamic_tools
Create dynamic tools for testing.
tests/server/test_providers.py:103
Functioneach_member_keeps_its_protocol_era
()
tests/downstream/smoke_langchain_mcp.py:252
Functionecho
Echo tool
tests/client/client/test_client.py:682
Functionecho
(value: str)
tests/client/group/test_client_group.py:45
Functionecho
(x: str)
tests/utilities/test_json_schema_expansion.py:254
Functionecho
(message: str)
tests/tasks/client/test_client_tool_tasks.py:31
Functionecho
Echo back the message provided.
tests/server/test_tool_transformation.py:17
Functionecho
Echo back the message provided.
tests/server/test_tool_annotations.py:23
Functionecho
(message: str)
tests/server/providers/proxy/test_proxy_client.py:95
Functionecho
( request: Request, body: str = Body(media_type="text/plain") )
tests/server/providers/openapi/test_raw_request_bodies.py:13
Functionecho
Echo text back with metadata about the operation.
examples/tool_result_echo.py:25
Functionecho
Echo the input text
examples/simple_echo.py:12
Functionecho
Echo the provided message.
examples/auth/azure_oauth/server.py:38
Functionecho
Echo the provided message.
examples/auth/github_oauth/server.py:29
Functionecho
Echo the provided message.
examples/auth/oci_oauth/server.py:32
Functionecho
Echo the provided message.
examples/auth/clerk_oauth/server.py:34
Functionecho
Echo the provided message.
examples/auth/aws_oauth/server.py:42
Functionecho
Echo the provided message.
examples/auth/discord_oauth/server.py:29
Functionecho
Echo the provided message.
examples/auth/propelauth_oauth/server.py:39
Functionecho
Echo the provided message.
examples/auth/authkit/server.py:28
Functionecho
Echo the provided message.
examples/auth/keycloak_oauth/server.py:27
Functionecho
Echo the provided message.
examples/auth/auth0_mcp/server.py:33
Functionecho
Echo the provided message.
examples/auth/google_oauth/server.py:31
Functionecho
Echo the provided message.
examples/auth/workos_oauth/server.py:31
Functionecho
Echo the provided message.
examples/auth/scalekit_oauth/server.py:41
Functionecho
Echo the provided text back to the user.
examples/fastmcp_config/server.py:10
Functionecho
Echo a message back.
examples/apps/inspector_demo.py:99
Methodecho
(x: str)
tests/test_compat.py:237
Methodecho
(message: str)
tests/client/telemetry/test_client_tracing.py:247
Methodecho
(message: str)
tests/client/telemetry/test_client_tracing.py:577
Methodecho
(request: Request)
tests/utilities/test_asgi_transport.py:60
Methodecho
(value: Annotated[int, Field(strict=True)])
tests/server/test_input_validation.py:237
Methodecho
(n: int)
tests/server/providers/proxy/test_proxy_server.py:1312
Methodecho
(value: str)
tests/server/providers/proxy/test_stateful_proxy_client.py:98
Methodecho
(message: str)
tests/server/auth/providers/test_auth0_mcp.py:328
Methodecho
(self, message: str)
examples/in_memory_proxy_example.py:22
Functionecho_args
Server accepts all string args but client sends mixed types.
tests/client/client/test_client.py:207
Functionecho_headers
Return the raw HTTP headers the server received for this request.
tests/server/http/test_routable_headers.py:24
Functionecho_log
( message: str, context: Context, level: LoggingLevel | None = None, logger: s
tests/client/test_logs.py:41
Methodecho_log
( message: str, context: Context, level: LoggingLevel | None = None )
tests/client/test_logs.py:149
Functionecho_message
Echo a message, with debug info if debug mode is enabled.
examples/config_server.py:38
Functionecho_prompt
(text: str)
examples/echo.py:29
Functionecho_resource
()
examples/echo.py:18
Functionecho_template
Echo the input text
examples/echo.py:23
Functionecho_template
Echo template - always succeeds.
examples/diagnostics/server.py:90
Functionecho_token_server
A task server whose one tool reports the caller it restored.
tests/tasks/server/test_snapshot_encryption.py:207
Functionecho_tool
Echo the input text
fastmcp_slim/fastmcp/contrib/bulk_tool_caller/example.py:10
Functionecho_tool
A simple tool that echoes arguments or raises an error.
tests/contrib/test_bulk_tool_caller.py:41
Functionecho_tool
Echo the input text
examples/echo.py:12
Functionecho_tool_result_factory
A tool that returns a result based on the input arguments.
tests/contrib/test_bulk_tool_caller.py:46
Functionecho_with_logs
Echo a message and emit log notifications.
examples/apps/inspector_demo.py:105
Methodedge_case_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:300
Functionelicit
Elicit a response from the user.
tests/client/test_streamable_http.py:29
Functionelicit
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:113
Functionelicit_name
Round-trips a server-initiated request while the response is still open.
tests/utilities/test_asgi_transport.py:27
Functionelicit_test
(ctx: Context)
tests/test_mcp_config.py:1145
Methodelicit_with_defaults
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:443
Functionelicitation
()
tests/downstream/smoke_pydantic_ai.py:146
Functionelicitation
()
tests/downstream/smoke_langchain_mcp.py:185
Functionelicitation
()
tests/downstream/smoke_langchain_mcp_adapters.py:144
Functionelicitation_handler
(message, response_type, params, ctx)
tests/client/test_streamable_http.py:214
Functionelicitation_handler
(message, response_type, params, ctx)
tests/client/test_elicitation_enums.py:51
Functionelicitation_handler
(message, response_type, params, ctx)
tests/client/test_elicitation.py:61
Methodelicitation_handler
(message, response_type, params, ctx)
tests/client/test_elicitation.py:271
Methodelicitation_handler
(message, response_type, params, ctx)
tests/client/test_elicitation.py:719
Methodelicitation_handler
(message, response_type, params, ctx)
tests/utilities/test_asgi_transport.py:211
Methodelicitation_handler
(message, response_type, params, ctx)
tests/server/providers/proxy/test_stateful_proxy_client.py:240
Methodelicitation_handler
( message, response_type, params: ElicitRequestParams, ctx )
tests/server/providers/proxy/test_proxy_client.py:256
Methodelicitation_handler_a
( message: str, response_type: type, params: ElicitRequestParams,
tests/server/providers/proxy/test_proxy_client.py:394
Methodelicitation_handler_b
( message: str, response_type: type, params: ElicitRequestParams,
tests/server/providers/proxy/test_proxy_client.py:402
Functionelicitation_in_both_eras
()
tests/downstream/smoke_langchain_mcp.py:267
Methodemail_format
(self)
tests/utilities/json_schema_type/test_formats.py:26
Methodemail_string
(self)
tests/utilities/json_schema_type/test_constraints.py:34
Functionemployee_directory
Show a searchable, sortable employee directory.
examples/apps/patterns_server.py:286
Functionempty_dict
()
tests/client/client/test_client.py:880
Functionempty_model
()
tests/client/client/test_client.py:884
Functionenable_components
Enable components matching criteria for this session only. Session rules override global transforms. Rules accumulate - each call adds a new
fastmcp_slim/fastmcp/server/transforms/visibility.py:386
Functionenable_fastmcp_logger_propagation
Enable propagation on FastMCP root logger so caplog captures FastMCP log messages. FastMCP loggers have propagate=False by default, which prevent
tests/conftest.py:86
Methodenable_v2_only
(ctx: Context)
tests/server/test_session_visibility.py:220
← previousnext →3,801–3,900 of 13,374, ranked by callers