data
KeystoneJS MCP, CLI, and Lua Integration for AI Agents
KeystoneJS integration docs for AI agents: MCP gateway setup, KeystoneJS CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Bearer token auth
KeystoneJS for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
keystone- route_slug
keystone- package
keystone- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. KeystoneJS CLIHeadless setup and direct function calls. KeystoneJS MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
KeystoneJS MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for KeystoneJS.
Claude Code KeystoneJS MCP setup for Claude Code. Cursor KeystoneJS MCP setup for Cursor. Codex KeystoneJS MCP setup for Codex. OpenAI Agents KeystoneJS MCP setup for OpenAI Agents SDK. Claude Agent SDK KeystoneJS MCP setup for Claude Agent SDK. Vercel AI SDK KeystoneJS MCP setup for Vercel AI SDK. LangChain KeystoneJS MCP setup for LangChain. LangGraph KeystoneJS MCP setup for LangGraph. CrewAI KeystoneJS MCP setup for CrewAI. MCP clients KeystoneJS MCP setup for Generic MCP Clients.
KeystoneJS CLI Matrix
Use these pages for direct KeystoneJS CLI workflows in scripts, CI, cron, and agent wrappers.
CI KeystoneJS CLI for CI. Cron Jobs KeystoneJS CLI for cron jobs. Shell Scripts KeystoneJS CLI for shell scripts. Headless Automation KeystoneJS CLI for headless automation. Coding Agents KeystoneJS CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
keystone.keystone_list_lists | Read read | 0 | List all available lists (collections) in the KeystoneJS instance. Returns list keys, labels, and metadata. |
keystone.keystone_get_list | Read read | 1 | Get metadata and field schema for a specific KeystoneJS list. Returns field definitions, access control, and display configuration. |
keystone.keystone_list_items | Read read | 7 | List items in a KeystoneJS list with optional filtering, sorting, and pagination. Returns an array of items from the specified list. |
keystone.keystone_get_item | Read read | 3 | Retrieve a single item from a KeystoneJS list by its ID. |
keystone.keystone_create_item | Write write | 2 | Create a new item in a KeystoneJS list with the provided field values. |
keystone.keystone_list_users | Read read | 6 | List users in the KeystoneJS instance with optional filtering, sorting, and pagination. |
keystone.keystone_get_current_user | Read read | 1 | Get the profile of the currently authenticated KeystoneJS user. Useful for verifying the connection and understanding user permissions. |