Logo Kakao Bot MCP Server

Kakao Bot MCP Server

Cộng đồng
inspirit941

MCP Server Implementation on Kakao Developers API to connect an AI Agent

Nhà phát hànhinspirit941
Kho mãkakao-bot-mcp-server
Ngôn ngữPython
Bản fork
6
Sao
17
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Kakao Bot MCP Server cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    17 sao và 6 bản fork từ kho mã được liên kết.

Kakao Bot MCP Server

Model Context Protocol (MCP) server implementation that integrates the Kakao Developers API to connect an AI Agent to the Kakao Official Account.

MCP Server 구현체로, 카카오 Developers API를 AI Agent에 통합하는 예시입니다.

[!NOTE] This repository is NOT officially provided or maintained by Kakao. It may not include complete functionality or comprehensive support. 카카오의 경우 대부분의 API가 사업자등록이 포함된 비즈니스 애플리케이션 단위로 권한을 관리하고 있으므로, 개인이 사용하기엔 제한적입니다.

참고문서: https://developers.kakao.com/docs/latest/ko/kakaotalk-message/rest-api


예시

claude desktop으로 MCP tool 실행

'나에게 메시지 전달' 결과

Tools

All tools require the __email_address__ input to identify the user's credentials.

  1. send_text_template_to_me

    • Description: Sends a Kakao Talk text message to me.
    • Inputs:
      • __email_address__ (string, required): The email address associated with the Kakao account.
      • text (string, required, max 200 characters): The text content of the message.
      • link (object, required): An object defining the link associated with the text.
        • web_url (string, optional, uri format)
        • mobile_web_url (string, optional, uri format)
      • button_title (string, optional): The title of the button.
  2. send_feed_template_to_me

    • Description: Sends a Kakao Talk feed message to me.
    • Inputs:
      • __email_address__ (string, required)
      • content (object, required): The main content block of the feed message.
        • title (string, required)
        • description (string, required)
        • image_url (string, required, uri format)
        • image_width (integer, optional)
        • image_height (integer, optional)
        • link (object, required) - defines the link for the content
          • web_url (string, optional, uri format)
          • mobile_web_url (string, optional, uri format)
          • android_execution_params (string, optional)
          • ios_execution_params (string, optional)
      • item_content (object, optional): Additional item content for the feed. (See API documentation for nested structure)
      • social (object, optional): Social information like likes, comments, etc. (See API documentation for nested structure)
      • buttons (array of objects, optional): Buttons to include with the message. (Each object requires title and link)
  3. send_list_template_to_me

    • Description: Sends a Kakao Talk list message to me.
    • Inputs:
      • __email_address__ (string, required)
      • header_title (string, required): The title displayed at the top of the list.
      • contents (array of objects, required): A list of content items. Each item requires:
        • title (string, required)
        • description (string, required)
        • image_url (string, required, uri format)
        • image_width (integer, optional)
        • image_height (integer, optional)
        • link (object, required) - defines the link for the list item
          • web_url (string, optional, uri format)
          • mobile_web_url (string, optional, uri format)
          • android_execution_params (string, optional)
          • ios_execution_params (string, optional)
      • header_link (object, optional): A link for the header area. (See API documentation for nested structure)
      • buttons (array of objects, optional): Buttons to include with the message. (Each object requires title and link)
  4. send_location_template_to_me

    • Description: Sends a Kakao Talk location message to me.
    • Inputs:
      • __email_address__ (string, required)
      • content (object, required): The main content block for the location message.
        • title (string, required)
        • description (string, required)
        • image_url (string, required, uri format)
        • image_width (integer, optional)
        • image_height (integer, optional)
        • link (object, required) - defines the link for the content
          • web_url (string, optional, uri format)
          • mobile_web_url (string, optional, uri format)
          • android_execution_params (string, optional)
          • ios_execution_params (string, optional)
      • address (string, required): The address of the location.
      • buttons (array of objects, optional): Buttons to include with the message. (Each object requires title and link)
      • address_title (string, optional): A title for the address.
  5. send_calendar_template_to_me

    • Description: Sends a Kakao Talk calendar message to me.
    • Inputs:
      • __email_address__ (string, required)
      • content (object, required): The main content block for the calendar message.
        • title (string, required)
        • description (string, required)
        • link (object, required) - defines the link for the content
          • web_url (string, optional, uri format)
          • mobile_web_url (string, optional, uri format)
          • android_execution_params (string, optional)
          • ios_execution_params (string, optional)
        • image_url (string, optional, uri format)
      • id_type (string, required, enum: "event"): The type of calendar item.
      • id (string, required): The ID of the calendar item.
      • buttons (array of objects, optional): Buttons to include with the message. (Each object requires title and link)
  6. send_commerce_template_to_me

    • Description: Sends a Kakao Talk commerce message to me.
    • Inputs:
      • __email_address__ (string, required)
      • content (object, required): The main content block for the commerce message.
        • title (string, required)
        • image_url (string, required, uri format)
        • image_width (integer, optional)
        • image_height (integer, optional)
        • link (object, required) - defines the link for the content
          • web_url (string, optional, uri format)
          • mobile_web_url (string, optional, uri format)
          • android_execution_params (string, optional)
          • ios_execution_params (string, optional)
      • commerce (object, required): Commerce-specific information.
        • regular_price (integer, required)
        • discount_price (integer, optional)
        • discount_rate (integer, optional, 0-100)
      • buttons (array of objects, optional): Buttons to include with the message. (Each object requires title and link)
  1. get_calendar_list

    • Description: Retrieves the list of user calendars.
    • Inputs:
      • __email_address__ (string, required): The email address associated with the Kakao account.
  2. create_sub_calendar

    • Description: Creates a new sub-calendar for the user.
    • Inputs:
      • __email_address__ (string, required): The email address associated with the Kakao account.
      • name (string, required): The name of the sub calendar.
      • color (string, optional): The default color for events in the calendar.
      • reminder (integer, optional): The default reminder time for non-all-day events in minutes.
      • reminder_all_day (integer, optional): The default reminder time for all-day events in minutes.
  3. update_sub_calendar

    • Description: Updates an existing sub-calendar.
    • Inputs:
      • __email_address__ (string, required): The email address associated with the Kakao account.
      • calendar_id (string, required): The ID of the sub calendar to update.
      • name (string, optional): The new name for the sub calendar.
      • color (string, optional): The new default color for events in the calendar.
      • reminder (integer, optional): The new default reminder time for non-all-day events in minutes.
      • reminder_all_day (integer, optional): The new default reminder time for all-day events in minutes.
  4. delete_sub_calendar

    • Description: Deletes a user's sub-calendar.
    • Inputs:
      • __email_address__ (string, required): The email address associated with the Kakao account.
      • calendar_id (string, required): The ID of the sub calendar to delete.

installation

requirements: Python 3.13+

카카오 계정 필요

Step 1. developers.kakao.com 에서 카카오 애플리케이션 생성

카카오 신규 애플리케이션 생성 방법은 quick start문서를 참고합니다.

사이트 등록

"내 애플리케이션 > 앱 설정 > 플랫폼" 의 Web에서 사이트 도메인으로 http://localhost:8000 등록

비즈 앱 등록

비즈 앱 등록. 사업자번호가 없어도 "개인 개발자 비즈 앱" 등록이 가능하다.

카카오 로그인 활성화

카카오 로그인을 활성화한다.

동의항목 설정

Step 2. 로컬환경 설정

로컬에 uv가 설치되어 있어야 한다.

sh
git clone git@github.com:inspirit941/kakao-bot-mcp-server.git
cd kakao-bot-mcp-server
pip install uv
uv sync

# inspector 실행
npx @modelcontextprotocol/inspector uv --directory .  run mcp-kakao

# MCP server 실행
uv run mcp-kakao

정상적으로 동작하려면 두 개의 파일이 필요하다. .accounts.json, .kauth.json 프로젝트 root 경로에 아래 파일을 생성한다.

.accounts.json

json

{
    "accounts": [
        {
            "email": "your-email@kakao.com",
            "account_type": "personal",
            "extra_info": "Additional info that you want to tell Claude: E.g. 'Contains Family Calendar'"
        }
    ]
}
  • email: 카카오 계정 이메일주소.
  • account_type: personal 고정.
  • extra_info: MCP server에 전달할 추가정보.

.kauth.json

json
{
  "web": {
    "client_id": "rest-api-key",
    "auth_uri": "https://kauth.kakao.com/oauth/authorize",
    "token_uri": "https://kauth.kakao.com/oauth/token",
    "client_secret": "your_client_secret",
    "redirect_uris": ["http://localhost:8000/code"],
    "revoke_uri": "https://kapi.kakao.com/v2/user/revoke/scopes",
    "token_info_uri": "https://kauth.kakao.com/oauth/tokeninfo"
  }
}
  • client_id: 카카오 애플리케이션에서 제공하는 REST_API key
  • client_secret: 카카오 애플리케이션에서 발급받을 수 있는 client_secret. 임의의 문자열을 넣어도 동작함
  • 나머지 필드는 고정.

claude desktop 설정

json
{
  "mcpServers": {
    "mcp-kakao": {
      "command": "uv",
      "args": [
        "--directory",
        "your-project-path/kakao-bot-mcp-server",
        "run",
        "mcp-kakao"
      ]
    }
  }
}

동작 방식

LLM이 MCP Tool을 실행하면

  • 프로젝트 root 경로에 .oauth2.<카카오메일주소>.json 파일이 있는지 확인한다.
    • 파일이 없을 경우, 웹 브라우저에 카카오 OAuth2 서버에 로그인 화면을 띄운다. (https://accounts.kakao.com/login?continue=...)
    • 파일이 있을 경우, 토큰이 만료되지 않았는지 확인한다. 만료되었다면, refresh token으로 재발급받는다. refresh token도 만료되었을 경우, tool에서 로그인할 수 있는 url 주소를 리턴한다.
  • 로그인에 성공하면, 프로젝트 root 경로에 .oauth2.<카카오메일주소>.json 이름으로 access_token 정보를 저장한다.

MCP tool은 json 파일의 access token을 사용하는 구조.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "inspirit941-kakao-bot-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Dùng MCP Kakao Bot MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Kakao Bot MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm Kakao Bot MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Kakao Bot MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "inspirit941-kakao-bot-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-kakao"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Kakao Bot MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Kakao Bot MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng Kakao Bot MCP Server giúp tôi làm việc này không?
Kakao Bot MCP Server
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng Kakao Bot MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Kakao Bot MCP Server dùng để làm gì?

Kakao Bot MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Kakao Bot MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Kakao Bot MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Kakao Bot MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Kakao Bot MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Kakao Bot MCP Server với TypingMind?

Kakao Bot MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Kakao Bot MCP Server cung cấp những công cụ nào trong TypingMind?

Kakao Bot MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Kakao Bot MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Kakao Bot MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇