Client Integration
Alephant MCP is distributed through npm as @alephantai/mcp. Most clients can run it directly with npx.
Global installation is optional. The recommended client command is:
Environment Variables
Choose one credential mode per MCP server entry.
If both ALEPHANT_PAT and ALEPHANT_VIRTUAL_KEY are present, the server uses Manager mode.
Cursor and Claude Desktop
Use the same mcpServers shape for clients that read JSON MCP configuration.
Virtual Key mode
Manager mode
For multiple workspaces, duplicate the server entry with a unique name such as alephant-prod and alephant-staging.
Codex
Add a stdio MCP server in ~/.codex/config.toml.
For Manager mode, replace the VK environment with:
Verify the server registration:
OpenCode
Add a local MCP server under mcp in your OpenCode config, for example opencode.json.
For Manager mode, use ALEPHANT_PAT and ALEPHANT_WORKSPACE_ID in environment instead of ALEPHANT_VIRTUAL_KEY.
Claude Code
Add Alephant as a local stdio server:
For project-shared configuration, create .mcp.json in the project root:
For Manager mode, replace the VK environment with ALEPHANT_PAT and ALEPHANT_WORKSPACE_ID.
Local Development Troubleshooting
When developing inside the alephant-mcp repository clone, do not use npx -y @alephantai/mcp from the repo root to smoke test the published package. npm may resolve the current local project instead of the registry package.
Use one of these commands in the clone:
To test the published package with npx, run from a different directory such as the parent folder:
If bin resolution fails, use the explicit package form:
Scheduled Audit
For a local weekly audit, add a cron entry: