MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodreject_private_token
(cls, value: str)
tests/server/test_input_validation.py:39
Functionreject_request
Reject a pending request and return updated lists.
examples/apps/approvals/approvals_server.py:169
Methodreject_values
(cls, values: list[str])
tests/server/test_input_validation.py:556
Functionrejects_missing_token
()
tests/downstream/smoke_pydantic_ai.py:284
Functionrejects_missing_token
()
tests/downstream/smoke_langchain_mcp_adapters.py:244
Methodrelay
()
tests/tasks/server/test_task_catalog_transforms.py:197
Functionreliable_operation
A reliable operation that always succeeds.
tests/server/middleware/test_error_handling.py:397
Methodreloader
()
tests/fs/test_provider.py:367
Functionremember
(fact: str, session: UserSession)
tests/tasks/server/test_task_dependencies.py:228
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
Functionremove_connection_session
()
fastmcp_tasks/fastmcp_tasks/context.py:436
Functionrenamed_by_mount
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:208
Functionrenamed_by_tool_transform
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:202
Methodrender
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
Methodrender
Render the prompt by making a call through the client.
fastmcp_slim/fastmcp/server/providers/proxy.py:776
Methodrender
Render the prompt with arguments.
fastmcp_slim/fastmcp/prompts/function_prompt.py:313
Methodreplace_var
(match: re.Match)
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:125
Functionreport
(n: int)
tests/tasks/server/test_task_middleware.py:74
Functionreport
(topic: str, note: str = Depends(get_note))
tests/server/test_call_arguments.py:112
Functionreport
(ctx: Context)
tests/server/middleware/test_caching_guards.py:74
Methodreport
(name: str)
tests/resources/test_resource_template.py:1368
Methodreport
(ctx: Context)
tests/server/test_mrtr_guards_components.py:131
Methodreport
(ctx: Context)
tests/server/test_mrtr_guards.py:495
Methodreport
()
tests/server/versioning/test_filtering.py:182
Functionreport_progress
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:133
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:236
Methodrequest_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
Methodrequest_id
Get the unique ID for this request. Raises RuntimeError if MCP request context is not available.
fastmcp_slim/fastmcp/server/context.py:696
Methodrequest_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
Methodrequire_nonempty_access_token
(cls, value: SecretStr)
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:75
Methodrequire_nonempty_api_key
(cls, value: SecretStr)
fastmcp_slim/fastmcp/cli/deploy/credentials.py:45
Methodrequired_extensions
Bundled extensions and auto-registerable registrations for composition.
fastmcp_slim/fastmcp/server/server.py:662
Methodrequired_extensions
Preserve bundled extensions through transforms and namespaces.
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:51
Methodrequired_extensions
Expose the mounted server's bundled and auto-registerable extensions.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:417
Methodrequired_extensions
(self)
tests/server/test_extension_runtime.py:36
Methodrequired_extensions
(self)
tests/server/test_provider_extensions.py:91
Methodrequired_extensions
(self)
tests/server/test_provider_extensions.py:614
Methodrequired_object
(self)
tests/utilities/json_schema_type/test_containers.py:93
Methodrequired_properties_with_additional
Schema with required properties AND additionalProperties=True -> BaseModel
tests/utilities/json_schema_type/test_advanced.py:678
Methodrequired_tool
()
tests/tasks/server/test_task_config.py:155
Methodrequired_tool
()
tests/tasks/server/test_task_mount.py:406
Functionresearch_prompt
( topic: str, connection: Connection = Depends(get_connection), )
tests/server/test_dependencies.py:422
Methodreset
Clear all recorded calls.
tests/server/middleware/test_middleware_nested.py:112
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:494
Functionresolve_task_config
Resolve task config, defaulting None to False.
fastmcp_slim/fastmcp/decorators.py:17
Functionresolve_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
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:1944
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:108
Methodresource_1
()
tests/server/providers/test_local_provider_resources.py:691
Methodresource_2
()
tests/server/providers/test_local_provider_resources.py:695
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:349
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:104
Methodresource_one
()
tests/server/providers/test_fastmcp_provider.py:139
Methodresource_read_fn
()
fastmcp_slim/fastmcp/resources/template.py:581
Functionresource_template
()
tests/downstream/smoke_pydantic_ai.py:168
Functionresource_template
()
tests/downstream/smoke_langchain_mcp_adapters.py:179
Methodresource_template
(param: str, ctx: Context)
tests/server/providers/test_local_provider_resources.py:276
Methodresource_two
()
tests/server/providers/test_fastmcp_provider.py:143
Methodresource_with_content_meta
()
tests/resources/test_resources.py:334
Methodresource_with_context
(x: int, ctx: Context)
tests/resources/test_resource_template.py:675
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
Methodresource_with_meta
()
tests/resources/test_resources.py:322
Functionresources
()
tests/downstream/smoke_pydantic_ai.py:162
Functionresources
()
tests/downstream/smoke_langchain_mcp_adapters.py:172
Functionresources
(mcp: FastMCP, test_dir: Path)
tests/server/test_file_server.py:32
Functionrespond
(command: list[str], **kwargs: Any)
tests/scripts/test_release_contributor_credit.py:62
Methodresponder
(request: httpx2.Request)
tests/client/auth/test_client_credentials.py:493
Methodresponse_schema_spec
OpenAPI spec with detailed response schemas.
tests/server/providers/openapi/test_openapi_features.py:343
Functionrestore_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
Methodrestricted_tool
This tool should be denied by middleware.
tests/server/middleware/test_middleware_nested.py:533
Methodresume
Resume work. Args: session_id: The handle for this workflow.
tests/server/test_session_provider.py:506
Functionretryable_operation
An operation that succeeds after a few attempts.
tests/server/middleware/test_error_handling.py:427
Functionreturn_audio
()
tests/tasks/server/test_task_return_types.py:254
Functionreturn_bool
()
tests/tasks/server/test_task_return_types.py:98
Functionreturn_bytes
()
tests/tasks/server/test_task_return_types.py:153
Functionreturn_dataclass
()
tests/tasks/server/test_task_return_types.py:307
Functionreturn_datetime
()
tests/tasks/server/test_task_return_types.py:165
Functionreturn_dict
()
tests/tasks/server/test_task_return_types.py:102
Functionreturn_embedded_resource
()
tests/tasks/server/test_task_return_types.py:385
Functionreturn_empty_dict
()
tests/tasks/server/test_task_return_types.py:207
Functionreturn_empty_list
()
tests/tasks/server/test_task_return_types.py:203
Functionreturn_file
()
tests/tasks/server/test_task_return_types.py:258
Functionreturn_float
()
tests/tasks/server/test_task_return_types.py:94
Functionreturn_image_content
()
tests/tasks/server/test_task_return_types.py:377
Functionreturn_image_data
()
tests/tasks/server/test_task_return_types.py:250
Functionreturn_image_path
()
tests/tasks/server/test_task_return_types.py:246
Functionreturn_int
()
tests/tasks/server/test_task_return_types.py:90
Functionreturn_list
()
tests/tasks/server/test_task_return_types.py:106
Functionreturn_mixed_content
()
tests/tasks/server/test_task_return_types.py:398
Functionreturn_model
()
tests/tasks/server/test_task_return_types.py:110
← previousnext →5,501–5,600 of 13,374, ranked by callers