authentication
reCAPTCHA MCP Integration for Vercel AI SDK
Connect reCAPTCHA to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect reCAPTCHA to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
reCAPTCHA MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI 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. |