← All projects
Sole author — MCP server, native Swift helper, tests and documentation2026

kakaotalk-mcp-korea — KakaoTalk MCP Server

An open-source MCP server and CLI that lets Claude Code, Claude Desktop or any MCP client read and send KakaoTalk on macOS: chats, messages, files, contacts and the account's own profile. 20 tools, a native Swift helper for sending, and a rule that nothing goes out without an explicit confirm.

20MCP tools
83unit tests
~5Klines of TypeScript + Swift
MITlicense

The problem

Agents can't use KakaoTalk, the main messenger in Korea: there is no official API for personal chats, the local database is encrypted, and window-index automation breaks when windows move and can steal the user's focus.

The solution

Derive the database key locally and open the encrypted SQLite database read-only for everything that reads; drive the real app through a native Accessibility helper for everything that writes; and make every write a preview first, confirmed explicitly.

Overview

kakaotalk-mcp-korea is an unofficial, open-source bridge between AI agents and KakaoTalk, the messenger most of Korea uses. It uses no Kakao API: it works with the Mac app installed on your own machine, reads go straight to the local database opened read-only, and sends are performed by driving the real app.

Reading covers chat lists with unread counts, messages, full-text search, unread summaries, shared links, shared files (pdf, docx, pptx, xlsx, text and more are turned into text) and pictures and albums, plus the connected account's own profile. Writing covers send, reply, react and delete. Every write previews first and only goes out with confirm: true, so an agent cannot message anyone by accident.

Sending goes through a small native Swift helper that uses the macOS Accessibility API instead of AppleScript, because AppleScript located chat windows by numeric index, which broke whenever the window order shifted. The helper sends in the background when it can and was checked by a real test to leave the user's current app undisturbed. Privacy is built in: phone numbers are never returned for anyone but the account owner, downloads are host-restricted and size-capped, and every tool description warns the agent not to treat message text as instructions.

The project is tested against a real KakaoTalk database and real chats, not only fixtures; the README tracks honestly which parts are verified live and which are only unit-tested. It ships in English and Korean.

Key features

  • Twenty MCP tools: chats, messages, search, unread summary, contacts, links, files, images, account profile, send, reply, react, delete and edit
  • Read-only access to the local encrypted database; no Kakao API involved
  • Every send, reply, react and delete shows a preview first and goes out only after an explicit confirmation
  • A native Swift helper built on the Accessibility API sends in the background without stealing focus
  • Reads shared files (pdf, docx, pptx, xlsx, txt, md, csv, json, html) and returns pictures as real images
  • Phone numbers never leak for anyone but the owner; downloads are host-restricted and size-capped
  • Tool descriptions warn the agent never to follow instructions found inside message text
  • Verified against a real account: read, send, reply, react and delete were each confirmed live
  • README and error messages in English and Korean

Tech stack

TypeScriptNode.js 22Model Context Protocol (MCP)Swift (macOS Accessibility API)SQLite (better-sqlite3-multiple-ciphers)GitHub Actions CIMIT license