Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Method
reject_private_token
(cls, value: str)
tests/server/test_input_validation.py:39
Function
reject_request
Reject a pending request and return updated lists.
examples/apps/approvals/approvals_server.py:169
Method
reject_values
(cls, values: list[str])
tests/server/test_input_validation.py:556
Function
rejects_missing_token
()
tests/downstream/smoke_pydantic_ai.py:284
Function
rejects_missing_token
()
tests/downstream/smoke_langchain_mcp_adapters.py:244
Method
relay
()
tests/tasks/server/test_task_catalog_transforms.py:197
Function
reliable_operation
A reliable operation that always succeeds.
tests/server/middleware/test_error_handling.py:397
Method
reloader
()
tests/fs/test_provider.py:367
Function
remember
(fact: str, session: UserSession)
tests/tasks/server/test_task_dependencies.py:228
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
Function
remove_connection_session
()
fastmcp_tasks/fastmcp_tasks/context.py:436
Function
renamed_by_mount
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:208
Function
renamed_by_tool_transform
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:202
Method
render
Delegate to the child server's render_prompt(). This is called when the prompt is used within a transformed context or other contexts
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:247
Method
render
Render the prompt by making a call through the client.
fastmcp_slim/fastmcp/server/providers/proxy.py:776
Method
render
Render the prompt with arguments.
fastmcp_slim/fastmcp/prompts/function_prompt.py:313
Method
replace_var
(match: re.Match)
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:125
Function
report
(n: int)
tests/tasks/server/test_task_middleware.py:74
Function
report
(topic: str, note: str = Depends(get_note))
tests/server/test_call_arguments.py:112
Function
report
(ctx: Context)
tests/server/middleware/test_caching_guards.py:74
Method
report
(name: str)
tests/resources/test_resource_template.py:1368
Method
report
(ctx: Context)
tests/server/test_mrtr_guards_components.py:131
Method
report
(ctx: Context)
tests/server/test_mrtr_guards.py:495
Method
report
()
tests/server/versioning/test_filtering.py:182
Function
report_progress
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:133
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:236
Method
request_context
Access to the underlying request context. Returns None when the MCP session has not been established yet. Returns the FastMCPRequestC
fastmcp_slim/fastmcp/server/context.py:312
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:696
Method
request_state
Opaque state echoed from a prior `InputRequiredResult.request_state`. The multi-round-trip guard channel (SEP-2322): whatever a tool put in
fastmcp_slim/fastmcp/server/context.py:399
Method
require_nonempty_access_token
(cls, value: SecretStr)
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:75
Method
require_nonempty_api_key
(cls, value: SecretStr)
fastmcp_slim/fastmcp/cli/deploy/credentials.py:45
Method
required_extensions
Bundled extensions and auto-registerable registrations for composition.
fastmcp_slim/fastmcp/server/server.py:662
Method
required_extensions
Preserve bundled extensions through transforms and namespaces.
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:51
Method
required_extensions
Expose the mounted server's bundled and auto-registerable extensions.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:417
Method
required_extensions
(self)
tests/server/test_extension_runtime.py:36
Method
required_extensions
(self)
tests/server/test_provider_extensions.py:91
Method
required_extensions
(self)
tests/server/test_provider_extensions.py:614
Method
required_object
(self)
tests/utilities/json_schema_type/test_containers.py:93
Method
required_properties_with_additional
Schema with required properties AND additionalProperties=True -> BaseModel
tests/utilities/json_schema_type/test_advanced.py:678
Method
required_tool
()
tests/tasks/server/test_task_config.py:155
Method
required_tool
()
tests/tasks/server/test_task_mount.py:406
Function
research_prompt
( topic: str, connection: Connection = Depends(get_connection), )
tests/server/test_dependencies.py:422
Method
reset
Clear all recorded calls.
tests/server/middleware/test_middleware_nested.py:112
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:494
Function
resolve_task_config
Resolve task config, defaulting None to False.
fastmcp_slim/fastmcp/decorators.py:17
Function
resolve_worker_server
Return the server owning the current task's tool, or None outside a task. Installed as core's worker-server resolver by ``TasksExtension`` so
fastmcp_tasks/fastmcp_tasks/context.py:487
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:1944
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:108
Method
resource_1
()
tests/server/providers/test_local_provider_resources.py:691
Method
resource_2
()
tests/server/providers/test_local_provider_resources.py:695
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:349
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:104
Method
resource_one
()
tests/server/providers/test_fastmcp_provider.py:139
Method
resource_read_fn
()
fastmcp_slim/fastmcp/resources/template.py:581
Function
resource_template
()
tests/downstream/smoke_pydantic_ai.py:168
Function
resource_template
()
tests/downstream/smoke_langchain_mcp_adapters.py:179
Method
resource_template
(param: str, ctx: Context)
tests/server/providers/test_local_provider_resources.py:276
Method
resource_two
()
tests/server/providers/test_fastmcp_provider.py:143
Method
resource_with_content_meta
()
tests/resources/test_resources.py:334
Method
resource_with_context
(x: int, ctx: Context)
tests/resources/test_resource_template.py:675
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
Method
resource_with_meta
()
tests/resources/test_resources.py:322
Function
resources
()
tests/downstream/smoke_pydantic_ai.py:162
Function
resources
()
tests/downstream/smoke_langchain_mcp_adapters.py:172
Function
resources
(mcp: FastMCP, test_dir: Path)
tests/server/test_file_server.py:32
Function
respond
(command: list[str], **kwargs: Any)
tests/scripts/test_release_contributor_credit.py:62
Method
responder
(request: httpx2.Request)
tests/client/auth/test_client_credentials.py:493
Method
response_schema_spec
OpenAPI spec with detailed response schemas.
tests/server/providers/openapi/test_openapi_features.py:343
Function
restore_global_settings
Undo any global setting an example changes. Some examples exist precisely to show a global toggle — the upgrade guide demonstrates turning th
tests/docs/test_upgrade_guide_examples.py:72
Method
restricted_tool
This tool should be denied by middleware.
tests/server/middleware/test_middleware_nested.py:533
Method
resume
Resume work. Args: session_id: The handle for this workflow.
tests/server/test_session_provider.py:506
Function
retryable_operation
An operation that succeeds after a few attempts.
tests/server/middleware/test_error_handling.py:427
Function
return_audio
()
tests/tasks/server/test_task_return_types.py:254
Function
return_bool
()
tests/tasks/server/test_task_return_types.py:98
Function
return_bytes
()
tests/tasks/server/test_task_return_types.py:153
Function
return_dataclass
()
tests/tasks/server/test_task_return_types.py:307
Function
return_datetime
()
tests/tasks/server/test_task_return_types.py:165
Function
return_dict
()
tests/tasks/server/test_task_return_types.py:102
Function
return_embedded_resource
()
tests/tasks/server/test_task_return_types.py:385
Function
return_empty_dict
()
tests/tasks/server/test_task_return_types.py:207
Function
return_empty_list
()
tests/tasks/server/test_task_return_types.py:203
Function
return_file
()
tests/tasks/server/test_task_return_types.py:258
Function
return_float
()
tests/tasks/server/test_task_return_types.py:94
Function
return_image_content
()
tests/tasks/server/test_task_return_types.py:377
Function
return_image_data
()
tests/tasks/server/test_task_return_types.py:250
Function
return_image_path
()
tests/tasks/server/test_task_return_types.py:246
Function
return_int
()
tests/tasks/server/test_task_return_types.py:90
Function
return_list
()
tests/tasks/server/test_task_return_types.py:106
Function
return_mixed_content
()
tests/tasks/server/test_task_return_types.py:398
Function
return_model
()
tests/tasks/server/test_task_return_types.py:110
← previous
next →
5,501–5,600 of 13,374, ranked by callers