MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Functioncustom_fn
(x: str = "function_default", **kwargs)
tests/tools/tool_transform/test_args.py:136
Functioncustom_fn
(new_x: int, **kwargs)
tests/tools/tool_transform/test_tool_transform.py:205
Methodcustom_fn
(x: int)
tests/tools/tool_transform/test_schemas.py:114
Methodcustom_level_prompt
()
tests/client/client/test_error_handling.py:378
Methodcustom_level_resource
()
tests/client/client/test_error_handling.py:333
Methodcustom_level_tool
()
tests/client/client/test_error_handling.py:288
Functioncustom_lifespan
(server: FastMCP)
tests/server/test_server_docket.py:147
Functioncustom_prompt
(topic: str, tone: str = Depends(get_tone))
tests/server/test_dependencies.py:299
Methodcustom_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
Methodcustom_route
(request: Request)
tests/server/http/test_custom_routes.py:17
Methodcustom_serializer
(_: Any)
tests/server/middleware/test_logging.py:370
Functioncustom_tool_server
A server with custom tool subclasses.
tests/tasks/server/test_custom_subclass_tasks.py:89
Methoddashboard
()
tests/test_fastmcp_app.py:180
Methoddashboard
()
tests/test_fastmcp_app.py:741
Methoddashboard
()
tests/test_fastmcp_app.py:866
Methoddashboard
()
tests/test_apps.py:596
Methoddata
()
tests/test_apps.py:331
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
Methoddata_prompt
(value: int)
tests/prompts/test_prompt.py:290
Methoddata_uri_tool
Tool with data URI icon.
tests/utilities/test_inspect_icons.py:249
Methoddataclass_schema
(self, schema: core_schema.DataclassSchema)
fastmcp_slim/fastmcp/tools/function_parsing.py:195
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:439
Functiondeactivate_all
Deactivate all namespaces, returning to defaults.
examples/namespace_activation/server.py:62
Methoddeactivate_internal
(ctx: Context)
tests/server/test_session_visibility.py:97
Methoddeclared_status
()
tests/server/providers/proxy/test_proxy_server.py:1218
Methoddecline_handler
(message, response_type, params, ctx)
tests/server/test_mrtr_guards.py:374
Methoddecorate_and_register
( fn: AnyFunction, prompt_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:161
Methoddecorate_and_register
( fn: AnyFunction, tool_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:277
Methoddecorated_template
(ctx: Context, item_id: int)
tests/resources/test_resource_template.py:739
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:73
Functiondecorator
(fn: F)
fastmcp_slim/fastmcp/resources/function_resource.py:271
Functiondecorator
(fn: F)
fastmcp_slim/fastmcp/apps/app.py:138
Functiondecorator
(fn)
examples/custom_tool_serializer_decorator.py:23
Methoddecorator
( fn: Callable[[Request], Awaitable[Response]], )
fastmcp_slim/fastmcp/server/mixins/transport.py:165
Methoddecorator
(fn: AnyFunction)
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:169
Methoddeep_tool
()
tests/tasks/server/test_task_mount.py:347
Methoddeep_tool
()
tests/server/mount/test_advanced.py:366
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_headers
()
tests/server/http/test_http_dependencies.py:183
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:271
Functiondefault_proxy_elicitation_handler
Forward elicitation request from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1568
Functiondefault_proxy_log_handler
Forward log notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1590
Functiondefault_proxy_progress_handler
Forward progress notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1598
Functiondefault_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
Functiondefault_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
Functiondefault_tool
()
tests/tasks/server/test_server_tasks_parameter.py:79
Functiondelete_file
(path: str)
tests/server/test_file_server.py:69
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
Methoddelete_record
Delete a record.
tests/experimental/transforms/test_jev_search.py:365
Functiondelete_records
(marker: str)
tests/cli/test_fastmcp_remote.py:265
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:687
Methoddeny_blocked_resource
(ctx: AuthContext)
tests/server/auth/test_authorization.py:645
Methoddeny_blocked_resource_template
(ctx: AuthContext)
tests/server/auth/test_authorization.py:665
Methoddeny_blocked_tool
(ctx: AuthContext)
tests/server/auth/test_authorization.py:625
Methoddeny_tenant
(ctx: AuthContext)
tests/server/auth/test_authorization.py:1253
Functiondependency_server
A FastMCP server with dependency-using background tools.
tests/tasks/server/test_task_dependencies.py:34
Functiondescribe
(role: str = CallArgument())
tests/server/test_call_arguments.py:174
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:646
Functiondict_tool
()
tests/client/client/test_client.py:861
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:399
Methoddirector
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:610
Methoddirector
(self, basic_openapi_30_spec)
tests/utilities/openapi/test_director.py:1119
Methoddirector
(self)
tests/utilities/openapi/test_director.py:1246
Methoddirector
(self)
tests/utilities/openapi/test_director.py:1458
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:440
Methoddisable_delete
Helper tool to disable delete_record for this session.
tests/server/transforms/test_search.py:208
Methoddisable_system
(ctx: Context)
tests/server/test_session_visibility.py:722
Functiondisabled_by_name
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:130
Functiondisabled_by_tag
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:136
Functiondisabled_in_a_mounted_server
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:148
Methoddisabled_manager
Create a disabled CIMDClientManager for testing.
tests/server/auth/test_cimd_validators.py:368
Functiondisabled_on_the_provider
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:142
Methoddisabled_prompt
()
tests/server/providers/test_local_provider.py:546
Methoddisabled_resource
()
tests/server/providers/test_local_provider.py:435
Methoddisabled_template
(id: str)
tests/server/providers/test_local_provider.py:473
Methoddisabled_tool
()
tests/server/providers/test_local_provider.py:344
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
Functiondiscovery_document
()
tests/server/auth/test_oidc_discovery_cache.py:18
Methoddispatch
( key: str, req: mcp_types.InputRequest )
fastmcp_slim/fastmcp/client/client.py:1294
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
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
← previousnext →3,701–3,800 of 13,374, ranked by callers