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.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.
Agent Surfaces
Machine-Readable Metadata
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. |