authentication
reCAPTCHA MCP Integration for LangGraph
Connect reCAPTCHA to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect reCAPTCHA to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
reCAPTCHA MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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 LangGraph
LangGraph 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. |