API & Integrations

Connect LucentraCode to your development stack.

Automate CLI tasks and connect external tools.

CLI Automation

Run a task directly:
lucentracode run "your task"
Machine-readable output:
lucentracode run --format json "your task"

Headless Server

Use the headless server when another workflow needs to interact with the LucentraCode runtime without the normal terminal interface.

Launch server:
lucentracode serve
Attach to a running server:
lucentracode run --attach http://localhost:4096 "your task"

MCP (Model Context Protocol)

Manage MCP integrations:
lucentracode mcp
List servers:
lucentracode mcp list
Add server:
lucentracode mcp add
Authenticate:
lucentracode mcp auth
Remove OAuth credentials:
lucentracode mcp logout