@corla/adapter
v0.1.2
Published
Developer CLI for Corla — the enterprise AI context broker. Configure MCP, authenticate, and receive enterprise context in your AI tools.
Downloads
408
Maintainers
Readme
@corla/adapter
Developer CLI for Corla — the enterprise AI context broker.
Corla delivers enterprise-grade context (system prompts, skills, playbooks, knowledge docs) to your AI development tools via MCP, without exposing proprietary IP.
Quick Start
Your enterprise admin will provide you with a slug and project ID.
# 1. Configure MCP for your project (run once in your repo)
npx @corla/adapter init
# 2. Authenticate (opens browser, token saved automatically)
npx @corla/adapter login
# 3. Verify connection
npx @corla/adapter statusThat's it. Your AI tools (Claude Code, VS Code Copilot, Cursor, Windsurf) will now receive enterprise context automatically via MCP.
Commands
| Command | Description |
|---|---|
| corla init | Configure MCP for Claude Code, VS Code, Cursor, and Windsurf |
| corla init --antigravity | Also configure Google Antigravity (Gemini) |
| corla login | Authenticate via OAuth (opens browser) |
| corla refresh | Refresh an expired token without a browser |
| corla status | Show current auth state, token expiry, and broker URL |
What it does
- Writes
.mcp.json,.vscode/mcp.json,.cursor/mcp.json, and.windsurf/mcp.jsonso your AI tools connect to the Corla broker - Handles OAuth 2.1 PKCE authentication
- Stores tokens securely in
~/.corla/tokens.json - Token refresh without re-authenticating
Environment Variables
| Variable | Description |
|---|---|
| CORLA_BROKER | Override broker URL (default: https://broker.corla.ai) |
| CORLA_TOKEN | Override token (alternative to corla login) |
Requirements
- Node.js 18+
- An active Corla grant from your enterprise admin
Legal
By using this package, you agree to the Corla Terms of Service and Privacy Policy.
License
MIT
