mcpField
P
Popbill (세금계산서·알림톡)

Popbill (세금계산서·알림톡)

Local
appmonster.co.krFinance0Updated 5d ago

About Popbill (세금계산서·알림톡)

An MCP server for Popbill, the Korean electronic-document platform, aimed at agents handling e-tax invoices, Hometax collection, or KakaoTalk business notifications. It combines lookup, issuance, cancellation, and messaging tools, with an optional approval hook for writes.

Key features

  1. 01Search and read e-tax invoices
  2. 02Issue and cancel invoices
  3. 03Collect Hometax invoices asynchronously
  4. 04Send KakaoTalk Alimtalk messages
  5. 05Inspect templates and delivery results
  6. 06Support approval for write operations

Use cases

  1. 01Find sales or purchase invoices
  2. 02Issue and report an invoice to the NTS
  3. 03Collect Hometax invoices for bookkeeping
  4. 04Send Alimtalk using an approved template

MCP support

The MCP server exposes Popbill account, e-tax invoice, Hometax collection, and Alimtalk tools to clients. Write operations can be gated by a human-approval hook.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"groove79-mcp-popbill": {
"command": "npx",
"args": [
"-y",
"@appmonster/mcp-popbill"
],
"env": {
"POPBILL_LINK_ID": "<POPBILL_LINK_ID>",
"POPBILL_SECRET_KEY": "<POPBILL_SECRET_KEY>",
"POPBILL_CORP_NUM": "<POPBILL_CORP_NUM>",
"POPBILL_USER_ID": "<POPBILL_USER_ID>",
"POPBILL_TEST": "<POPBILL_TEST>",
"OKAGENT_API_KEY": "<OKAGENT_API_KEY>",
"KMCP_WRITE_MODE": "<KMCP_WRITE_MODE>"
}
}
}
}
Run commandnpx -y @appmonster/mcp-popbill
Environment variables to set
POPBILL_LINK_IDPopbill API link id (developers.popbill.com)
POPBILL_SECRET_KEYSecretPopbill API secret key
POPBILL_CORP_NUMMember business number (10 digits)
POPBILL_USER_IDPopbill member user id
POPBILL_TESTtrue = test server (default true)
OKAGENT_API_KEYSecretOK Agent key (free at okagent.kr) — writes then wait for your OK on KakaoTalk. Unset: writes ask for confirmation in the chat first.
KMCP_WRITE_MODEapproval | confirm | direct (default: approval if OKAGENT_API_KEY is set, else confirm)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@appmonster/mcp-popbill0.2.0

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

@appmonster/mcp-popbill

MCP server for Popbill (팝빌) — the Korean e-document platform that fronts Hometax. One server gives an agent:

  • 전자세금계산서: search, read, issue (saved + issued + reported to the NTS in one call), cancel
  • 홈택스 수집: pull sales/purchase invoices issued anywhere (not only via Popbill) for bookkeeping and VAT prep
  • 카카오 알림톡: official KakaoTalk business notifications with approved templates (SMS fallback)

All writes cost Popbill points and/or reach the 국세청 or real phones, so every write tool runs through the human approval hook (OK Agent) when configured.

Tools

ToolAccessWhat it does
popbill_check_accountread회원 여부·포인트 잔액
popbill_search_taxinvoicesread매출/매입 세금계산서 검색 (기간·상태·텍스트)
popbill_get_taxinvoiceread세금계산서 상세 + 보기 URL
popbill_issue_taxinvoicewrite정발행 즉시발행 — 품목에서 공급가액·세액·합계 자동 계산
popbill_cancel_taxinvoicewrite발행취소 (국세청 전송 전)
popbill_hometax_requestread홈택스 수집 작업 요청 → jobId (팝빌 홈택스수집 정액제 별도 신청 필요 — 테스트 연동키에도 기본 미포함)
popbill_hometax_resultsread수집 상태/결과 (collecting · done · failed)
popbill_list_alimtalk_templatesread승인 템플릿 목록 (변수 확인용)
popbill_send_alimtalkwrite알림톡 발송 (≤1,000명, SMS 대체 발송)
popbill_get_alimtalk_resultread발송 결과 (수신자별)

Setup

  1. https://developers.popbill.com → API 연동 신청 → LinkID / SecretKey (test 연동은 즉시, 운영은 심사).
  2. https://www.popbill.com 에서 사업자로 가입. 세금계산서 발행은 공동인증서 등록, 홈택스 수집은 홈택스 인증서 또는 부서사용자 등록, 알림톡은 카카오 채널 + 템플릿 승인 + 발신번호 등록이 각각 필요합니다 (팝빌 사이트에서 1회).
  3. MCP client config:
{
  "mcpServers": {
    "popbill": {
      "command": "npx",
      "args": ["-y", "@appmonster/mcp-popbill"],
      "env": {
        "POPBILL_LINK_ID": "…",
        "POPBILL_SECRET_KEY": "…",
        "POPBILL_CORP_NUM": "1234567890",
        "POPBILL_USER_ID": "myid",
        "POPBILL_TEST": "true"
      }
    }
  }
}

POPBILL_TEST=true(default) uses Popbill's test server — invoices never reach the NTS, 알림톡 never reaches phones, and every tool description is tagged [TEST SERVER]. Switch to false only with the approval hook on:

"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.

Popbill restricts API calls by IP by default (POPBILL_IP_RESTRICT, default on — register your IP in 팝빌 > 연동관리, or set false for roaming machines).

Issuing an invoice — what the agent sends

{
  "mgtKey": "INV-20261021-001",
  "writeDate": "20261021",
  "invoicer": { "corpNum": "123-45-67890", "corpName": "앱몬스터", "ceoName": "윤유성", "email": "[email protected]" },
  "invoicee": { "corpNum": "987-65-43210", "corpName": "거래처", "ceoName": "김대표", "email": "[email protected]" },
  "items": [{ "name": "앱 개발", "supplyCost": 3000000 }]
}

→ 공급가액 3,000,000 / 세액 300,000 / 합계 3,300,000, issued, emailed, NTS confirmation number returned. Pair with kr_check_business (public-data server) to verify the buyer's number first.

Notes

  • This package wraps the official popbill Node SDK (promise-ified); tests inject fakes, no network.
  • 알림톡 content must match the approved template byte-for-byte after variable substitution — read it with popbill_list_alimtalk_templates first.
  • Hometax collection is async: request → poll results. A job for 6 months of purchases typically finishes in under a minute.

Development

pnpm --filter @appmonster/mcp-popbill test

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.