Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
10,312 in github.com/PrefectHQ/fastmcp
⨍
Functions
10,312
◇
Types & classes
1,519
↳
Endpoints
103
Method
data
()
tests/test_apps.py:324
Method
data
()
tests/server/versioning/test_filtering.py:395
Function
data_explorer
Open the data explorer. Browse, filter, and visualize sales data.
examples/apps/explorer/explorer_server.py:361
Function
data_file
A parameterized data resource.
tests/client/tasks/test_client_resource_tasks.py:25
Method
data_prompt
(value: int)
tests/prompts/test_prompt.py:287
Method
data_resource
Get data.
tests/deprecated/test_tool_injection_middleware.py:161
Function
data_template
(item_id: str)
tests/deprecated/test_import_server.py:656
Method
data_uri_tool
Tool with data URI icon.
tests/utilities/test_inspect_icons.py:249
Method
dataclass_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:235
Method
datetime_format
(self)
tests/utilities/json_schema_type/test_formats.py:22
Method
datetime_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:104
Method
db_lifespan
(app: Any)
tests/server/test_server_lifespan.py:380
Method
deactivate
(ctx: Context)
tests/server/test_session_visibility.py:429
Function
deactivate_all
Deactivate all namespaces, returning to defaults.
examples/namespace_activation/server.py:62
Method
deactivate_internal
(ctx: Context)
tests/server/test_session_visibility.py:87
Method
decorate_and_register
( fn: AnyFunction, prompt_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:169
Method
decorate_and_register
( fn: AnyFunction, tool_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:310
Method
decorated_template
(ctx: Context, item_id: int)
tests/resources/test_resource_template.py:736
Method
decorated_tool
(ctx: Context, query: str)
tests/server/providers/local_provider_tools/test_context.py:153
Function
decorator
(func: Callable[..., Any])
fastmcp_slim/fastmcp/contrib/mcp_mixin/mcp_mixin.py:85
Function
decorator
(fn: F)
fastmcp_slim/fastmcp/resources/function_resource.py:342
Function
decorator
(fn: F)
fastmcp_slim/fastmcp/apps/app.py:133
Function
decorator
(fn)
examples/custom_tool_serializer_decorator.py:22
Method
decorator
( func: Callable[ [AnyUrl], Awaitable[mcp.types.ReadResourceResult
fastmcp_slim/fastmcp/server/low_level.py:294
Method
decorator
( fn: Callable[[Request], Awaitable[Response]], )
fastmcp_slim/fastmcp/server/mixins/transport.py:135
Method
decorator
(fn: AnyFunction)
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:171
Method
deep_tool
()
tests/server/mount/test_advanced.py:364
Method
deep_tool
()
tests/server/tasks/test_task_mount.py:515
Method
deep_whoami
(server: CurrentFastMCP = CurrentFastMCP())
tests/server/tasks/test_task_mount.py:402
Function
deepobject_spec
OpenAPI spec with deepObject parameter style.
tests/utilities/openapi/conftest.py:131
Method
deepobject_spec
OpenAPI spec with deepObject style parameters.
tests/server/providers/openapi/test_deepobject_style.py:27
Function
default_lifespan
Default lifespan context manager that does nothing. Args: server: The server instance this lifespan is managing Returns: An
fastmcp_slim/fastmcp/server/server.py:244
Function
default_proxy_elicitation_handler
Forward elicitation request from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:977
Function
default_proxy_log_handler
Forward log notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:999
Function
default_proxy_progress_handler
Forward progress notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1007
Function
default_proxy_roots_handler
Forward list roots request from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:946
Function
default_proxy_sampling_handler
Forward sampling request from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:954
Function
default_tool
()
tests/server/tasks/test_server_tasks_parameter.py:116
Method
default_ttl_tool
()
tests/server/tasks/test_task_meta_parameter.py:125
Function
delete_file
(path: str)
tests/server/test_file_server.py:68
Function
delete_item
Remove an item by ID and return the remaining inventory.
examples/apps/inventory/inventory_server.py:195
Function
delete_record
Delete a record from the database by its ID.
tests/server/transforms/test_search.py:55
Function
demo
A demo app that exercises various MCP message types.
examples/apps/inspector_demo.py:31
Method
deny_blocked_prompt
(ctx: AuthContext)
tests/server/auth/test_authorization.py:522
Method
deny_blocked_resource
(ctx: AuthContext)
tests/server/auth/test_authorization.py:478
Method
deny_blocked_resource_template
(ctx: AuthContext)
tests/server/auth/test_authorization.py:499
Method
deny_blocked_tool
(ctx: AuthContext)
tests/server/auth/test_authorization.py:459
Function
dependency_server
Create a FastMCP server with dependency-using background tasks.
tests/server/tasks/test_task_dependencies.py:20
Method
describe
(topic: str)
tests/server/tasks/test_task_mount.py:1070
Function
desktop
List the files in the user's desktop
examples/desktop.py:16
Method
development_tool
()
tests/utilities/test_inspect.py:438
Method
dict_lifespan
(app: Any)
tests/server/test_server_lifespan.py:527
Method
dict_only_schema
Schema with no properties but additionalProperties=True -> dict[str, Any]
tests/utilities/json_schema_type/test_advanced.py:618
Function
dict_tool
()
tests/client/client/test_client.py:852
Method
dict_tool
(x: int)
tests/tools/tool_transform/test_schemas.py:49
Method
dict_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:288
Method
director
Create a RequestDirector instance.
tests/utilities/openapi/test_director.py:152
Method
director
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:383
Method
director
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:589
Method
director
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:1059
Method
director
(self)
tests/utilities/openapi/test_director.py:1186
Method
director
(self)
tests/utilities/openapi/test_director.py:1398
Function
disable_components
Disable 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:426
Method
disable_delete
Helper tool to disable delete_record for this session.
tests/server/transforms/test_search.py:186
Method
disable_system
(ctx: Context)
tests/server/test_session_visibility.py:712
Method
disabled_manager
Create a disabled CIMDClientManager for testing.
tests/server/auth/test_cimd_validators.py:337
Method
disabled_prompt
()
tests/server/providers/test_local_provider.py:545
Method
disabled_resource
()
tests/server/providers/test_local_provider.py:434
Method
disabled_template
(id: str)
tests/server/providers/test_local_provider.py:472
Method
disabled_tool
()
tests/server/providers/test_local_provider.py:343
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:897
Method
dispatch
Dispatch messages, including task status notifications.
fastmcp_slim/fastmcp/client/tasks.py:34
Method
dispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:27
Method
dispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:41
Method
divide
Divide two numbers.
tests/tools/tool/test_title.py:52
Function
divide_fn
Divide two numbers.
tests/server/middleware/test_tool_injection.py:25
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:383
Method
docket
The Docket instance owned by this server. Returns the Docket that this server initialized as the root of a runtime tree. Mounted chil
fastmcp_slim/fastmcp/server/mixins/lifespan.py:45
Function
document
A document resource.
tests/client/tasks/test_client_resource_tasks.py:20
Method
documented_prompt
Process numbers.
tests/prompts/test_prompt.py:394
Function
double
(x: int)
tests/experimental/transforms/test_code_mode_serialization.py:142
Function
double
(x: int)
tests/experimental/transforms/test_code_mode.py:651
Method
double
(x: int)
tests/server/versioning/test_mounting.py:211
Method
driver
(context: Context)
tests/server/telemetry/test_sampling_tracing.py:136
Method
dummy_func
()
tests/resources/test_resources.py:16
Method
dummy_tool
()
tests/server/test_server.py:282
Method
duplicate_tool
()
tests/server/providers/test_local_provider.py:819
Method
dynamic_data
()
tests/server/mount/test_proxy.py:56
Method
dynamic_tool
()
tests/server/mount/test_advanced.py:30
Method
dynamic_tools
Create dynamic tools for testing.
tests/server/test_providers.py:102
Function
echo
Echo tool
tests/client/client/test_client.py:673
Function
echo
Echo back the message.
tests/client/tasks/test_client_tool_tasks.py:22
Function
echo
(message: str)
tests/client/tasks/test_client_task_protocol.py:74
Function
echo
Echo back the message provided.
tests/server/test_tool_transformation.py:17
Function
echo
Echo back the message provided.
tests/server/test_tool_annotations.py:22
Function
echo
(message: str)
tests/server/providers/proxy/test_proxy_client.py:28
Function
echo
Echo back the message provided.
tests/deprecated/test_exclude_args.py:15
← previous
next →
2,501–2,600 of 10,312, ranked by callers