Skip to content
MCP server
RegistryRemote

Mayar MCP Server

Mayar payments (Indonesia): invoices, payment links, products, customers, transactions and QRIS.

Mayar scores 63 (Good), licensed MIT. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Finance. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by mayaridMIT0 stars
Trust score
63Good
Trust score 63 of 100, Good

Good trust

63 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 63 comes from

22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "mayarid-mayar-agent-plugin": {      "url": "https://mcp.mayar.id/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Mayar Agent Plugin

Connect an AI agent to your Mayar account. This package uses Mayar's official hosted MCP server at https://mcp.mayar.id/mcp. With it, the agent can read and manage invoices, payment links, products, customers, transactions, memberships, coupons, webhooks, reviews, QRIS and license codes.

This is a Portable Agent Plugins v1 package (plugin.json, mcp.json and skills/). It is configuration only. It contains no executable code.

Requirements

  • A Mayar account.
  • A production API key. Get it in the Mayar dashboard under Integration > Api Keys (web.mayar.id/api-keys).

Install in Hermes Agent

hermes plugins install mayarid/mayar-agent-plugin --no-enable
hermes plugins enable mayar

Set your API key (see below). Restart Hermes. Then ask: "Use Mayar. Call the account tool with action balance." A working key returns your balance.

Install in Cursor

Add to Cursor

The button adds Mayar's hosted MCP server to Cursor. Set MAYAR_API_KEY first (see below). This repository also includes a Cursor config file at .mcp.json. Cursor and cursor.directory read that root file. It uses Cursor's ${env:MAYAR_API_KEY} syntax. Do not change it for Claude Code.

Install in Claude Code

This repository also ships a Claude plugin in plugins/mayar (manifest, skill, license, and a Claude .mcp.json). Anthropic's directory can list that subfolder through the submission "Plugin path" field. The root .mcp.json stays the Cursor file, because the two clients authenticate differently.

Claude Code requires "type": "http" on a remote server. The plugin file at plugins/mayar/.mcp.json sends Authorization: Bearer ${user_config.mayar_api_key}. Claude Code asks for that key when you install or enable the plugin in a session. It stores the key outside settings.json (macOS Keychain, or ~/.claude/.credentials.json with mode 600 on Linux). It does not read MAYAR_API_KEY from the environment, and it does not expand ${env:MAYAR_API_KEY}.

Load the plugin from a local clone:

claude --plugin-dir ./plugins/mayar

Or add this repository as a marketplace and install mayar:

claude plugin marketplace add mayarid/mayar-agent-plugin
claude plugin install mayar@mayarid

A --plugin-dir or shell install does not open the key dialog. In a Claude Code session, run /plugin configure on the installed plugin to set the key. For a marketplace install, that command is /plugin configure mayar@mayarid. You can also pass --config mayar_api_key=YOUR_KEY to claude plugin install. See Claude Code under Set your API key.

You can still add the server by hand with claude mcp add (see Claude Code under Set your API key). Mayar has no OAuth. On claude.ai and in Cowork, the plugin skill loads, but the Connectors tab expects an OAuth sign-in that Mayar does not offer, so tool calls there cannot authenticate with an API key the way Claude Code can.

Set your API key

Mayar does not use OAuth. Every client sends your production API key in the Authorization header. Get the key in the Mayar dashboard: Integration > Api Keys (web.mayar.id/api-keys).

Cursor

Set the MAYAR_API_KEY environment variable. The Add to Cursor button and .mcp.json send it as Authorization: Bearer ${env:MAYAR_API_KEY}.

Hermes

Put the key in ~/.hermes/.env, or set it in the plugin settings form:

MAYAR_API_KEY=your-production-key

Agent Plugins v1.0.0 does not allow secrets or placeholders in mcp.json remote headers. Hermes does not yet attach this key from the plugin extension alone. Add this block to your Hermes config.yaml so Hermes sends the header. A same-name entry replaces the package server, so keep trust: untrusted:

mcp_servers:
  mayar:
    url: https://mcp.mayar.id/mcp
    headers:
      Authorization: "Bearer ${MAYAR_API_KEY}"
    trust: untrusted

Claude Code

When you install or enable the plugin in a Claude Code session, Claude Code asks for your production API key and stores it outside settings.json (macOS Keychain, or ~/.claude/.credentials.json with mode 600 on Linux). To set or change the key later, run /plugin configure mayar@mayarid in a session. Get a key from https://web.mayar.id/api-keys.

If you installed the plugin from the shell, Claude Code does not prompt for the key. Pass --config mayar_api_key=YOUR_KEY on install, or run /plugin configure mayar@mayarid afterward and restart Claude Code.

If you installed the plugin in plugins/mayar, Claude Code reads Authorization: Bearer ${user_config.mayar_api_key} from that folder's .mcp.json. To add the server by hand instead:

claude mcp add --transport http mayar https://mcp.mayar.id/mcp \
  --header "Authorization: Bearer $MAYAR_API_KEY"

The shell expands $MAYAR_API_KEY when you run the command. This by-hand server does not use the plugin's userConfig field.

Other clients

The same server works in any MCP client that speaks Streamable HTTP. Send the key in the Authorization header. The Bearer prefix is optional. The server URL is https://mcp.mayar.id/mcp.

Tools

Each domain is one tool with an action argument: account, invoice, installment, customer, transaction, product, payment, membership, credit, coupon, webhook, review, qr, license and search_docs. The full reference is at mcp.mayar.id/docs.

Disclosure

  • Every tool call goes to https://mcp.mayar.id, which calls the Mayar production API (api.mayar.id) with your key.
  • Write actions use real money and live data. They can create or update invoices, payment links, products, customers and coupons, change membership status, change the webhook URL and add or spend credits.
  • The package marks the server untrusted. Hermes asks you before each write-capable call.
  • Account data that the tools return (customers, transactions, balances) goes to your model provider.
  • The tool list comes from the server at run time. The pinned commit does not cover it.
  • The plugin stores no credentials. You set MAYAR_API_KEY in the client. This package's mcp.json does not include an Authorization header.

License

MIT

Frequently asked questions

What is Mayar MCP Server?

Mayar payments (Indonesia): invoices, payment links, products, customers, transactions and QRIS.

How do I install Mayar MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Mayar MCP Server connects to the remote endpoint https://mcp.mayar.id/mcp, so there is nothing to install locally.

Is Mayar MCP Server free and open source?

Yes. Mayar MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Mayar MCP Server support remote (HTTP) connections?

Yes. Mayar MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

How is Mayar MCP Server's trust score calculated?

Mayar MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server