### MCP Client Integration Configuration Source: https://mcp.mayar.id/index Configuration to connect an MCP client application (e.g., Claude Desktop, Cursor) to the Mayar MCP Server. This involves specifying the server URL, command to run, and necessary environment variables like the API key. ```json { "mcpServers": { "mayar": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp.mayar.id/sse", "--header", "Authorization:${API_KEY}" ], "env": { "API_KEY": "your-api-key" } } } } ``` -------------------------------- ### Mayar MCP Server API Documentation Source: https://mcp.mayar.id/index Comprehensive API documentation for the Mayar MCP Server, covering various functionalities for account management, invoice management, customer management, transaction management, membership management, and unpaid transactions. ```APIDOC Account Management: get_balance Retrieve your current Mayar account balance. Useful for monitoring cash flow and available balance. Invoice Management: create_invoice Create a new invoice for a customer. Supports multiple payment methods and invoice detail customization. Customer Management: send_portal_link Send a customer portal link for dashboard access and transaction history. get_customer_detail Retrieve detailed customer information by name and email, including contact data and membership status. Transaction Management: get_latest_transactions Get the latest paid transactions. Ideal for real-time activity monitoring. get_latest_transactions_by_customer Get the latest transactions for a specific customer and product. Useful for customer service and support. get_transactions_by_time_period Filter transactions by time period (day, week, month, year). Suitable for periodic reporting. get_transactions_by_time_range Filter transactions within a specific date range. More flexible for custom analysis. get_transactions_by_customer_and_time_range Combine customer and date range filters for in-depth per-customer analysis. get_transactions_by_customer_and_time_period Filter customer transactions within a certain period. Ideal for customer retention analysis. get_transactions_by_specific_product Analyze transactions per product for tracking performance and item popularity. Membership Management: get_membership_customer_by_specific_product Get a list of members by specific membership product. Useful for targeted marketing. get_membership_customer_by_specific_product_and_tier Filter members by product and membership tier. Ideal for premium customer segmentation. Unpaid Transactions: get_latest_unpaid_transactions Monitor unpaid invoices. Important for cash flow management and follow-up. get_unpaid_transactions_by_time_range Filter unpaid transactions within a specific time range for debt collection strategy. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.