Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
10,312 in github.com/PrefectHQ/fastmcp
⨍
Functions
10,312
◇
Types & classes
1,519
↳
Endpoints
103
Method
regular_resource
()
tests/client/client/test_error_handling.py:349
Function
regular_tool
()
tests/server/test_server_docket.py:22
Function
reject_request
Reject a pending request and return updated lists.
examples/apps/approvals/approvals_server.py:169
Function
reliable_operation
A reliable operation that always succeeds.
tests/server/middleware/test_error_handling.py:398
Method
reloader
()
tests/fs/test_provider.py:310
Function
remember
( contents: Annotated[ list[str], Field(description="List of observations or memories to store")
examples/memory.py:278
Function
removeDeviceIdFromLink
(event)
docs/fastmcp-analytics.js:137
Method
render
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
Method
render
Render the prompt by making a call through the client.
fastmcp_slim/fastmcp/server/providers/proxy.py:516
Method
render
Render the prompt with arguments.
fastmcp_slim/fastmcp/prompts/function_prompt.py:321
Method
replace_var
(match: re.Match)
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:125
Method
report
()
tests/server/versioning/test_filtering.py:182
Function
report_progress
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:74
Function
repost
Repost a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/server.py:110
Function
repost_by_uri
Repost a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/_atproto/_social.py:77
Method
request_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
Method
request_body_spec
OpenAPI spec with request body.
tests/server/providers/openapi/test_openapi_features.py:231
Method
request_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
Method
request_id
Get the unique ID for this request. Raises RuntimeError if MCP request context is not available.
fastmcp_slim/fastmcp/server/context.py:624
Method
required_object
(self)
tests/utilities/json_schema_type/test_containers.py:93
Method
required_prompt
Prompt that requires task execution.
tests/server/tasks/test_task_config.py:223
Method
required_properties_with_additional
Schema with required properties AND additionalProperties=True -> BaseModel
tests/utilities/json_schema_type/test_advanced.py:650
Method
required_resource
Resource that requires task execution.
tests/server/tasks/test_task_config.py:171
Method
required_tool
Tool that requires task execution.
tests/server/tasks/test_task_config.py:95
Method
required_tool
Tool that requires task execution.
tests/server/tasks/test_task_mount.py:610
Method
research
(context: Context)
tests/client/test_sampling_result_types.py:124
Function
research_prompt
( topic: str, connection: Connection = Depends(get_connection), )
tests/server/test_dependencies.py:421
Method
reset
Clear all recorded calls.
tests/server/middleware/test_middleware_nested.py:110
Function
reset_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
Function
reset_user_password
Reset a user's password (simulated).
examples/namespace_activation/server.py:41
Function
reset_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
Method
resource
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
Method
resource
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
Method
resource_1
()
tests/server/providers/test_local_provider_resources.py:682
Method
resource_2
()
tests/server/providers/test_local_provider_resources.py:686
Method
resource_all
(self)
tests/contrib/test_mcp_mixin.py:180
Method
resource_all_p
(self)
tests/contrib/test_mcp_mixin.py:208
Method
resource_both_meta
()
tests/resources/test_resources.py:348
Method
resource_cust
(self)
tests/contrib/test_mcp_mixin.py:241
Method
resource_fn
()
tests/test_json_schema_generation.py:156
Method
resource_func
()
tests/resources/test_resources.py:103
Method
resource_one
()
tests/server/providers/test_fastmcp_provider.py:139
Method
resource_read_fn
()
fastmcp_slim/fastmcp/resources/template.py:433
Function
resource_return_server
Server with resources that return various content types.
tests/server/tasks/test_task_return_types.py:184
Function
resource_server
Create a test server with background-enabled resources.
tests/client/tasks/test_client_resource_tasks.py:15
Function
resource_server
Create a FastMCP server with task-enabled resources.
tests/server/tasks/test_task_resources.py:15
Method
resource_template
(param: str, ctx: Context)
tests/server/providers/test_local_provider_resources.py:271
Method
resource_two
()
tests/server/providers/test_fastmcp_provider.py:143
Method
resource_with_content_meta
()
tests/resources/test_resources.py:333
Method
resource_with_context
(x: int, ctx: Context)
tests/resources/test_resource_template.py:672
Method
resource_with_context
(ctx: Context)
tests/server/providers/test_local_provider_resources.py:30
Method
resource_with_ctx
(ctx: Context)
tests/server/test_dependencies_advanced.py:255
Function
resource_with_docket_dependency
Background resource that uses CurrentDocket dependency.
tests/server/tasks/test_task_dependencies.py:65
Method
resource_with_meta
()
tests/resources/test_resources.py:321
Function
resources
(mcp: FastMCP, test_dir: Path)
tests/server/test_file_server.py:31
Method
response_schema_spec
OpenAPI spec with detailed response schemas.
tests/server/providers/openapi/test_openapi_features.py:338
Method
restricted_tool
This tool should be denied by middleware.
tests/server/middleware/test_middleware_nested.py:536
Method
result
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
Method
result
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
Method
result
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
Function
retryable_operation
An operation that succeeds after a few attempts.
tests/server/middleware/test_error_handling.py:428
Function
return_audio
()
tests/server/tasks/test_task_return_types.py:388
Function
return_bool
()
tests/server/tasks/test_task_return_types.py:54
Function
return_bytes
()
tests/server/tasks/test_task_return_types.py:238
Function
return_dataclass
()
tests/server/tasks/test_task_return_types.py:465
Function
return_datetime
()
tests/server/tasks/test_task_return_types.py:250
Function
return_dict
()
tests/server/tasks/test_task_return_types.py:59
Function
return_embedded_resource
()
tests/server/tasks/test_task_return_types.py:588
Function
return_empty_dict
()
tests/server/tasks/test_task_return_types.py:320
Function
return_empty_list
()
tests/server/tasks/test_task_return_types.py:316
Function
return_file
()
tests/server/tasks/test_task_return_types.py:392
Function
return_float
()
tests/server/tasks/test_task_return_types.py:49
Function
return_image_content
()
tests/server/tasks/test_task_return_types.py:580
Function
return_image_data
()
tests/server/tasks/test_task_return_types.py:384
Function
return_image_path
()
tests/server/tasks/test_task_return_types.py:380
Function
return_int
()
tests/server/tasks/test_task_return_types.py:44
Function
return_list
()
tests/server/tasks/test_task_return_types.py:64
Function
return_mixed_content
()
tests/server/tasks/test_task_return_types.py:603
Function
return_model
()
tests/server/tasks/test_task_return_types.py:69
Function
return_none
()
tests/server/tasks/test_task_return_types.py:74
Function
return_optional
()
tests/server/tasks/test_task_return_types.py:477
Function
return_optional_none
()
tests/server/tasks/test_task_return_types.py:481
Function
return_path
()
tests/server/tasks/test_task_return_types.py:246
Function
return_resource_link
()
tests/server/tasks/test_task_return_types.py:597
Function
return_set
()
tests/server/tasks/test_task_return_types.py:312
Function
return_string
()
tests/server/tasks/test_task_return_types.py:39
Function
return_text_content
()
tests/server/tasks/test_task_return_types.py:576
Method
return_things
()
tests/tools/tool/test_content.py:330
Function
return_tuple
()
tests/server/tasks/test_task_return_types.py:308
Function
return_type_server
Server with tools that return various types.
tests/server/tasks/test_task_return_types.py:33
Function
return_typeddict
()
tests/server/tasks/test_task_return_types.py:461
Function
return_union
()
tests/server/tasks/test_task_return_types.py:469
Function
return_union_int
()
tests/server/tasks/test_task_return_types.py:473
Function
return_uuid
()
tests/server/tasks/test_task_return_types.py:242
Method
returned_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
Method
returning_constant_cursor
( *, cursor: str | None = None, )
tests/server/test_pagination.py:263
Method
returning_cycling_cursor
( *, cursor: str | None = None, )
tests/server/test_pagination.py:375
Method
returning_empty_cursor
( *, cursor: str | None = None, )
tests/server/test_pagination.py:407
Method
returning_unique_cursor
( *, cursor: str | None = None, )
tests/server/test_pagination.py:435
Function
returns_image
Tool that returns an Image.
tests/tools/test_tool_future_annotations.py:45
← previous
next →
4,001–4,100 of 10,312, ranked by callers