Skip to main content

Clara Companion -- MCP Bridge

Connect your local tools and filesystem to ClaraVerse via the Clara Companion CLI. It bridges local MCP servers to your ClaraVerse instance over WebSocket.

Clara Companion

Quick Start​

# Install via the claraverse CLI
claraverse companion

# Login (choose default localhost:3000 or enter your server URL)
clara_companion login

# Start the bridge
clara_companion

Or install manually from GitHub Releases.

Default MCP Servers​

These servers are available out of the box (requires Node.js for npx):

ServerDescriptionPackage
filesystemFile operations (read, write, list)@modelcontextprotocol/server-filesystem
gitGit operations (status, diff, commit)@modelcontextprotocol/server-git
memoryPersistent knowledge graph@modelcontextprotocol/server-memory

CLI Commands​

CommandDescription
loginSetup wizard (auth + servers + service + start)
logoutLog out and revoke this device
startStart the bridge
statusShow connection status
listList configured servers
add <name>Add an MCP server
remove <name>Remove an MCP server
service installInstall as background service
service uninstallRemove background service
service statusCheck service status
service start/stopStart or stop service
devices listList connected devices
devices revoke <id>Revoke a device
devices rename <id> <name>Rename a device

Running clara_companion without arguments starts the bridge.

Background Service​

Install as a background service so the bridge auto-starts on login:

macOS (launchd):

clara_companion service install
# Location: ~/Library/LaunchAgents/com.claraverse.mcp-client.plist

Linux (systemd):

clara_companion service install
# Location: ~/.config/systemd/user/claraverse-mcp.service

Windows: Background service not yet supported. Use the Startup folder or Task Scheduler.

Logs: ~/.claraverse/logs/mcp-client.log

Config File​

Location: ~/.claraverse/mcp-config.yaml

backend_url: wss://your-instance.com/mcp/connect
device:
device_id: dev_abc123
refresh_token: eyJ...
user_email: user@example.com
mcp_servers:
- name: filesystem
command: npx
args: ["-y", "@modelcontextprotocol/server-filesystem", "/Users/name"]
enabled: true

Platform Support​

PlatformAuthMCP ServersBackground Service
macOSYesYesYes (launchd)
LinuxYesYesYes (systemd)
WindowsYesYesManual start only

Troubleshooting​

Auth issues:

clara_companion status   # Check token
clara_companion login # Re-authenticate

Connection issues:

  • Check your ClaraVerse backend is running
  • Check firewall allows WebSocket connections
  • Run clara_companion status for diagnostics

Service issues:

clara_companion service status
tail -f ~/.claraverse/logs/mcp-client.log