MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

Methodregular_resource
()
tests/client/client/test_error_handling.py:349
Functionregular_tool
()
tests/server/test_server_docket.py:22
Functionreject_request
Reject a pending request and return updated lists.
examples/apps/approvals/approvals_server.py:169
Functionreliable_operation
A reliable operation that always succeeds.
tests/server/middleware/test_error_handling.py:398
Methodreloader
()
tests/fs/test_provider.py:310
Functionremember
( contents: Annotated[ list[str], Field(description="List of observations or memories to store")
examples/memory.py:278
FunctionremoveDeviceIdFromLink
(event)
docs/fastmcp-analytics.js:137
Methodrender
Delegate to child server's render_prompt() without task_meta. This is called when the prompt is used within a transformed context or
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:299
Methodrender
Render the prompt by making a call through the client.
fastmcp_slim/fastmcp/server/providers/proxy.py:516
Methodrender
Render the prompt with arguments.
fastmcp_slim/fastmcp/prompts/function_prompt.py:321
Methodreplace_var
(match: re.Match)
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:125
Methodreport
()
tests/server/versioning/test_filtering.py:182
Functionreport_progress
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:74
Functionrepost
Repost a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/server.py:110
Functionrepost_by_uri
Repost a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/_atproto/_social.py:77
Methodrequest_approval
Request human approval before proceeding with an action. Call this tool proactively whenever you are about to take a signific
fastmcp_slim/fastmcp/apps/approval.py:108
Methodrequest_body_spec
OpenAPI spec with request body.
tests/server/providers/openapi/test_openapi_features.py:231
Methodrequest_context
Access to the underlying request context. Returns None when the MCP session has not been established yet. Returns the full RequestCon
fastmcp_slim/fastmcp/server/context.py:325
Methodrequest_id
Get the unique ID for this request. Raises RuntimeError if MCP request context is not available.
fastmcp_slim/fastmcp/server/context.py:624
Methodrequired_object
(self)
tests/utilities/json_schema_type/test_containers.py:93
Methodrequired_prompt
Prompt that requires task execution.
tests/server/tasks/test_task_config.py:223
Methodrequired_properties_with_additional
Schema with required properties AND additionalProperties=True -> BaseModel
tests/utilities/json_schema_type/test_advanced.py:650
Methodrequired_resource
Resource that requires task execution.
tests/server/tasks/test_task_config.py:171
Methodrequired_tool
Tool that requires task execution.
tests/server/tasks/test_task_config.py:95
Methodrequired_tool
Tool that requires task execution.
tests/server/tasks/test_task_mount.py:610
Methodresearch
(context: Context)
tests/client/test_sampling_result_types.py:124
Functionresearch_prompt
( topic: str, connection: Connection = Depends(get_connection), )
tests/server/test_dependencies.py:421
Methodreset
Clear all recorded calls.
tests/server/middleware/test_middleware_nested.py:110
Functionreset_docket_memory_server
Reset the shared Docket memory server between tests. Docket uses a class-level FakeServer instance for memory:// URLs which persists between
tests/server/tasks/test_task_mount.py:28
Functionreset_user_password
Reset a user's password (simulated).
examples/namespace_activation/server.py:41
Functionreset_visibility
Clear all session visibility rules. Use this to reset session visibility back to global defaults. Sends notifications to this session only:
fastmcp_slim/fastmcp/server/transforms/visibility.py:480
Methodresource
Decorator to register a function as a resource. The function will be called when the resource is read to generate its content. The fu
fastmcp_slim/fastmcp/server/server.py:1811
Methodresource
Decorator to register a function as a resource. If the URI contains parameters (e.g. "resource://{param}") or the function has parame
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:107
Methodresource_1
()
tests/server/providers/test_local_provider_resources.py:682
Methodresource_2
()
tests/server/providers/test_local_provider_resources.py:686
Methodresource_all
(self)
tests/contrib/test_mcp_mixin.py:180
Methodresource_all_p
(self)
tests/contrib/test_mcp_mixin.py:208
Methodresource_both_meta
()
tests/resources/test_resources.py:348
Methodresource_cust
(self)
tests/contrib/test_mcp_mixin.py:241
Methodresource_fn
()
tests/test_json_schema_generation.py:156
Methodresource_func
()
tests/resources/test_resources.py:103
Methodresource_one
()
tests/server/providers/test_fastmcp_provider.py:139
Methodresource_read_fn
()
fastmcp_slim/fastmcp/resources/template.py:433
Functionresource_return_server
Server with resources that return various content types.
tests/server/tasks/test_task_return_types.py:184
Functionresource_server
Create a test server with background-enabled resources.
tests/client/tasks/test_client_resource_tasks.py:15
Functionresource_server
Create a FastMCP server with task-enabled resources.
tests/server/tasks/test_task_resources.py:15
Methodresource_template
(param: str, ctx: Context)
tests/server/providers/test_local_provider_resources.py:271
Methodresource_two
()
tests/server/providers/test_fastmcp_provider.py:143
Methodresource_with_content_meta
()
tests/resources/test_resources.py:333
Methodresource_with_context
(x: int, ctx: Context)
tests/resources/test_resource_template.py:672
Methodresource_with_context
(ctx: Context)
tests/server/providers/test_local_provider_resources.py:30
Methodresource_with_ctx
(ctx: Context)
tests/server/test_dependencies_advanced.py:255
Functionresource_with_docket_dependency
Background resource that uses CurrentDocket dependency.
tests/server/tasks/test_task_dependencies.py:65
Methodresource_with_meta
()
tests/resources/test_resources.py:321
Functionresources
(mcp: FastMCP, test_dir: Path)
tests/server/test_file_server.py:31
Methodresponse_schema_spec
OpenAPI spec with detailed response schemas.
tests/server/providers/openapi/test_openapi_features.py:338
Methodrestricted_tool
This tool should be denied by middleware.
tests/server/middleware/test_middleware_nested.py:536
Methodresult
Wait for and return the tool result. If server executed immediately, returns the immediate result. Otherwise waits for background tas
fastmcp_slim/fastmcp/client/tasks.py:355
Methodresult
Wait for and return the prompt result. If server executed immediately, returns the immediate result. Otherwise waits for background t
fastmcp_slim/fastmcp/client/tasks.py:460
Methodresult
Wait for and return the resource contents. If server executed immediately, returns the immediate result. Otherwise waits for backgrou
fastmcp_slim/fastmcp/client/tasks.py:530
Functionretryable_operation
An operation that succeeds after a few attempts.
tests/server/middleware/test_error_handling.py:428
Functionreturn_audio
()
tests/server/tasks/test_task_return_types.py:388
Functionreturn_bool
()
tests/server/tasks/test_task_return_types.py:54
Functionreturn_bytes
()
tests/server/tasks/test_task_return_types.py:238
Functionreturn_dataclass
()
tests/server/tasks/test_task_return_types.py:465
Functionreturn_datetime
()
tests/server/tasks/test_task_return_types.py:250
Functionreturn_dict
()
tests/server/tasks/test_task_return_types.py:59
Functionreturn_embedded_resource
()
tests/server/tasks/test_task_return_types.py:588
Functionreturn_empty_dict
()
tests/server/tasks/test_task_return_types.py:320
Functionreturn_empty_list
()
tests/server/tasks/test_task_return_types.py:316
Functionreturn_file
()
tests/server/tasks/test_task_return_types.py:392
Functionreturn_float
()
tests/server/tasks/test_task_return_types.py:49
Functionreturn_image_content
()
tests/server/tasks/test_task_return_types.py:580
Functionreturn_image_data
()
tests/server/tasks/test_task_return_types.py:384
Functionreturn_image_path
()
tests/server/tasks/test_task_return_types.py:380
Functionreturn_int
()
tests/server/tasks/test_task_return_types.py:44
Functionreturn_list
()
tests/server/tasks/test_task_return_types.py:64
Functionreturn_mixed_content
()
tests/server/tasks/test_task_return_types.py:603
Functionreturn_model
()
tests/server/tasks/test_task_return_types.py:69
Functionreturn_none
()
tests/server/tasks/test_task_return_types.py:74
Functionreturn_optional
()
tests/server/tasks/test_task_return_types.py:477
Functionreturn_optional_none
()
tests/server/tasks/test_task_return_types.py:481
Functionreturn_path
()
tests/server/tasks/test_task_return_types.py:246
Functionreturn_resource_link
()
tests/server/tasks/test_task_return_types.py:597
Functionreturn_set
()
tests/server/tasks/test_task_return_types.py:312
Functionreturn_string
()
tests/server/tasks/test_task_return_types.py:39
Functionreturn_text_content
()
tests/server/tasks/test_task_return_types.py:576
Methodreturn_things
()
tests/tools/tool/test_content.py:330
Functionreturn_tuple
()
tests/server/tasks/test_task_return_types.py:308
Functionreturn_type_server
Server with tools that return various types.
tests/server/tasks/test_task_return_types.py:33
Functionreturn_typeddict
()
tests/server/tasks/test_task_return_types.py:461
Functionreturn_union
()
tests/server/tasks/test_task_return_types.py:469
Functionreturn_union_int
()
tests/server/tasks/test_task_return_types.py:473
Functionreturn_uuid
()
tests/server/tasks/test_task_return_types.py:242
Methodreturned_immediately
Check if server executed the task immediately. Returns: True if server executed synchronously (graceful degradation or no task su
fastmcp_slim/fastmcp/client/tasks.py:111
Methodreturning_constant_cursor
( *, cursor: str | None = None, )
tests/server/test_pagination.py:263
Methodreturning_cycling_cursor
( *, cursor: str | None = None, )
tests/server/test_pagination.py:375
Methodreturning_empty_cursor
( *, cursor: str | None = None, )
tests/server/test_pagination.py:407
Methodreturning_unique_cursor
( *, cursor: str | None = None, )
tests/server/test_pagination.py:435
Functionreturns_image
Tool that returns an Image.
tests/tools/test_tool_future_annotations.py:45
← previousnext →4,001–4,100 of 10,312, ranked by callers