MI

marissamarym/imessage-mcp-server

Analytics & monitoring

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

29 stars 9 forks 품질 51 트렌드 11

AppleScript를 사용하는 MCP 서버는 iMessage를 보내고 연락처를 관리합니다.

개요

이 소프트웨어는 어떤 보증 또는 보증 없이 것과 같이, 제공됩니다. AppleScript를 사용하는 MCP 서버는 iMessage를 보내고 연락처를 관리합니다. 이 서버는 AppleScript를 사용하여 macOS 메시지 및 연락처 앱을 모델 Context Protocol (MCP)를 통해 인터페이스합니다. TypeScript 서버에서 AppleScript 명령을 감싸고 있습니다. - 연락처를 확인하고 검색 - 연락처 또는 전화 번호로 iMessages 보내기 - 메시지가 전송될 때 확인 - 연락처를 통해 연락처 액세스://all - 이름, 전화 번호 및 이메일 주소를 포함한 연락처 세부 정보보기 - 모든 데이터는 기계에 현지 체류 - search contacts - 이름, 전화 또는 이메일에 의한 연락처 찾기 - 검색 쿼리를 가져 와서 일치하는 연락처를 반환 - 이름, 전화 번호 및 이메일 주소의 검색 - send message - iMessage를 보내 - 수신자 (전화 / 이메일) 및 메시지 내용 - 로컬 메시지 앱을 통해 전송 - 확인 또는 오류 세부 정보 반환

개요(AI 번역)

⚠️ 할인 - OWN RISK ⚠️ 사용

이 소프트웨어는 어떤 보증 또는 보증 없이 것과 같이, 제공됩니다.

AppleScript를 사용하는 MCP 서버는 iMessage를 보내고 연락처를 관리합니다.

이 서버는 AppleScript를 사용하여 macOS 메시지 및 연락처 앱을 모델 Context Protocol (MCP)를 통해 인터페이스합니다. TypeScript 서버에서 AppleScript 명령을 감싸고 있습니다.

  • 연락처 및 검색
  • 연락처 또는 전화 번호를 전송
  • 메시지가 전송될 때 확인

특징

자원

  • contacts://all 을 통해 연락처 접근
  • 이름, 전화번호, 이메일 주소를 포함한 연락처 세부 정보보기
  • 모든 자료는 당신의 기계에 국부적으로 체재합니다

도구

  • search_contacts - 이름, 전화번호, 이메일에 의한 연락처 찾기

  • 검색 쿼리를 가져 와서 일치하는 연락처를 반환

  • 이름, 전화번호, 이메일 주소에 대한 검색

  • send_message - iMessage 보내기

  • 수신자 (phone/email) 및 메시지 내용

  • 로컬 메시지 앱을 통해 전송

  • 반환 확인 또는 오류 세부 사항

설치

  1. 의존성 설치:

  2. 서버 구축:

  3. Claude 데스크톱을 구성하여 서버를 사용:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

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
GitHub에서 전체 README 보기

설치

npx @modelcontextprotocol/inspector node build/server.js
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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