Home / Servers / Cloudflare API / workers_kv_namespace_get_multiple_key_value_pairs
Get multiple key-value pairs
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Get multiple key-value pairs Retrieves the text-based values of up to 100 keys from the specified Workers KV namespace. The… [POST /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk/get]
Name on the gateway: cloudflare_api__workers_kv_namespace_get_multiple_key_value_pairs · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
namespace_id required | string | namespace_id parameter |
keys required | array | Array of keys to retrieve (maximum of 100). |
type | text | json | Return values as strings with text, or parse… |
withMetadata | boolean | Whether to include metadata in the response. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "cloudflare_api__workers_kv_namespace_get_multiple_key_value_pairs",
"arguments": {
"account_id": "…",
"namespace_id": "…",
"keys": []
}
}Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get multiple key-value pairs tool with account_id set to ….