KakaoTalk Message

io.github.groove79由 GitHub 账号 groove79 发布v0.2.0更新于 Oct 29, 2026

KakaoTalk message MCP: send to self/friends, friends list, OAuth auto-refresh. 카카오톡 메시지 MCP.

已验证STDIO仅桌面效率与工作流沟通与协作

概览

AI 生成的概览

通过 Kakao Developers 消息 API,向自己的 KakaoTalk 聊天室或已关联应用的好友发送消息,并可列出这些好友。

可以做什么
  • 查看已连接的 Kakao 账号及其已授权的同意项
  • 向自己的 KakaoTalk「与我聊天」房间发送文本或信息卡片消息
  • 列出同样连接了该应用的好友及其 uuid
  • 向最多 5 位好友发送消息,并逐个报告成功或失败
适用场景
适合让助手通过 KakaoTalk 把报告、告警或审批链接推送到你的手机而无需安装应用,或向少量已连接同一 Kakao 应用的好友发送消息。
运行要求
通过 npx 在本地运行(需要 Node.js)。需要一个启用 Kakao 登录的 Kakao Developers 应用、已注册的 Web 平台域名和重定向 URI,以及 KAKAO_REST_API_KEY 密钥。一次性浏览器登录会保存可自动刷新的令牌文件,也可改用 KAKAO_REFRESH_TOKEN。若启用了客户端密钥则需 KAKAO_CLIENT_SECRET;好友功能需要 friends 同意项和好友列表权限。可选 OKAGENT_API_KEY 用于手机审批。
安装前请注意
需要 Kakao 应用密钥(KAKAO_REST_API_KEY,可能还有 KAKAO_CLIENT_SECRET 和 KAKAO_REFRESH_TOKEN),并在本地磁盘保存 OAuth 令牌。两个工具会发送消息,直接触达真实用户;KMCP_WRITE_MODE=direct 会关闭确认步骤。好友消息要求对方也连接了该应用,并受每日发送上限限制。消息文本和链接会发送给 Kakao。

安装

在 SourceWeft 中

  1. 打开 控制台中的 KakaoTalk Message,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@appmonster/mcp-kakao

MCP server for KakaoTalk messages via the Kakao Developers message API: an agent can send a message to the connected account's own chat (나와의 채팅) or to friends who also linked the app, and list those friends. Writes can be gated by human approval (OK Agent).

카카오톡 메시지 MCP 서버 — 나에게 보내기 / 친구에게 보내기 / 친구 목록. 앱 설치 없이 사장님 폰에 알림을 넣는 가장 짧은 길.

알림톡(비즈메시지)은 카카오 공식 딜러사 계약이 필요한 별도 채널입니다. 이 패키지는 개인/소규모 사업자가 바로 쓸 수 있는 Kakao Developers 메시지 API만 다룹니다. 알림톡은 로드맵.

Tools

ToolAccessWhat it does
kakao_meread연결된 계정·동의 항목 확인 (연결 점검용)
kakao_send_to_mewrite나와의 채팅방으로 텍스트/피드 카드 전송 (링크·버튼 포함)
kakao_list_friendsread앱을 연결한 친구 목록 (uuid)
kakao_send_to_friendswrite친구 uuid 최대 5명에게 전송, 건별 성공/실패

Setup (5분, 1회)

  1. https://developers.kakao.com → 내 애플리케이션 → 앱 추가. 앱 키 > REST API 키 복사.
  2. 플랫폼 > Web: 메시지 링크로 쓸 도메인 등록 (예: https://okagent.kr).
  3. 카카오 로그인 > 활성화 ON, Redirect URI에 http://localhost:8788/callback 추가.
  4. 카카오 로그인 > 동의항목: 카카오톡 메시지 전송 (talk_message) 을 "선택 동의"로 설정. 친구 기능까지 쓰려면 카카오톡 소셜 > 친구 목록 권한 신청 + friends 동의항목.
  5. 브라우저 로그인 1회:
bash
KAKAO_REST_API_KEY=… npx @appmonster/mcp-kakao auth

토큰은 ~/.config/kmcp/kakao/<app>.json에 저장되고 자동 갱신됩니다 (refresh ≈ 2개월).

  1. MCP client config:
json
{  "mcpServers": {    "kakao": {      "command": "npx",      "args": ["-y", "@appmonster/mcp-kakao"],      "env": { "KAKAO_REST_API_KEY": "…" }    }  }}

컨테이너 등 파일 저장이 어려우면 KAKAO_REFRESH_TOKEN을 env로 넘기면 됩니다. 앱에서 Client Secret을 켰다면 KAKAO_CLIENT_SECRET도.

Human approval for sends (optional)

json
"OKAGENT_API_KEY": "ok_…"

Without it, write tools still never run blind: the first call returns a preview and a confirm_token, and the agent re-calls only after you agree in the chat. With an OK Agent key (free, 200/month) the request goes to your phone instead — approve on KakaoTalk, with a log. KMCP_WRITE_MODE=direct turns the check off for scripts you fully trust.

Message spec

text (≤200자) 만 주면 텍스트 메시지, title 또는 imageUrl을 주면 피드 카드. url은 앱의 Web 플랫폼에 등록된 도메인이어야 버튼이 열립니다. 버튼은 최대 2개.

Limits

  • 나에게 보내기는 검수 없이 바로 동작. 친구에게 보내기는 상대도 앱을 연결했어야 하며 일일 발송 한도가 있습니다 (에러 -532).
  • 에러 코드 힌트: -3 기능 미활성, -401 토큰 만료(auth 재실행), -402 동의항목 부족.

Development

bash
pnpm --filter @appmonster/mcp-kakao test

来源:packages/kakao/README.md,提交 53af4ba

工具

4

kakao_me

Show which Kakao account is connected (id, nickname) and the granted scopes — a quick connectivity check. 연결된 카카오 계정과 동의 항목을 확인합니다. Use first when a send fails with a scope/token error. Needs nothing.

无需输入参数。

kakao_send_to_me

Send a KakaoTalk message to the connected account itself (나에게 보내기) — arrives in the '나와의 채팅' room. Text or a feed card with a link. 연결된 카카오 계정의 나와의 채팅방으로 메시지를 보냅니다. Use to notify the owner (reports, alerts, approval links) without any app install. Needs text; optional title/url.

输入参数urltext必填titlebuttonsimageUrlbuttonTitleconfirm_token

kakao_list_friends

List KakaoTalk friends who also connected this app (uuid, nickname, profile thumbnail). Only those can receive kakao_send_to_friends. 앱에 연결된 카카오톡 친구 목록을 조회합니다. Use to find receiver uuids. Needs the app's 카카오톡 소셜 > 친구 목록 permission and the `friends` scope.

输入参数limitorderoffset

kakao_send_to_friends

Send a KakaoTalk message to up to 5 friends by uuid (친구에게 보내기). Recipients must have the app connected too; partial failures are reported per uuid. 친구 uuid로 메시지를 보냅니다. Use after kakao_list_friends. Needs receiverUuids (≤5) and text. Daily per-sender limits apply.

输入参数urltext必填titlebuttonsimageUrlbuttonTitleconfirm_tokenreceiverUuids必填

版本历史

2
  1. v0.2.0最新Oct 23, 2026
  2. v0.1.0Oct 21, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分