authentication
reCAPTCHA MCP Integration for Claude Agent SDK
Connect reCAPTCHA to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect reCAPTCHA to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
reCAPTCHA MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"mcpServers": {
"kosmokrator-recaptcha": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=recaptcha",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=recaptcha --write=deny Why Use KosmoKrator Here
Expose only reCAPTCHA instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
reCAPTCHA Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the reCAPTCHA integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__recaptcha__recaptcha_list_assessments | recaptcha.recaptcha_list_assessments | Read | List reCAPTCHA Enterprise assessments for a Google Cloud project. Returns assessment names, scores, token properties, and event details. Supports pagination with page size and page token. |
integration__recaptcha__recaptcha_get_assessment | recaptcha.recaptcha_get_assessment | Read | Get a single reCAPTCHA Enterprise assessment by its full resource name. Returns the score, token properties, event details, and risk analysis. |
integration__recaptcha__recaptcha_create_assessment | recaptcha.recaptcha_create_assessment | Write | Create a reCAPTCHA Enterprise assessment to evaluate a reCAPTCHA token. Provide the project parent, the token to evaluate, and the site key. Returns score, token validity, and action verification. |
integration__recaptcha__recaptcha_list_keys | recaptcha.recaptcha_list_keys | Read | List reCAPTCHA Enterprise site keys for a Google Cloud project. Returns key names, display names, web settings, and integration type. Supports pagination. |
integration__recaptcha__recaptcha_get_key | recaptcha.recaptcha_get_key | Read | Get a reCAPTCHA Enterprise site key by its full resource name. Returns the key configuration including web, Android, and iOS settings. |
integration__recaptcha__recaptcha_list_annotations | recaptcha.recaptcha_list_annotations | Read | List annotations for a reCAPTCHA Enterprise assessment. Annotations provide feedback on assessment results (LEGITIMATE, FRAUDULENT, etc.) to improve model accuracy. Supports pagination. |
integration__recaptcha__recaptcha_get_current_user | recaptcha.recaptcha_get_current_user | Read | Get information about the current reCAPTCHA Enterprise API access. Returns the list of accessible projects to verify connectivity. |