MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

Methodcreate_resource
Create a resource from the template with the given parameters.
fastmcp_slim/fastmcp/resources/template.py:652
Methodcreate_resource
Create a FastMCPProviderResource for the given URI. The `uri` is the external/transformed URI (e.g., with namespace prefix). We use `
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:317
Methodcreate_resource
Create a resource with the given parameters.
fastmcp_slim/fastmcp/server/providers/openapi/components.py:482
Methodcreate_resource
Create a resource for the given URI and parameters. Note: This is not typically used since _read() handles file reading directly. Pro
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:119
Methodcreate_result
The raw `CreateTaskResult` the server returned for the tasked call.
fastmcp_tasks/fastmcp_tasks/client.py:428
Functioncreate_session
Create a new session and return its identifier. Mints an unguessable `uuid4`, records an initial session owned by the current principal, and
fastmcp_slim/fastmcp/server/sessions.py:468
Functioncreate_thread
Create a thread of posts with automatic linking. The first post becomes the root of the thread, and each subsequent post replies to the previ
examples/atproto_mcp/src/atproto_mcp/server.py:129
Functioncreate_thread
Create a thread of posts with automatic linking. Args: posts: List of posts to create as a thread. First post is the root.
examples/atproto_mcp/src/atproto_mcp/_atproto/_posts.py:329
Functioncreate_user
Create a user - admin only
examples/tags_example.py:26
Methodcreate_user
Create a new user.
tests/tools/tool/test_tool.py:194
Methodcreate_user
Create a user from a profile.
tests/server/test_input_validation.py:161
Methodcreate_user
(profile: UserProfile)
tests/server/test_input_validation.py:609
Functioncrunch
(n: int)
tests/tasks/server/test_task_middleware.py:29
Methodctx_tool
A sync tool with context that uses barrier to prove concurrency.
tests/tools/tool/test_callable.py:88
Methodcurrent
Current progress value.
fastmcp_slim/fastmcp/server/dependencies.py:1215
Methodcurrent
(self)
fastmcp_slim/fastmcp/server/dependencies.py:1267
Methodcurrent
Current progress value.
fastmcp_slim/fastmcp/server/dependencies.py:1339
Functioncurrent_workspace
( workspace: str | None = CallArgument(default=None), )
tests/server/test_call_arguments.py:195
Functioncustom
(final_x: int, **kwargs)
tests/tools/tool_transform/test_args.py:49
Functioncustom
(x: int, ctx: Context)
tests/tools/tool_transform/test_tool_transform.py:953
Methodcustom_analysis
(text: str)
tests/utilities/test_inspect.py:168
Methodcustom_auth_check
(ctx: AuthContext)
tests/server/auth/test_authorization.py:340
Methodcustom_decorator
(func)
tests/resources/test_resource_template.py:783
Methodcustom_decorator
(func)
tests/server/providers/local_provider_tools/test_context.py:142
Functioncustom_discover
(_ctx, _params)
tests/server/middleware/test_discovery_middleware.py:84
Functioncustom_discover
(_ctx, _params)
tests/server/providers/proxy/test_server_metadata.py:566
Methodcustom_error_tool
()
tests/client/client/test_error_handling.py:99
Functioncustom_fn
(x: str = "function_default", **kwargs)
tests/tools/tool_transform/test_args.py:192
Functioncustom_fn
(new_x: int, **kwargs)
tests/tools/tool_transform/test_tool_transform.py:222
Methodcustom_fn
(x: int)
tests/tools/tool_transform/test_schemas.py:133
Methodcustom_level_prompt
()
tests/client/client/test_error_handling.py:456
Methodcustom_level_resource
()
tests/client/client/test_error_handling.py:411
Methodcustom_level_tool
()
tests/client/client/test_error_handling.py:366
Functioncustom_lifespan
(server: FastMCP)
tests/server/test_server_docket.py:149
Functioncustom_prompt
(topic: str, tone: str = Depends(get_tone))
tests/server/test_dependencies.py:299
Methodcustom_res
()
tests/server/test_cache_hints.py:311
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:130
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:763
Methoddashboard
()
tests/test_fastmcp_app.py:888
Methoddashboard
()
tests/test_apps.py:611
Methoddata
()
tests/test_apps.py:332
Methoddata
()
tests/server/providers/test_transforming_provider.py:93
Methoddata
()
tests/server/versioning/test_filtering.py:453
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:337
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:234
Methoddate_format
(self)
tests/utilities/json_schema_type/test_formats.py:43
Methoddatetime_format
(self)
tests/utilities/json_schema_type/test_formats.py:23
Methoddatetime_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:104
Methoddb_lifespan
(app: Any)
tests/server/test_server_lifespan.py:387
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
Methoddeclare_client
(self, httpx_mock)
tests/server/auth/oauth_proxy/test_authorization.py:283
Functiondeclared_capabilities
(ctx: Context)
tests/server/providers/proxy/test_relayed_capabilities.py:93
Methoddeclared_status
()
tests/server/providers/proxy/test_proxy_server.py:1289
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:164
Methoddecorate_and_register
( fn: AnyFunction, tool_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:280
Methoddecorated_template
(ctx: Context, item_id: int)
tests/resources/test_resource_template.py:791
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:79
Functiondecorator
(fn: F)
fastmcp_slim/fastmcp/resources/function_resource.py:271
Functiondecorator
(fn)
examples/custom_tool_serializer_decorator.py:23
Methoddecorator
( fn: Callable[[Request], Awaitable[Response]], )
fastmcp_slim/fastmcp/server/mixins/transport.py:164
Methoddecorator
(fn: AnyFunction)
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:172
Methoddeep_tool
()
tests/tasks/server/test_task_mount.py:419
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:355
Functiondefault_proxy_log_handler
Forward log notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1837
Functiondefault_proxy_message_handler
Forward list-changed notifications from remote server to proxy's connected clients. Logging and progress have dedicated handlers; the tool, resou
fastmcp_slim/fastmcp/server/providers/proxy.py:1867
Functiondefault_proxy_progress_handler
Forward progress notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1850
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:1756
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:1774
Methoddefault_res
()
tests/server/test_cache_hints.py:307
Methoddefault_schema
Offer an optional `T | None` field as a plain `T` property. MCP elicitation properties have no null type. A field with a default is l
fastmcp_slim/fastmcp/server/elicitation.py:118
Functiondefault_tool
()
tests/tasks/server/test_server_tasks_parameter.py:79
Methoddefinition_ref_schema
Inline references to shared enums; enum definitions are never emitted.
fastmcp_slim/fastmcp/server/elicitation.py:59
Methoddefinitions_schema
Record shared enum definitions so references to them can be inlined.
fastmcp_slim/fastmcp/server/elicitation.py:50
Functiondelays
Record each reconnect's attempt number and skip the wait.
tests/events/test_push_lifecycle.py:97
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:274
Functiondeliver
(retry: Retry = policy)
tests/tasks/server/test_task_dependencies.py:109
Functiondemo
A demo app that exercises various MCP message types.
examples/apps/inspector_demo.py:31
Functiondeny
(path: Path)
tests/skills/test_directory_provider.py:199
Methoddeny_blocked_prompt
(ctx: AuthContext)
tests/server/auth/test_authorization.py:704
Methoddeny_blocked_resource
(ctx: AuthContext)
tests/server/auth/test_authorization.py:662
Methoddeny_blocked_resource_template
(ctx: AuthContext)
tests/server/auth/test_authorization.py:682
← previousnext →5,101–5,200 of 17,519, ranked by callers