MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

Methoddata
()
tests/test_apps.py:324
Methoddata
()
tests/server/versioning/test_filtering.py:395
Functiondata_explorer
Open the data explorer. Browse, filter, and visualize sales data.
examples/apps/explorer/explorer_server.py:361
Functiondata_file
A parameterized data resource.
tests/client/tasks/test_client_resource_tasks.py:25
Methoddata_prompt
(value: int)
tests/prompts/test_prompt.py:287
Methoddata_resource
Get data.
tests/deprecated/test_tool_injection_middleware.py:161
Functiondata_template
(item_id: str)
tests/deprecated/test_import_server.py:656
Methoddata_uri_tool
Tool with data URI icon.
tests/utilities/test_inspect_icons.py:249
Methoddataclass_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:235
Methoddatetime_format
(self)
tests/utilities/json_schema_type/test_formats.py:22
Methoddatetime_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:104
Methoddb_lifespan
(app: Any)
tests/server/test_server_lifespan.py:380
Methoddeactivate
(ctx: Context)
tests/server/test_session_visibility.py:429
Functiondeactivate_all
Deactivate all namespaces, returning to defaults.
examples/namespace_activation/server.py:62
Methoddeactivate_internal
(ctx: Context)
tests/server/test_session_visibility.py:87
Methoddecorate_and_register
( fn: AnyFunction, prompt_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:169
Methoddecorate_and_register
( fn: AnyFunction, tool_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:310
Methoddecorated_template
(ctx: Context, item_id: int)
tests/resources/test_resource_template.py:736
Methoddecorated_tool
(ctx: Context, query: str)
tests/server/providers/local_provider_tools/test_context.py:153
Functiondecorator
(func: Callable[..., Any])
fastmcp_slim/fastmcp/contrib/mcp_mixin/mcp_mixin.py:85
Functiondecorator
(fn: F)
fastmcp_slim/fastmcp/resources/function_resource.py:342
Functiondecorator
(fn: F)
fastmcp_slim/fastmcp/apps/app.py:133
Functiondecorator
(fn)
examples/custom_tool_serializer_decorator.py:22
Methoddecorator
( func: Callable[ [AnyUrl], Awaitable[mcp.types.ReadResourceResult
fastmcp_slim/fastmcp/server/low_level.py:294
Methoddecorator
( fn: Callable[[Request], Awaitable[Response]], )
fastmcp_slim/fastmcp/server/mixins/transport.py:135
Methoddecorator
(fn: AnyFunction)
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:171
Methoddeep_tool
()
tests/server/mount/test_advanced.py:364
Methoddeep_tool
()
tests/server/tasks/test_task_mount.py:515
Methoddeep_whoami
(server: CurrentFastMCP = CurrentFastMCP())
tests/server/tasks/test_task_mount.py:402
Functiondeepobject_spec
OpenAPI spec with deepObject parameter style.
tests/utilities/openapi/conftest.py:131
Methoddeepobject_spec
OpenAPI spec with deepObject style parameters.
tests/server/providers/openapi/test_deepobject_style.py:27
Functiondefault_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
Functiondefault_proxy_elicitation_handler
Forward elicitation request from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:977
Functiondefault_proxy_log_handler
Forward log notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:999
Functiondefault_proxy_progress_handler
Forward progress notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1007
Functiondefault_proxy_roots_handler
Forward list roots request from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:946
Functiondefault_proxy_sampling_handler
Forward sampling request from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:954
Functiondefault_tool
()
tests/server/tasks/test_server_tasks_parameter.py:116
Methoddefault_ttl_tool
()
tests/server/tasks/test_task_meta_parameter.py:125
Functiondelete_file
(path: str)
tests/server/test_file_server.py:68
Functiondelete_item
Remove an item by ID and return the remaining inventory.
examples/apps/inventory/inventory_server.py:195
Functiondelete_record
Delete a record from the database by its ID.
tests/server/transforms/test_search.py:55
Functiondemo
A demo app that exercises various MCP message types.
examples/apps/inspector_demo.py:31
Methoddeny_blocked_prompt
(ctx: AuthContext)
tests/server/auth/test_authorization.py:522
Methoddeny_blocked_resource
(ctx: AuthContext)
tests/server/auth/test_authorization.py:478
Methoddeny_blocked_resource_template
(ctx: AuthContext)
tests/server/auth/test_authorization.py:499
Methoddeny_blocked_tool
(ctx: AuthContext)
tests/server/auth/test_authorization.py:459
Functiondependency_server
Create a FastMCP server with dependency-using background tasks.
tests/server/tasks/test_task_dependencies.py:20
Methoddescribe
(topic: str)
tests/server/tasks/test_task_mount.py:1070
Functiondesktop
List the files in the user's desktop
examples/desktop.py:16
Methoddevelopment_tool
()
tests/utilities/test_inspect.py:438
Methoddict_lifespan
(app: Any)
tests/server/test_server_lifespan.py:527
Methoddict_only_schema
Schema with no properties but additionalProperties=True -> dict[str, Any]
tests/utilities/json_schema_type/test_advanced.py:618
Functiondict_tool
()
tests/client/client/test_client.py:852
Methoddict_tool
(x: int)
tests/tools/tool_transform/test_schemas.py:49
Methoddict_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:288
Methoddirector
Create a RequestDirector instance.
tests/utilities/openapi/test_director.py:152
Methoddirector
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:383
Methoddirector
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:589
Methoddirector
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:1059
Methoddirector
(self)
tests/utilities/openapi/test_director.py:1186
Methoddirector
(self)
tests/utilities/openapi/test_director.py:1398
Functiondisable_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
Methoddisable_delete
Helper tool to disable delete_record for this session.
tests/server/transforms/test_search.py:186
Methoddisable_system
(ctx: Context)
tests/server/test_session_visibility.py:712
Methoddisabled_manager
Create a disabled CIMDClientManager for testing.
tests/server/auth/test_cimd_validators.py:337
Methoddisabled_prompt
()
tests/server/providers/test_local_provider.py:545
Methoddisabled_resource
()
tests/server/providers/test_local_provider.py:434
Methoddisabled_template
(id: str)
tests/server/providers/test_local_provider.py:472
Methoddisabled_tool
()
tests/server/providers/test_local_provider.py:343
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:897
Methoddispatch
Dispatch messages, including task status notifications.
fastmcp_slim/fastmcp/client/tasks.py:34
Methoddispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:27
Methoddispatch
(self, request: Request, call_next: Callable)
tests/server/http/test_http_middleware.py:41
Methoddivide
Divide two numbers.
tests/tools/tool/test_title.py:52
Functiondivide_fn
Divide two numbers.
tests/server/middleware/test_tool_injection.py:25
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:383
Methoddocket
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
Functiondocument
A document resource.
tests/client/tasks/test_client_resource_tasks.py:20
Methoddocumented_prompt
Process numbers.
tests/prompts/test_prompt.py:394
Functiondouble
(x: int)
tests/experimental/transforms/test_code_mode_serialization.py:142
Functiondouble
(x: int)
tests/experimental/transforms/test_code_mode.py:651
Methoddouble
(x: int)
tests/server/versioning/test_mounting.py:211
Methoddriver
(context: Context)
tests/server/telemetry/test_sampling_tracing.py:136
Methoddummy_func
()
tests/resources/test_resources.py:16
Methoddummy_tool
()
tests/server/test_server.py:282
Methodduplicate_tool
()
tests/server/providers/test_local_provider.py:819
Methoddynamic_data
()
tests/server/mount/test_proxy.py:56
Methoddynamic_tool
()
tests/server/mount/test_advanced.py:30
Methoddynamic_tools
Create dynamic tools for testing.
tests/server/test_providers.py:102
Functionecho
Echo tool
tests/client/client/test_client.py:673
Functionecho
Echo back the message.
tests/client/tasks/test_client_tool_tasks.py:22
Functionecho
(message: str)
tests/client/tasks/test_client_task_protocol.py:74
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:22
Functionecho
(message: str)
tests/server/providers/proxy/test_proxy_client.py:28
Functionecho
Echo back the message provided.
tests/deprecated/test_exclude_args.py:15
← previousnext →2,501–2,600 of 10,312, ranked by callers