Cued MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Cued MCP Server
MCP server for Cued โ Enable Claude to access your local messages and contacts via Model Context Protocol.
Cued is a local-first message and contact datastore for AI agents. This MCP server bridges Cued and Claude, letting you:
๐ Search messages across all platforms (iMessage, Discord, Gmail, Slack, etc.)
๐ Query contacts from your synchronized address book
๐ Trigger platform syncs on-demand
๐ Get message statistics by platform
๐พ Export conversations to JSON or CSV
๐ฅ Run diagnostics to verify installation and permissions
Everything stays local and private โ data never leaves your Mac.
Installation
Via npm (Recommended)
npm install -g @cued/mcpFrom Source
git clone https://github.com/Cue-d/mcp.git
cd mcp
npm install
npm run buildRelated MCP server: imessage-mcp
Quick Start
1. Start the MCP Server
# Via CLI
cued-mcp start
# Or via Node.js
node /path/to/cued-mcp/dist/index.js2. Configure Claude Code
Add to .claude/mcp.json:
{
"mcpServers": {
"cued": {
"command": "node",
"args": ["/path/to/cued-mcp/dist/cli.js"]
}
}
}Replace /path/to/cued-mcp with your actual installation path. Find it with:
npm list -g @cued/mcp3. Use in Claude
You: "Search my messages for 'project update' from the last week"
Claude: [Uses cued_search_messages tool]
โ Returns matching messages with contextCLI Usage
Start MCP Server
cued-mcp start
# or
cued-mcp serverDaemon Mode
Start Background Daemon
# Both PID-based and macOS launchd
cued-mcp daemon start both
# PID-based only (cross-platform)
cued-mcp daemon start pid
# macOS launchd only (native integration, auto-start)
cued-mcp daemon start launchdCheck Status
cued-mcp daemon status
# Output:
# [cued-mcp] PID daemon: running (PID: 12345)
# [cued-mcp] Launchd daemon: runningStop Daemon
cued-mcp daemon stop bothView Logs
# Last 50 lines
cued-mcp daemon logs
# Last 100 lines
cued-mcp daemon logs 100Available Tools
cued_status
Get current system status and health.
Claude: "Check my Cued status"
โ {healthy: true, database_path: "~/.cued/local.db", ...}cued_integrations_status
View connected integrations and their sync status.
Claude: "What integrations do I have connected?"
โ {integrations: [{platform: "imessage", status: "idle", ...}, ...]}cued_sync_run
Trigger a sync for a specific platform.
Claude: "Sync my Gmail"
โ Starts sync, returns statusSupported platforms: imessage, contacts, discord, gmail, slack, signal, whatsapp, linkedin
cued_search_messages
Search messages by text, platform, or date range.
Claude: "Find messages about 'quarterly review' from June"
โ [{id: "msg_123", from: "alice@...", body: "quarterly review...", ...}]Parameters:
query(required) โ Search termplatformโ Filter by platform (e.g., "discord", "imessage")fromโ Unix timestamp (earliest date)toโ Unix timestamp (latest date)limitโ Max results (default: 10, max: 100)offsetโ Pagination offset
cued_get_contacts
Get contacts with pagination.
Claude: "Show me my top 20 contacts"
โ [{id: "...", name: "Alice", email: "alice@...", ...}]Parameters:
limitโ Max results (default: 20, max: 100)offsetโ Pagination offset (default: 0)
cued_get_contacts_by_platform
Filter contacts by platform.
Claude: "Who are my Discord contacts?"
โ [{id: "...", name: "Bob", platform: "discord", ...}]cued_message_stats
Get message count by platform.
Claude: "How many messages do I have per platform?"
โ {total: 12345, by_platform: {imessage: 5000, discord: 4000, ...}}cued_get_thread
Get all messages in a conversation thread.
Claude: "Show me the full conversation thread with Alice"
โ [{id: "msg_1", from: "alice", ...}, {id: "msg_2", from: "me", ...}, ...]cued_export_messages
Export messages to JSON or CSV format.
Claude: "Export my Discord messages as CSV"
โ Returns CSV file content as stringFormats: json, csv
cued_doctor
Run diagnostics and check system health.
Claude: "Run Cued diagnostics"
โ Detailed diagnostic reportConfiguration
Environment Variables
# Optional: Require token for API access
export CUED_MCP_TOKEN="your-secret-token"
# Set to production for deployments
export NODE_ENV="production"Programmatic Usage
import { startServer } from "@cued/mcp";
// Start the MCP server
await startServer();Daemon Configuration
The daemon stores state in ~/.cued/:
~/.cued/mcp.pidโ PID-based daemon process ID~/.cued/mcp.logโ Combined stdout/stderr logs~/Library/LaunchAgents/com.cued.mcp.plistโ macOS launchd configuration (macOS only)
Security & Privacy
โ
Local-first โ All data stays in ~/.cued/local.db
โ
No cloud sync โ Your messages never leave your Mac
โ
No external APIs โ MCP server doesn't call third-party services
โ
User auth โ Uses Cued's existing authentication and permissions
โ
Optional token auth โ Add CUED_MCP_TOKEN for extra security
Requirements
Node.js 18+
Cued installed and configured
Check:
cued doctor
macOS (Cued is macOS-only for now)
Troubleshooting
"Command 'cued' not found"
Ensure Cued is installed:
cued doctor
which cuedIf not installed, install Cued:
# Visit https://github.com/Cue-d/cued for installation instructionsDatabase query failed
Check database exists:
ls -la ~/.cued/local.dbRun Cued setup:
cued setupMCP Server won't start
Check Node.js version:
node --version # Need 18+Check logs:
cued-mcp daemon logs 50Permission denied errors
Ensure file permissions:
chmod 600 ~/.cued/local.dbDaemon won't stop
Kill manually:
# Find process
ps aux | grep cued-mcp
# Kill by PID
kill -9 <PID>
# Remove stale PID file
rm ~/.cued/mcp.pidDevelopment
Setup
git clone https://github.com/Cue-d/mcp.git
cd mcp
npm installBuild
npm run build # Compile TypeScript
npm run dev # Watch mode
npm run lint # Run ESLint
npm run lint:fix # Auto-fix linting issuesTest
npm test # Run all tests
npm run test:watch # Watch modeLocal Development
# Start in watch mode
npm run dev
# In another terminal, test with Claude
claude mcp test cuedContributing
Contributions welcome! Please see CONTRIBUTING.md for guidelines.
Areas for Contribution
๐งช Additional test coverage
๐ Documentation improvements
โจ New tools (e.g., message summarization, smart search)
๐ Bug fixes
โก Performance improvements
Architecture
For technical details, see ARCHITECTURE.md.
High-Level Data Flow
Claude AI
โ
MCP Server (Node.js)
โ
โโโ Cued CLI (status, sync)
โโโ SQLite DB (~/.cued/local.db)
โ
Local Message/Contact Store (Private)License
MIT โ See LICENSE for details.
Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Cued Project: https://github.com/Cue-d/cued
Related
Cued โ Local-first message/contact datastore
Model Context Protocol โ MCP spec
Claude API โ Claude documentation
Anthropic โ Creator of Claude
Made with โค๏ธ for AI agents that respect your privacy.
This server cannot be deployed
Maintenance
Related MCP Connectors
Mac & Windows: let ChatGPT, Claude & Cursor use your email, calendar, iMessage, Teams, files.
Your Telegram, WhatsApp, Instagram, mail and calendar in Claude or ChatGPT. Never sends messages.
Mail, Calendar, Messages, Notes, Contacts, Slack on your Mac for AI. Remote needs Pro or free trial.
Your mailboxes in ChatGPT and Claude: Gmail, iCloud, Fastmail, any IMAP. Passwords stay yours.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables Claude to send and read iMessages on macOS, with smart contact lookup, message history retrieval, and cross-conversation search using natural language commands.6MIT
- AlicenseAqualityDmaintenanceConnects Claude Desktop to iMessage on macOS, enabling reading conversations, searching messages, sending texts, and managing attachments.77 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude or any MCP client to read Apple Mail, Calendar, Photos, and create Apple Notes locally on macOS, without any data leaving the machine.MIT
- AlicenseNot gradedqualityBmaintenanceProvides Claude with read-only access to your WhatsApp chat history entirely on your local machine, enabling natural language search, summarization, and retrieval of messages without sending data to the cloud.9 npmMIT