Skip to main content
Glama
wiliamdarmawan

StraitsX MCP Server

StraitsX MCP Server πŸš€

GitHub release License: MIT MCP Compatible

Professional MCP (Model Context Protocol) server providing access to StraitsX API documentation with accurate Chinese translations for payment industry terminology.

🎯 Features

  • 🌐 Bilingual Documentation: English and Chinese payment industry documentation

  • πŸ’° Payment Expertise: Accurate financial terminology (付款 vs ζ”―δ»˜)

  • πŸ€– MCP Compatible: Works with Q CLI, Claude Desktop, and other MCP-enabled LLMs

  • πŸ” Real-time Search: Search through 20+ documentation pages

  • 🏒 Industry Focus: PSP, merchant, and compliance-oriented content

  • πŸ‘₯ Customer Profile Support: Complete CP vs CP+ documentation

πŸ“‹ What is Customer Profile?

Customer Profile (CP) vs Customer Profile+ (CP+)

Feature

CP

CP+

KYC Requirements

Basic info, no full verification

Full KYC/KYB verification required

Transaction Limits

None

Yes, imposed per profile

Compliance

Standard

Enhanced regulatory requirements

Currency Support

Multiple

USD only currently

Processing Time

Immediate

~30 minutes review

Use Case

Standard payments

High-value, regulated transactions

πŸš€ Quick Installation

One-line Install

curl -sSL https://raw.githubusercontent.com/wiliamdarmawan/straitsx-mcp-server/main/quick-install.sh | bash

Manual Install

# Download latest release
wget https://github.com/wiliamdarmawan/straitsx-mcp-server/releases/download/v1.0.0/straitsx-mcp-server.tar.gz
tar -xzf straitsx-mcp-server.tar.gz
cd straitsx-mcp-server
./install.sh

πŸ”§ Integration

Q CLI

# Configure Q CLI
mkdir -p ~/.config/q
cp config/.q-mcp-config.json ~/.config/q/mcp-servers.json

# Start Q CLI
q chat

# Test: Ask "What is the difference between CP and CP+?"

Claude Desktop

Add to your Claude Desktop config:

{
  "mcpServers": {
    "straitsx-docs": {
      "command": "python3",
      "args": ["/path/to/straitsx-mcp-server/mcp_server_q_cli.py"],
      "env": {
        "PYTHONPATH": "/path/to/straitsx-mcp-server"
      }
    }
  }
}

Web Interface

# Start web interface
python3 web_interface.py
# Open http://localhost:5000

πŸ› οΈ Available Tools

  1. πŸ” search_straitsx_docs - Search documentation with Chinese/English support

  2. πŸ“„ get_straitsx_doc - Retrieve specific documentation pages

  3. πŸ“‹ list_straitsx_docs - List available documentation by category

  4. πŸ’‘ explain_payment_terms - Explain payment industry terminology

πŸ“š Documentation Categories

  • πŸ’³ Payment (付款) - Money flowing into merchant accounts

  • πŸ’Έ Payout (ζ”―δ»˜) - Money flowing out from merchant accounts

  • πŸ” Authentication - API security and access

  • πŸ”‘ API Keys - Key management

  • ❌ Errors - Troubleshooting guide

  • πŸ‘€ Customer Profiles - CP vs CP+ management

🌐 Supported Languages

  • πŸ‡ΊπŸ‡Έ English - Original StraitsX documentation

  • πŸ‡¨πŸ‡³ Simplified Chinese - Professional payment industry translations

πŸ’Ό Target Users

  • 🏦 Payment Service Providers (PSP)

  • πŸ›οΈ Financial Institutions

  • πŸ›’ Merchants integrating payments

  • βš–οΈ Compliance teams

  • πŸ‡¨πŸ‡³ Chinese-speaking developers

πŸ§ͺ Quick Test

# Search for customer profile information
python3 straitsx_q_tool.py search "customer profile"

# Get customer profile FAQ
python3 straitsx_q_tool.py get "customer-profile-faqs"

# List payment documentation
python3 straitsx_q_tool.py list "payment"

# Explain payment terminology
python3 straitsx_q_tool.py explain "first party payment"

πŸ“– Example Queries

Try these with your LLM:

  • "What is the difference between CP and CP+?"

  • "How do I create a customer profile?"

  • "What fields are required for business CP+?"

  • "How long does CP+ review take?"

  • "Show me PayNow integration guide"

  • "Explain the difference between 付款 and ζ”―δ»˜"

🐳 Docker Deployment

# Build Docker image
docker build -t straitsx-mcp-server .

# Run container
docker run -p 5000:5000 straitsx-mcp-server

πŸ“ Project Structure

straitsx-mcp-server/
β”œβ”€β”€ mcp_server_q_cli.py      # Main MCP server
β”œβ”€β”€ straitsx_q_tool.py       # Standalone CLI tool
β”œβ”€β”€ web_interface.py         # Web interface
β”œβ”€β”€ install.sh               # Installation script
β”œβ”€β”€ quick-install.sh         # One-line installer
β”œβ”€β”€ config/                  # Configuration files
β”œβ”€β”€ docs/                    # Documentation
β”‚   └── payment_domain_chinese_docs/  # Chinese translations
β”œβ”€β”€ DEPLOYMENT_GUIDE.md      # Comprehensive deployment guide
└── README.md               # This file

🀝 Contributing

  1. Fork the repository

  2. Create a feature branch

  3. Make your changes

  4. Submit a pull request

πŸ“„ License

MIT License - see LICENSE file for details.

πŸ†˜ Support

🌟 Star History

If this project helps you, please consider giving it a ⭐!


Built for the global payment industry πŸŒπŸ’³

Empowering LLMs with professional payment documentation in multiple languages

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wiliamdarmawan/straitsx-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server