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
disabled_resource
()
tests/server/providers/test_local_provider.py:436
Method
disabled_template
(id: str)
tests/server/providers/test_local_provider.py:474
Method
disabled_tool
()
tests/server/providers/test_local_provider.py:345
Function
discover_command
Discover MCP servers configured in editor and project configs. Scans Claude Desktop, Claude Code, Cursor, Gemini CLI, Goose, and project-leve
fastmcp_slim/fastmcp/cli/client.py:1080
Function
discovery_document
()
tests/server/auth/test_oidc_discovery_cache.py:18
Method
dispatch
( key: str, req: mcp_types.InputRequest )
fastmcp_slim/fastmcp/client/client.py:1407
Method
dispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:28
Method
dispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:42
Method
dispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:234
Method
display
()
tests/test_fastmcp_app.py:566
Function
divide
Divide a by b.
tests/downstream/server.py:74
Method
divide
Divide two numbers.
tests/tools/tool/test_title.py:91
Function
divide_fn
Divide two numbers.
tests/server/middleware/test_tool_injection.py:32
Function
do_elicit
(ctx: Context)
tests/server/test_protocol_eras.py:216
Function
do_log
(ctx: Context)
tests/server/test_protocol_eras.py:222
Method
do_something
(self, x: int)
tests/utilities/test_typeadapter.py:41
Method
do_something_annotated
( self, x: Annotated[int, Field(description="A description")] )
tests/utilities/test_typeadapter.py:44
Method
do_something_return_none
(self)
tests/utilities/test_typeadapter.py:49
Method
do_thing
()
tests/server/test_input_validation.py:759
Function
doc
(name: str)
tests/downstream/server.py:177
Method
doc
(name: str)
tests/resources/test_resource_template.py:1768
Method
docket
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
Function
docket_available
(request: pytest.FixtureRequest, monkeypatch: pytest.MonkeyPatch)
tests/server/test_shared_context.py:15
Method
docket_settings
The resolved Docket settings (backend URL, worker options).
fastmcp_tasks/fastmcp_tasks/extension.py:137
Function
document
()
tests/cli/test_content_json.py:139
Function
document
(name: str)
tests/server/mount/test_resources.py:305
Function
document_template
(name: str)
tests/server/mount/test_resources.py:477
Method
documented_prompt
( text: Annotated[str, Field(description="Text")], )
tests/prompts/test_prompt.py:424
Function
double
(value: int)
tests/integration_tests/test_task_credentials.py:104
Function
double
(value: int)
tests/downstream/smoke_redis_credentials.py:158
Function
double
(n: int)
tests/tasks/client/test_task_tracing.py:22
Function
double
(value: int)
tests/server/test_server_docket.py:185
Function
double
(x: int)
tests/experimental/transforms/test_code_mode_serialization.py:334
Function
double
(x: int)
tests/experimental/transforms/test_code_mode.py:657
Method
double
(x: int)
tests/server/versioning/test_mounting.py:211
Method
dropped_attributes
(self)
fastmcp_slim/fastmcp/telemetry.py:223
Function
dual_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
Method
dummy_func
()
tests/resources/test_resources.py:17
Method
dummy_tool
()
tests/server/test_server.py:250
Method
duplicate_tool
()
tests/server/providers/test_local_provider.py:944
Method
duration_format
(self)
tests/utilities/json_schema_type/test_formats.py:51
Method
dynamic_data
()
tests/server/mount/test_proxy.py:56
Method
dynamic_tool
()
tests/server/mount/test_advanced.py:32
Method
dynamic_tools
Create dynamic tools for testing.
tests/server/test_providers.py:103
Function
each_member_keeps_its_protocol_era
()
tests/downstream/smoke_langchain_mcp.py:252
Function
echo
Echo tool
tests/client/client/test_client.py:739
Function
echo
(value: str)
tests/client/group/test_client_group.py:46
Function
echo
(x: str)
tests/utilities/test_json_schema_expansion.py:290
Function
echo
(message: str)
tests/tasks/client/test_client_tool_tasks.py:31
Function
echo
(text: str)
tests/server/test_mcp_param_schema_cache.py:48
Function
echo
Echo back the message provided.
tests/server/test_tool_transformation.py:19
Function
echo
Echo back the message provided.
tests/server/test_tool_annotations.py:23
Function
echo
()
tests/server/providers/proxy/test_server_metadata.py:651
Function
echo
(message: str)
tests/server/providers/proxy/test_proxy_client.py:117
Function
echo
( request: Request, body: str = Body(media_type="text/plain") )
tests/server/providers/openapi/test_raw_request_bodies.py:13
Function
echo
Echo text back with metadata about the operation.
examples/tool_result_echo.py:25
Function
echo
Echo the input text
examples/simple_echo.py:12
Function
echo
Echo the provided message.
examples/auth/azure_oauth/server.py:38
Function
echo
Echo the provided message.
examples/auth/github_oauth/server.py:29
Function
echo
Echo the provided message.
examples/auth/oci_oauth/server.py:32
Function
echo
Echo the provided message.
examples/auth/clerk_oauth/server.py:34
Function
echo
Echo the provided message.
examples/auth/aws_oauth/server.py:42
Function
echo
Echo the provided message.
examples/auth/discord_oauth/server.py:29
Function
echo
Echo the provided message.
examples/auth/propelauth_oauth/server.py:39
Function
echo
Echo the provided message.
examples/auth/authkit/server.py:28
Function
echo
Echo the provided message.
examples/auth/keycloak_oauth/server.py:27
Function
echo
Echo the provided message.
examples/auth/auth0_mcp/server.py:33
Function
echo
Echo the provided message.
examples/auth/google_oauth/server.py:31
Function
echo
Echo the provided message.
examples/auth/workos_oauth/server.py:31
Function
echo
Echo the provided message.
examples/auth/scalekit_oauth/server.py:41
Function
echo
Echo the provided text back to the user.
examples/fastmcp_config/server.py:10
Function
echo
Echo a message back.
examples/apps/inspector_demo.py:99
Method
echo
(x: str)
tests/test_compat.py:237
Method
echo
(message: str)
tests/client/telemetry/test_client_tracing.py:249
Method
echo
(message: str)
tests/client/telemetry/test_client_tracing.py:601
Method
echo
(request: Request)
tests/utilities/test_asgi_transport.py:60
Method
echo
(value: Annotated[int, Field(strict=True)])
tests/server/test_input_validation.py:339
Method
echo
(n: int)
tests/server/providers/proxy/test_proxy_server.py:1383
Method
echo
(value: str)
tests/server/providers/proxy/test_stateful_proxy_client.py:98
Method
echo
(message: str)
tests/server/auth/providers/test_auth0_mcp.py:328
Method
echo
(self, message: str)
examples/in_memory_proxy_example.py:22
Function
echo_args
Server accepts all string args but client sends mixed types.
tests/client/client/test_client.py:211
Function
echo_headers
Return the raw HTTP headers the server received for this request.
tests/server/http/test_routable_headers.py:24
Function
echo_log
( message: str, context: Context, level: LoggingLevel | None = None, logger: s
tests/client/test_logs.py:43
Method
echo_log
( message: str, context: Context, level: LoggingLevel | None = None )
tests/client/test_logs.py:151
Function
echo_message
Echo a message, with debug info if debug mode is enabled.
examples/config_server.py:38
Function
echo_prompt
(text: str)
examples/echo.py:29
Function
echo_resource
()
examples/echo.py:18
Function
echo_template
Echo the input text
examples/echo.py:23
Function
echo_template
Echo template - always succeeds.
examples/diagnostics/server.py:90
Function
echo_token_server
A task server whose one tool reports the caller it restored.
tests/tasks/server/test_snapshot_encryption.py:207
Function
echo_tool
Echo the input text
fastmcp_slim/fastmcp/contrib/bulk_tool_caller/example.py:10
Function
echo_tool
A simple tool that echoes arguments or raises an error.
tests/contrib/test_bulk_tool_caller.py:41
Function
echo_tool
Echo the input text
examples/echo.py:12
Function
echo_tool_result_factory
A tool that returns a result based on the input arguments.
tests/contrib/test_bulk_tool_caller.py:46
Function
echo_with_logs
Echo a message and emit log notifications.
examples/apps/inspector_demo.py:105
Method
edge_case_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:299
Function
elicit
Elicit a response from the user.
tests/client/test_streamable_http.py:32
Function
elicit
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:139
Function
elicit_name
Round-trips a server-initiated request while the response is still open.
tests/utilities/test_asgi_transport.py:27
← previous
next →
4,501–4,600 of 15,974, ranked by callers