MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methoddisabled_resource
()
tests/server/providers/test_local_provider.py:436
Methoddisabled_template
(id: str)
tests/server/providers/test_local_provider.py:474
Methoddisabled_tool
()
tests/server/providers/test_local_provider.py:345
Functiondiscover_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
Functiondiscovery_document
()
tests/server/auth/test_oidc_discovery_cache.py:18
Methoddispatch
( key: str, req: mcp_types.InputRequest )
fastmcp_slim/fastmcp/client/client.py:1407
Methoddispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:28
Methoddispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:42
Methoddispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:234
Methoddisplay
()
tests/test_fastmcp_app.py:566
Functiondivide
Divide a by b.
tests/downstream/server.py:74
Methoddivide
Divide two numbers.
tests/tools/tool/test_title.py:91
Functiondivide_fn
Divide two numbers.
tests/server/middleware/test_tool_injection.py:32
Functiondo_elicit
(ctx: Context)
tests/server/test_protocol_eras.py:216
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:759
Functiondoc
(name: str)
tests/downstream/server.py:177
Methoddoc
(name: str)
tests/resources/test_resource_template.py:1768
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
Functiondocket_available
(request: pytest.FixtureRequest, monkeypatch: pytest.MonkeyPatch)
tests/server/test_shared_context.py:15
Methoddocket_settings
The resolved Docket settings (backend URL, worker options).
fastmcp_tasks/fastmcp_tasks/extension.py:137
Functiondocument
()
tests/cli/test_content_json.py:139
Functiondocument
(name: str)
tests/server/mount/test_resources.py:305
Functiondocument_template
(name: str)
tests/server/mount/test_resources.py:477
Methoddocumented_prompt
( text: Annotated[str, Field(description="Text")], )
tests/prompts/test_prompt.py:424
Functiondouble
(value: int)
tests/integration_tests/test_task_credentials.py:104
Functiondouble
(value: int)
tests/downstream/smoke_redis_credentials.py:158
Functiondouble
(n: int)
tests/tasks/client/test_task_tracing.py:22
Functiondouble
(value: int)
tests/server/test_server_docket.py:185
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:223
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:944
Methodduration_format
(self)
tests/utilities/json_schema_type/test_formats.py:51
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:739
Functionecho
(value: str)
tests/client/group/test_client_group.py:46
Functionecho
(x: str)
tests/utilities/test_json_schema_expansion.py:290
Functionecho
(message: str)
tests/tasks/client/test_client_tool_tasks.py:31
Functionecho
(text: str)
tests/server/test_mcp_param_schema_cache.py:48
Functionecho
Echo back the message provided.
tests/server/test_tool_transformation.py:19
Functionecho
Echo back the message provided.
tests/server/test_tool_annotations.py:23
Functionecho
()
tests/server/providers/proxy/test_server_metadata.py:651
Functionecho
(message: str)
tests/server/providers/proxy/test_proxy_client.py:117
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:249
Methodecho
(message: str)
tests/client/telemetry/test_client_tracing.py:601
Methodecho
(request: Request)
tests/utilities/test_asgi_transport.py:60
Methodecho
(value: Annotated[int, Field(strict=True)])
tests/server/test_input_validation.py:339
Methodecho
(n: int)
tests/server/providers/proxy/test_proxy_server.py:1383
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:211
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:43
Methodecho_log
( message: str, context: Context, level: LoggingLevel | None = None )
tests/client/test_logs.py:151
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:299
Functionelicit
Elicit a response from the user.
tests/client/test_streamable_http.py:32
Functionelicit
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:139
Functionelicit_name
Round-trips a server-initiated request while the response is still open.
tests/utilities/test_asgi_transport.py:27
← previousnext →4,501–4,600 of 15,974, ranked by callers