Skip to main content
Glama
theYahia

vnpay-mcp

by theYahia

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VNPAY_TMN_CODEYesTerminal code from VNPay
VNPAY_PRODUCTIONNoSet to 'true' for production
VNPAY_HASH_SECRETYesHash secret for HMAC-SHA512 signing

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_payment_urlC

Generate a VNPay payment URL.

query_transactionC

Query transaction status.

refundC

Refund a VNPay transaction.

get_bank_listA

Get list of supported banks.

create_tokenB

Create a card token for recurring payments.

pay_with_tokenC

Pay using a stored card token.

query_tokenB

Query card token information.

verify_ipnA

Verify a VNPay IPN callback signature.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 8 tools

Disambiguation5/5

Each tool targets a distinct operation: payment URL creation, token creation, bank list retrieval, token payment, token query, transaction query, refund, and IPN verification. No overlapping purposes; an agent can clearly differentiate them.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using lowercase with underscores (e.g., create_payment_url, get_bank_list, verify_ipn). The only exception is 'refund', which is a single-word verb but still aligns with the verb-first convention.

Tool Count5/5

With 8 tools, the server is well-scoped for a VNPay integration. It covers essential payment operations without being overly large or too minimal, making it manageable for agents.

Completeness4/5

The tool set covers the core payment lifecycle: creating payments, recurring payments via tokens, querying transactions, refunds, and IPN verification. Minor gaps like token update/delete or transaction cancellation are absent but likely not needed for the domain.

Maintenance

ActivityInactive
ResponsivenessSyncing