Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Function
custom_fn
(x: str = "function_default", **kwargs)
tests/tools/tool_transform/test_args.py:136
Function
custom_fn
(new_x: int, **kwargs)
tests/tools/tool_transform/test_tool_transform.py:205
Method
custom_fn
(x: int)
tests/tools/tool_transform/test_schemas.py:114
Method
custom_level_prompt
()
tests/client/client/test_error_handling.py:378
Method
custom_level_resource
()
tests/client/client/test_error_handling.py:333
Method
custom_level_tool
()
tests/client/client/test_error_handling.py:288
Function
custom_lifespan
(server: FastMCP)
tests/server/test_server_docket.py:147
Function
custom_prompt
(topic: str, tone: str = Depends(get_tone))
tests/server/test_dependencies.py:299
Method
custom_route
Decorator to register a custom HTTP route on the FastMCP server. Allows adding arbitrary HTTP endpoints outside the standard MCP pro
fastmcp_slim/fastmcp/server/mixins/transport.py:131
Method
custom_route
(request: Request)
tests/server/http/test_custom_routes.py:17
Method
custom_serializer
(_: Any)
tests/server/middleware/test_logging.py:370
Function
custom_tool_server
A server with custom tool subclasses.
tests/tasks/server/test_custom_subclass_tasks.py:89
Method
dashboard
()
tests/test_fastmcp_app.py:180
Method
dashboard
()
tests/test_fastmcp_app.py:741
Method
dashboard
()
tests/test_fastmcp_app.py:866
Method
dashboard
()
tests/test_apps.py:596
Method
data
()
tests/test_apps.py:331
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
Method
data_prompt
(value: int)
tests/prompts/test_prompt.py:290
Method
data_uri_tool
Tool with data URI icon.
tests/utilities/test_inspect_icons.py:249
Method
dataclass_schema
(self, schema: core_schema.DataclassSchema)
fastmcp_slim/fastmcp/tools/function_parsing.py:195
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:439
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:97
Method
declared_status
()
tests/server/providers/proxy/test_proxy_server.py:1218
Method
decline_handler
(message, response_type, params, ctx)
tests/server/test_mrtr_guards.py:374
Method
decorate_and_register
( fn: AnyFunction, prompt_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:161
Method
decorate_and_register
( fn: AnyFunction, tool_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:277
Method
decorated_template
(ctx: Context, item_id: int)
tests/resources/test_resource_template.py:739
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:73
Function
decorator
(fn: F)
fastmcp_slim/fastmcp/resources/function_resource.py:271
Function
decorator
(fn: F)
fastmcp_slim/fastmcp/apps/app.py:138
Function
decorator
(fn)
examples/custom_tool_serializer_decorator.py:23
Method
decorator
( fn: Callable[[Request], Awaitable[Response]], )
fastmcp_slim/fastmcp/server/mixins/transport.py:165
Method
decorator
(fn: AnyFunction)
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:169
Method
deep_tool
()
tests/tasks/server/test_task_mount.py:347
Method
deep_tool
()
tests/server/mount/test_advanced.py:366
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_headers
()
tests/server/http/test_http_dependencies.py:183
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:271
Function
default_proxy_elicitation_handler
Forward elicitation request from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1568
Function
default_proxy_log_handler
Forward log notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1590
Function
default_proxy_progress_handler
Forward progress notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1598
Function
default_proxy_roots_handler
Forward list roots request from remote server to proxy's connected clients. A handshake-era backend can still issue `roots/list`, and the proxy i
fastmcp_slim/fastmcp/server/providers/proxy.py:1516
Function
default_proxy_sampling_handler
Forward sampling request from remote server to proxy's connected clients. Relays through the SDK session for the same reason as `default_prox
fastmcp_slim/fastmcp/server/providers/proxy.py:1534
Function
default_tool
()
tests/tasks/server/test_server_tasks_parameter.py:79
Function
delete_file
(path: str)
tests/server/test_file_server.py:69
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
Method
delete_record
Delete a record.
tests/experimental/transforms/test_jev_search.py:365
Function
delete_records
(marker: str)
tests/cli/test_fastmcp_remote.py:265
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:687
Method
deny_blocked_resource
(ctx: AuthContext)
tests/server/auth/test_authorization.py:645
Method
deny_blocked_resource_template
(ctx: AuthContext)
tests/server/auth/test_authorization.py:665
Method
deny_blocked_tool
(ctx: AuthContext)
tests/server/auth/test_authorization.py:625
Method
deny_tenant
(ctx: AuthContext)
tests/server/auth/test_authorization.py:1253
Function
dependency_server
A FastMCP server with dependency-using background tools.
tests/tasks/server/test_task_dependencies.py:34
Function
describe
(role: str = CallArgument())
tests/server/test_call_arguments.py:174
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:646
Function
dict_tool
()
tests/client/client/test_client.py:861
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:399
Method
director
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:610
Method
director
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:1119
Method
director
(self)
tests/utilities/openapi/test_director.py:1246
Method
director
(self)
tests/utilities/openapi/test_director.py:1458
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:440
Method
disable_delete
Helper tool to disable delete_record for this session.
tests/server/transforms/test_search.py:208
Method
disable_system
(ctx: Context)
tests/server/test_session_visibility.py:722
Function
disabled_by_name
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:130
Function
disabled_by_tag
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:136
Function
disabled_in_a_mounted_server
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:148
Method
disabled_manager
Create a disabled CIMDClientManager for testing.
tests/server/auth/test_cimd_validators.py:368
Function
disabled_on_the_provider
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:142
Method
disabled_prompt
()
tests/server/providers/test_local_provider.py:546
Method
disabled_resource
()
tests/server/providers/test_local_provider.py:435
Method
disabled_template
(id: str)
tests/server/providers/test_local_provider.py:473
Method
disabled_tool
()
tests/server/providers/test_local_provider.py:344
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
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:1294
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
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
← previous
next →
3,701–3,800 of 13,374, ranked by callers