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.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

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

Upstream README

View this exact version on GitHub

README.md · d30c604b6ea8 · Fetched 2026-11-13 12:17:02 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

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.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

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