agentleFS
roedyrustamroedyrustam/doku-gemini-mcp/skills/doku-mcp-server/SKILL.md

doku-mcp-server

Skill2 starsChanged 10 days agoMITView on GitHub

Expert guide for DOKU Model Context Protocol (MCP) Server integration. Enables AI Agentic Commerce with tools for payment links, Virtual Accounts, QRIS, E-Wallet, status checks, refunds, and client configuration (Claude Desktop, Cursor, AGY) / Panduan ahli DOKU MCP Server untuk AI Agentic Commerce.

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    MANDATORY: When testing in Sandbox mode and needing to access the Payment Simulator, the AI Agent MUST use this exact URL: …

    line 80

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

DOKU MCP Server / Server Model Context Protocol DOKU

English | Bahasa Indonesia


<a name="english"></a>

English

Description

Expert guide for building and configuring Model Context Protocol (MCP) servers wrapping DOKU Payment Gateway APIs based on DOKU Developers Portal. Enables AI Agents (Claude Desktop, Antigravity, Cursor, n8n) to execute autonomous payment workflows (generating payment checkout links, issuing bank Virtual Accounts, generating QRIS codes, initiating E-Wallet charges, issuing online refunds, querying order payment status).

Trigger Conditions

Activate this skill when the user is:

  • Configuring DOKU MCP server for Claude Desktop, Antigravity (AGY), Cursor, or LLM agents.
  • Implementing AI Agentic Commerce or autonomous checkout workflows.
  • Building custom TypeScript/Python MCP server tools for DOKU APIs.

Available MCP Tools & Schema

MCP Tool NameDescriptionRequired Parameters
create_checkout_paymentGenerates DOKU Checkout Payment Linkamount, invoice_number, customer_name, customer_email
cancel_checkout_orderCancels unpaid DOKU Checkout orderinvoice_number, original_request_id, note
create_virtual_accountGenerates bank Virtual Account numberbank_code, amount, invoice_number, customer_name
create_qris_paymentGenerates dynamic QRIS codeamount, invoice_number, store_name
create_ewallet_paymentInitiates E-Wallet paymentchannel, amount, invoice_number, phone_number
check_transaction_statusQueries payment status of orderinvoice_number
process_refundInitiates an online refund for an orderinvoice_number, amount, reason
get_snap_b2b_tokenGenerates SNAP B2B Access Token via RSA-SHA256private_key_pem (optional)
create_snap_qris_paymentGenerates dynamic QRIS code via SNAP BI standardpartner_reference_no, amount_value, access_token

Client Configuration (mcp_config.json)

{
  "mcpServers": {
    "doku": {
      "command": "node",
      "args": ["/path/to/doku-mcp-server/dist/index.js"],
      "env": {
        "DOKU_CLIENT_ID": "YOUR_CLIENT_ID",
        "DOKU_SECRET_KEY": "YOUR_SECRET_KEY",
        "DOKU_IS_PRODUCTION": "false"
      }
    }
  }
}

<a name="bahasa-indonesia"></a>

Bahasa Indonesia

Deskripsi

Panduan ahli untuk membuat dan mengonfigurasi server Model Context Protocol (MCP) yang membungkus DOKU Payment Gateway API berdasarkan DOKU Developers Portal. Memungkinkan Agen AI (Claude Desktop, Antigravity, Cursor, n8n) menjalankan alur pembayaran otonom (membuat link checkout, menerbitkan nomor Virtual Account, membuat kode QRIS, menanyakan status pembayaran, dan memproses refund).

Kondisi Pemicu

Aktifkan skill ini ketika pengguna sedang:

  • Mengatur server DOKU MCP untuk Claude Desktop, Antigravity, Cursor, atau agen LLM.
  • Mengimplementasikan alur checkout otonom (AI Agentic Commerce) dengan DOKU.

🚨 SNAP Integration Mandate (CRITICAL)

MANDATORY: The AI Agent MUST automatically apply the SNAP API v1.0 standard (Standard Nasional Open API Pembayaran) for all DOKU integrations, instead of the legacy Jokul API v2, unless the user explicitly requests otherwise. All generated signatures, headers, and endpoints MUST follow the SNAP BI standard.

🧪 DOKU Sandbox Simulator

MANDATORY: When testing in Sandbox mode and needing to access the Payment Simulator, the AI Agent MUST use this exact URL: https://sandbox.doku.com/gtw-config-v2/simulator.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.