iMessage MCP Server

iMessage MCP Server

A local server that enables Claude Desktop to interact with your macOS Contacts and Messages apps, allowing you to search contacts and send iMessages through natural language commands.

Category
Visit Server

Tools

send_imessage

Send an iMessage using Messages app

search_contacts

Search contacts by name, phone, or email

README

iMessage MCP Server

⚠️ DISCLAIMER - USE AT YOUR OWN RISK ⚠️

This software is provided as-is, without any warranties or guarantees.

An MCP server that uses AppleScript to send iMessages and manage contacts.

This server uses AppleScript to interface with macOS Messages and Contacts apps through the Model Context Protocol (MCP). It wraps AppleScript commands in a TypeScript server to allow you to:

  • View and search your contacts
  • Send iMessages to contacts or phone numbers
  • Get confirmation when messages are sent

Features

Resources

  • Access your contacts via contacts://all
  • View contact details including names, phone numbers, and email addresses
  • All data stays local on your machine

Tools

  • search_contacts - Find contacts by name, phone, or email

    • Takes a search query and returns matching contacts
    • Searches across names, phone numbers, and email addresses
  • send_message - Send an iMessage

    • Takes recipient (phone/email) and message content
    • Sends through your local Messages app
    • Returns confirmation or error details

Installation

  1. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. Configure Claude Desktop to use the server:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "imessage": {
      "command": "node",
      "args": ["/path/to/imessage-server/build/server.js"]
    }
  }
}
  1. Restart Claude Desktop

  2. Grant permissions when prompted for:

    • Contacts access
    • Messages access

Usage

Once installed, you can talk to Claude Desktop naturally:

  • "Show me my contacts"
  • "Search for contacts named Marissa"
  • "Send a message to 555-0123 saying I'll be there in 10 minutes"
  • "Send Alice an iMessage asking if we're still on for lunch"

Security Notes

  • All operations happen locally on your machine
  • No contact or message data is sent to external servers
  • The server requires macOS permissions for Contacts and Messages access
  • Messages are sent through your iMessage account

Development

For development and debugging, use the MCP Inspector:

npx @modelcontextprotocol/inspector node build/server.js

Requirements

  • macOS (for Messages and Contacts integration)
  • Node.js 18 or higher
  • Claude Desktop
  • Active iMessage account

Troubleshooting

If messages aren't sending:

  1. Check Messages app is signed in
  2. Verify permissions are granted
  3. Look for errors in Claude Desktop logs:
tail -f ~/Library/Logs/Claude/mcp*.log

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured