Go-based MCP server for generating PromptPay QR code payloads

Go-based MCP server for generating PromptPay QR code payloads

go-promptpay-mcp•bynaruebaet

An MCP server written in Go that generates PromptPay QR code payloads for phone numbers or Thai national ID numbers, with an optional payment amount.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Generates PromptPay QR code payloads following the EMVCo standard.
  • •Supports phone numbers and Thai national ID numbers as the account source.
  • •Allows an optional payment amount in THB with decimal support.
  • •Provides a generate_promptpay_code tool that takes an account type, account number and optional amount.

BEST FOR

  • •Creating PromptPay payment QR payloads for a specified phone number and amount.
  • •Generating PromptPay payloads tied to a Thai national ID number.

ABOUT GO-PROMPTPAY-MCP

Go-based MCP server for generating PromptPay QR code payloads is cataloged as an MCP server attributed to naruebaet. An MCP server written in Go that generates PromptPay QR code payloads for phone numbers or Thai national ID numbers, with an optional payment amount. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Go-based MCP server for generating PromptPay QR code payloads are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What tool does the server expose?

It exposes a single tool named generate_promptpay_code, which generates a PromptPay QR code payload.

Which account types are supported?

The accountType parameter accepts either "phone" or "id".

上游原版 README

在 GitHub 查看同一版本原文

README.md · d30c604b6ea8 · 采集于 2026-11-13 12:17:02 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Go PromptPay MCP

A Model Context Protocol (MCP) server implementation for generating PromptPay QR codes payload in Go.

License: MIT Go Reference

Features

  • 🔄 Generate PromptPay QR codes with EMVCo standard
  • 📱 Support for phone numbers (with proper formatting)
  • 🆔 Support for Thai national ID numbers
  • 💰 Optional amount specification with decimal support
  • 🚀 MCP compliant server implementation
  • ✅ Input validation and error handling

Prerequisites

  • Go 1.16 or higher
  • Basic understanding of MCP (Model Context Protocol)

Installation

go install github.com/naruebaet/go-promptpay-mcp

Use in vscode workspace

  • Setup in your workspace
    mkdir .vscode
    touch mcp.json
    
  • Insert this value to mcp.json and start server from here.
    {
        "servers": {
            "go-promptpay-mcp": {
                "type": "stdio",
                "command": "go-promptpay-mcp",
                "args": []
            }
        }
    }
    

Usage

The server implements one tool:

generate_promptpay_code

Generates a PromptPay QR code payload.

Parameters:

  • accountType (required): Type of account ("phone" or "id")
  • accountNumber (required): Phone number or Thai ID
  • amount (optional): Payment amount in THB

Example request:

{
    "tool": "generate_promptpay_code",
    "arguments": {
        "accountType": "phone",
        "accountNumber": "0812345678",
        "amount": 100.50
    }
}

Example success response:

{
    "success": true,
    "data": {
        "payload": "00020101021229370016A000000677010111011300668123456785802TH53037645406100.506304A14F"
    }
}

Example error response:

{
    "success": false,
    "error": {
        "message": "Invalid account number format"
    }
}

Development

  1. Clone the repository
  2. Install dependencies: go mod download
  3. Run the server: go run main.go

Dependencies

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -am 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Create a new Pull Request

License

MIT License

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Go-based MCP server for generating PromptPay QR code payloads from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/go-promptpay-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics