Back to Home
paylinkmcp icon

python_sdk

Verified Safe

by paylinkmcp

Overview

A Python SDK for integrating AI-powered payment functionalities by interacting with a PayLink Model Context Protocol (MCP) server, enabling tool calling and monetization for various payment providers like M-Pesa.

Installation

Run Command
No command provided

Environment Variables

  • PAYLINK_API_KEY
  • PAYLINK_PROJECT
  • PAYLINK_TRACING
  • PAYMENT_PROVIDER
  • WALLET_CONNECTION_STRING
  • MPESA_BUSINESS_SHORTCODE
  • MPESA_CONSUMER_SECRET
  • MPESA_CONSUMER_KEY
  • MPESA_CALLBACK_URL
  • MPESA_PASSKEY
  • MPESA_BASE_URL
  • MCP_WALLET_CONNECTION_STRING
  • PAYMENT_WALLET_BASE_URL
  • PAYMENT_TRANSFER_ENDPOINT
  • EVALUATOR_BASE_URL
  • PAYMENT_CURRENCY

Security Notes

The SDK itself does not contain obvious direct code execution vulnerabilities (e.g., 'eval'). However, it relies heavily on external HTTP services (PayLink MCP server, wallet.paylinkai.app, evaluator.paylinkai.app). The security of the overall system depends critically on the trustworthiness and security of these external services, as well as the secure handling and transmission of sensitive credentials like 'WALLET_CONNECTION_STRING' (e.g., via HTTPS). If the 'PAYMENT_PROVIDER_HEADER' environment variable is maliciously crafted with invalid JSON, it could cause runtime errors, though it's not likely to lead to arbitrary code execution as the parsed data is used for string comparisons. Default external service URLs are hardcoded but can be overridden.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-29

Tags

PaymentAISDKMonetizationPython