Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
17,519 in github.com/PrefectHQ/fastmcp
⨍
Functions
17,519
◇
Types & classes
2,390
↳
Endpoints
196
Method
create_resource
Create a resource from the template with the given parameters.
fastmcp_slim/fastmcp/resources/template.py:652
Method
create_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
Method
create_resource
Create a resource with the given parameters.
fastmcp_slim/fastmcp/server/providers/openapi/components.py:482
Method
create_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
Method
create_result
The raw `CreateTaskResult` the server returned for the tasked call.
fastmcp_tasks/fastmcp_tasks/client.py:428
Function
create_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
Function
create_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
Function
create_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
Function
create_user
Create a user - admin only
examples/tags_example.py:26
Method
create_user
Create a new user.
tests/tools/tool/test_tool.py:194
Method
create_user
Create a user from a profile.
tests/server/test_input_validation.py:161
Method
create_user
(profile: UserProfile)
tests/server/test_input_validation.py:609
Function
crunch
(n: int)
tests/tasks/server/test_task_middleware.py:29
Method
ctx_tool
A sync tool with context that uses barrier to prove concurrency.
tests/tools/tool/test_callable.py:88
Method
current
Current progress value.
fastmcp_slim/fastmcp/server/dependencies.py:1215
Method
current
(self)
fastmcp_slim/fastmcp/server/dependencies.py:1267
Method
current
Current progress value.
fastmcp_slim/fastmcp/server/dependencies.py:1339
Function
current_workspace
( workspace: str | None = CallArgument(default=None), )
tests/server/test_call_arguments.py:195
Function
custom
(final_x: int, **kwargs)
tests/tools/tool_transform/test_args.py:49
Function
custom
(x: int, ctx: Context)
tests/tools/tool_transform/test_tool_transform.py:953
Method
custom_analysis
(text: str)
tests/utilities/test_inspect.py:168
Method
custom_auth_check
(ctx: AuthContext)
tests/server/auth/test_authorization.py:340
Method
custom_decorator
(func)
tests/resources/test_resource_template.py:783
Method
custom_decorator
(func)
tests/server/providers/local_provider_tools/test_context.py:142
Function
custom_discover
(_ctx, _params)
tests/server/middleware/test_discovery_middleware.py:84
Function
custom_discover
(_ctx, _params)
tests/server/providers/proxy/test_server_metadata.py:566
Method
custom_error_tool
()
tests/client/client/test_error_handling.py:99
Function
custom_fn
(x: str = "function_default", **kwargs)
tests/tools/tool_transform/test_args.py:192
Function
custom_fn
(new_x: int, **kwargs)
tests/tools/tool_transform/test_tool_transform.py:222
Method
custom_fn
(x: int)
tests/tools/tool_transform/test_schemas.py:133
Method
custom_level_prompt
()
tests/client/client/test_error_handling.py:456
Method
custom_level_resource
()
tests/client/client/test_error_handling.py:411
Method
custom_level_tool
()
tests/client/client/test_error_handling.py:366
Function
custom_lifespan
(server: FastMCP)
tests/server/test_server_docket.py:149
Function
custom_prompt
(topic: str, tone: str = Depends(get_tone))
tests/server/test_dependencies.py:299
Method
custom_res
()
tests/server/test_cache_hints.py:311
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:130
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:763
Method
dashboard
()
tests/test_fastmcp_app.py:888
Method
dashboard
()
tests/test_apps.py:611
Method
data
()
tests/test_apps.py:332
Method
data
()
tests/server/providers/test_transforming_provider.py:93
Method
data
()
tests/server/versioning/test_filtering.py:453
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:337
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:234
Method
date_format
(self)
tests/utilities/json_schema_type/test_formats.py:43
Method
datetime_format
(self)
tests/utilities/json_schema_type/test_formats.py:23
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:387
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
declare_client
(self, httpx_mock)
tests/server/auth/oauth_proxy/test_authorization.py:283
Function
declared_capabilities
(ctx: Context)
tests/server/providers/proxy/test_relayed_capabilities.py:93
Method
declared_status
()
tests/server/providers/proxy/test_proxy_server.py:1289
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:164
Method
decorate_and_register
( fn: AnyFunction, tool_name: str | None )
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:280
Method
decorated_template
(ctx: Context, item_id: int)
tests/resources/test_resource_template.py:791
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:79
Function
decorator
(fn: F)
fastmcp_slim/fastmcp/resources/function_resource.py:271
Function
decorator
(fn)
examples/custom_tool_serializer_decorator.py:23
Method
decorator
( fn: Callable[[Request], Awaitable[Response]], )
fastmcp_slim/fastmcp/server/mixins/transport.py:164
Method
decorator
(fn: AnyFunction)
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:172
Method
deep_tool
()
tests/tasks/server/test_task_mount.py:419
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:355
Function
default_proxy_log_handler
Forward log notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1837
Function
default_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
Function
default_proxy_progress_handler
Forward progress notification from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1850
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:1756
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:1774
Method
default_res
()
tests/server/test_cache_hints.py:307
Method
default_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
Function
default_tool
()
tests/tasks/server/test_server_tasks_parameter.py:79
Method
definition_ref_schema
Inline references to shared enums; enum definitions are never emitted.
fastmcp_slim/fastmcp/server/elicitation.py:59
Method
definitions_schema
Record shared enum definitions so references to them can be inlined.
fastmcp_slim/fastmcp/server/elicitation.py:50
Function
delays
Record each reconnect's attempt number and skip the wait.
tests/events/test_push_lifecycle.py:97
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:274
Function
deliver
(retry: Retry = policy)
tests/tasks/server/test_task_dependencies.py:109
Function
demo
A demo app that exercises various MCP message types.
examples/apps/inspector_demo.py:31
Function
deny
(path: Path)
tests/skills/test_directory_provider.py:199
Method
deny_blocked_prompt
(ctx: AuthContext)
tests/server/auth/test_authorization.py:704
Method
deny_blocked_resource
(ctx: AuthContext)
tests/server/auth/test_authorization.py:662
Method
deny_blocked_resource_template
(ctx: AuthContext)
tests/server/auth/test_authorization.py:682
← previous
next →
5,101–5,200 of 17,519, ranked by callers