@corla/adapter
v0.2.3
Published
Developer CLI for Corla — the enterprise AI context broker. Configure MCP, authenticate, and receive enterprise context in your AI tools.
Downloads
56
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 email you an enterprise slug, member ID, project ID, and invite secret.
# Run this once in your project repo — it configures MCP and authenticates in one step.
npx @corla/adapter init
# Confirm everything is wired up
npx @corla/adapter statusRestart your AI tool (Claude Code, VS Code Copilot, Cursor, Windsurf) afterwards. It will pick up the corla MCP server and start receiving enterprise context automatically.
Commands
| Command | Description |
|---|---|
| corla init | Configure MCP for Claude Code, VS Code, Cursor, and Windsurf, then authenticate |
| corla init --antigravity | Also configure Google Antigravity (Gemini) |
| corla login | Re-authenticate (re-uses cached enterprise/member/project) |
| corla refresh | Silently refresh an expired token and regenerate MCP configs |
| corla set-password | Set or change a password so future logins skip the invite-secret step |
| 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.jsonwith your auth token inlined, so your AI tools connect to the Corla broker out of the box - Auto-adds those files to
.gitignoresince they contain a per-developer secret - Caches your enterprise / member / project in
.corla/config.jsonsologinandrefreshdon't re-prompt - Stores tokens at
~/.corla/tokens.json(mode 0600) — never written to your shell profile or project.env - Tokens are valid 30 days;
refreshrotates them and regenerates the MCP configs
Environment Variables
| Variable | Description |
|---|---|
| CORLA_BROKER | Override broker URL (default: https://broker.corla.ai) |
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
