{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mercoa.usefulapi.io",
    "site": "usefulapi.io",
    "addresses": [
      {
        "address": "104.21.62.184",
        "endpoints": 1099,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.138.37",
        "endpoints": 1099,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:8a25",
        "endpoints": 1099,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:3eb8",
        "endpoints": 1099,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.62.184",
          "172.67.138.37",
          "2606:4700:3030::ac43:8a25",
          "2606:4700:3032::6815:3eb8"
        ],
        "first_seen": "2026-11-22T16:16:02.608Z",
        "last_seen": "2026-11-22T16:16:02.608Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "mercoa-mcp",
      "version": "1.40.4",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1098,
      "sample": [
        {
          "id": "22186",
          "url": "https://mcp.easyscribe.guide/mcp",
          "server_name": "guide.easyscribe/easy-scribe",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T17:59:02.319Z"
        },
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        }
      ]
    },
    "same_site": {
      "total": 1103,
      "sample": [
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        },
        {
          "id": "42106",
          "url": "https://adminpulse.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adminpulse",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:56:00.432Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.usefulapi",
      "total": 1103,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/m190/usefulapi-mcp",
      "total": 1103,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "42656",
    "server_name": "io.usefulapi/mercoa",
    "url": "https://mercoa.usefulapi.io/mcp",
    "host": "mercoa.usefulapi.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T16:16:02.608Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "143a3d95815d5c312e0a73f1300c7a778cbea3d46a9099a6b3dda85b4ae6a168",
    "first_listed_at": "2026-11-22T16:16:02.608Z",
    "created_at": "2026-11-21T12:40:11.061Z",
    "resolved_addresses": [
      "104.21.62.184",
      "172.67.138.37",
      "2606:4700:3030::ac43:8a25",
      "2606:4700:3032::6815:3eb8"
    ]
  },
  "server": {
    "name": "io.usefulapi/mercoa",
    "title": "Mercoa MCP by usefulapi",
    "description": "Query and manage Mercoa AP/AR bill-pay: entities, invoices, transactions and payment methods.",
    "version": "1.40.4",
    "registry_status": "active",
    "repository_url": "https://github.com/m190/usefulapi-mcp",
    "website_url": "https://usefulapi.io/mercoa/",
    "published_at": "2026-11-18T11:01:45.006Z",
    "updated_at": "2026-11-18T11:01:45.006Z",
    "first_seen": "2026-11-21T12:40:10.391Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "reads-chain",
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T16:16:09.329Z"
  },
  "operator": {
    "key": "usefulapi.io",
    "name": "usefulapi.io",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 1,
    "answered": 1,
    "answered_percent": 100,
    "avg_listing_latency_ms": 341,
    "first_check_in_window": "2026-11-22T16:16:02.608Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "143a3d95815d5c312e0a73f1300c7a778cbea3d46a9099a6b3dda85b4ae6a168",
    "tools": 17,
    "resources": 0,
    "prompts": 7,
    "first_seen": "2026-11-22T16:16:02.953Z",
    "tool_names": [
      "mercoa_find_entities",
      "mercoa_get_entity",
      "mercoa_get_entity_events",
      "mercoa_get_entity_invoice_metrics",
      "mercoa_list_entity_payment_methods",
      "mercoa_get_payment_method",
      "mercoa_list_entity_users",
      "mercoa_find_invoices",
      "mercoa_get_invoice",
      "mercoa_get_invoice_events",
      "mercoa_find_transactions",
      "mercoa_get_transaction",
      "mercoa_get_organization",
      "mercoa_create_entity",
      "mercoa_create_invoice",
      "mercoa_update_invoice",
      "mercoa_add_invoice_comment"
    ],
    "declared": {
      "tools": [
        {
          "name": "mercoa_find_entities",
          "title": "Find entities",
          "description": "Find/search entities (buyers, vendors, payors, payees). Use to look up counterparties by name/email/foreignId or list all. GET /entity.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "description": "Max entities to return (1-100, default 10).",
                "exclusiveMinimum": 0
              },
              "search": {
                "type": "string",
                "description": "Search by name, email, emailTo, entity ID, or foreign ID (partial matches)."
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Entity status filter (e.g. verified, pending)."
              },
              "isPayee": {
                "type": "boolean",
                "description": "Filter entities marked as payees."
              },
              "isPayor": {
                "type": "boolean",
                "description": "Filter entities marked as payors."
              },
              "foreignId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Your system's ID(s) for the entity."
              },
              "isCustomer": {
                "type": "boolean",
                "description": "If true, only entities with a direct relationship to your organization."
              },
              "startingAfter": {
                "type": "string",
                "description": "Entity ID cursor for pagination."
              },
              "paymentMethods": {
                "type": "boolean",
                "description": "If true, include payment methods in the response."
              },
              "returnMetadata": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Metadata key(s) to include in the response."
              }
            }
          },
          "annotations": {
            "title": "Find entities",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_get_entity",
          "title": "Get entity",
          "description": "Get a single entity by ID (or foreign ID). GET /entity/{entityId}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "entityId"
            ],
            "properties": {
              "entityId": {
                "type": "string",
                "description": "Entity ID (e.g. ent_...) or foreign ID."
              }
            }
          },
          "annotations": {
            "title": "Get entity",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_get_entity_events",
          "title": "Get entity events",
          "description": "Get the event/audit log for an entity. GET /entity/{entityId}/events.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "entityId"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "description": "Max events to return (1-100).",
                "exclusiveMinimum": 0
              },
              "endDate": {
                "type": "string",
                "description": "End date filter (ISO 8601)."
              },
              "entityId": {
                "type": "string",
                "description": "Entity ID or foreign ID."
              },
              "startDate": {
                "type": "string",
                "description": "Start date filter (ISO 8601)."
              },
              "startingAfter": {
                "type": "string",
                "description": "Event ID cursor for pagination."
              }
            }
          },
          "annotations": {
            "title": "Get entity events",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_get_entity_invoice_metrics",
          "title": "Get entity invoice metrics",
          "description": "Get aggregate invoice metrics (totals/counts, grouped by currency) for an entity's payables/receivables — for AP/AR dashboards and aging. GET /entity/{entityId}/invoice-metrics.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "entityId"
            ],
            "properties": {
              "search": {
                "type": "string",
                "description": "Search by vendor name, invoice number, check number, or amount."
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Invoice status filter (e.g. NEW, SCHEDULED, PAID)."
              },
              "endDate": {
                "type": "string",
                "description": "End date filter (ISO 8601)."
              },
              "groupBy": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Additional grouping (e.g. by status)."
              },
              "payerId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by payer ID(s)."
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Currency code(s) to filter on, e.g. USD."
              },
              "dateType": {
                "type": "string",
                "description": "Date type to filter by (e.g. CREATED_AT, DUE_DATE)."
              },
              "entityId": {
                "type": "string",
                "description": "Entity ID or foreign ID."
              },
              "vendorId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by vendor ID(s)."
              },
              "invoiceId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by invoice ID(s) or foreign ID(s)."
              },
              "startDate": {
                "type": "string",
                "description": "Start date filter (ISO 8601)."
              },
              "approverId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by assigned approver user ID(s)."
              },
              "returnByDate": {
                "type": "string",
                "description": "Group metrics by date, e.g. CREATION_DATE or DUE_DATE."
              },
              "excludePayables": {
                "type": "boolean",
                "description": "Only return receivables (exclude payables)."
              },
              "excludeReceivables": {
                "type": "boolean",
                "description": "Only return payables (exclude receivables)."
              },
              "returnByDateFrequency": {
                "type": "string",
                "description": "Frequency for date grouping (e.g. DAILY, MONTHLY)."
              }
            }
          },
          "annotations": {
            "title": "Get entity invoice metrics",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_list_entity_payment_methods",
          "title": "List entity payment methods",
          "description": "List an entity's payment methods (bank accounts, cards, check, etc.). GET /entity/{entityId}/paymentMethods.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "entityId"
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "Filter by payment method type (e.g. bankAccount, card, check)."
              },
              "entityId": {
                "type": "string",
                "description": "Entity ID or foreign ID."
              }
            }
          },
          "annotations": {
            "title": "List entity payment methods",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_get_payment_method",
          "title": "Get payment method",
          "description": "Get a single payment method for an entity. GET /entity/{entityId}/paymentMethod/{paymentMethodId}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "entityId",
              "paymentMethodId"
            ],
            "properties": {
              "entityId": {
                "type": "string",
                "description": "Entity ID or foreign ID."
              },
              "paymentMethodId": {
                "type": "string",
                "description": "Payment method ID (e.g. pm_...)."
              }
            }
          },
          "annotations": {
            "title": "Get payment method",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_list_entity_users",
          "title": "List entity users",
          "description": "List the users belonging to an entity (approvers, admins, etc.). GET /entity/{entityId}/users.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "entityId"
            ],
            "properties": {
              "entityId": {
                "type": "string",
                "description": "Entity ID or foreign ID."
              }
            }
          },
          "annotations": {
            "title": "List entity users",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_find_invoices",
          "title": "Find invoices",
          "description": "Find/search invoices (bills) across payers and vendors. Filter by status, entity, date, approver and more. GET /invoices (plural list endpoint).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "description": "Max invoices to return (1-100, default 10).",
                "exclusiveMinimum": 0
              },
              "search": {
                "type": "string",
                "description": "Search by vendor name, invoice number, check number, or amount."
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Invoice status filter (e.g. DRAFT, NEW, APPROVED, SCHEDULED, PAID)."
              },
              "endDate": {
                "type": "string",
                "description": "End date filter (ISO 8601)."
              },
              "orderBy": {
                "type": "string",
                "description": "Field to order by (e.g. CREATED_AT, AMOUNT, DUE_DATE)."
              },
              "payerId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by payer ID(s) or foreign ID(s)."
              },
              "dateType": {
                "type": "string",
                "description": "Date type to filter by (e.g. CREATED_AT, DUE_DATE)."
              },
              "entityId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by entity (payer or vendor) ID(s) or foreign ID(s)."
              },
              "vendorId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by vendor ID(s) or foreign ID(s)."
              },
              "invoiceId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by invoice ID(s) or foreign ID(s)."
              },
              "startDate": {
                "type": "string",
                "description": "Start date filter (ISO 8601)."
              },
              "approverId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by assigned approver user ID(s)."
              },
              "paymentType": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by payment type (e.g. recurring)."
              },
              "creatorUserId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by the user ID(s) that created the invoice."
              },
              "entityGroupId": {
                "type": "string",
                "description": "Filter by entity group ID."
              },
              "startingAfter": {
                "type": "string",
                "description": "Invoice ID cursor for pagination."
              },
              "approverAction": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by approver action (use with approverId), e.g. APPROVE."
              },
              "orderDirection": {
                "type": "string",
                "description": "asc or desc."
              },
              "invoiceTemplateId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by invoice template ID(s)."
              },
              "returnPayerMetadata": {
                "type": "boolean",
                "description": "Include payer metadata in the response."
              },
              "returnPaymentTiming": {
                "type": "boolean",
                "description": "Include payment timing in the response."
              },
              "returnVendorMetadata": {
                "type": "boolean",
                "description": "Include vendor metadata in the response."
              }
            }
          },
          "annotations": {
            "title": "Find invoices",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_get_invoice",
          "title": "Get invoice",
          "description": "Get a single invoice (bill) by ID. GET /invoice/{invoiceId}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "invoiceId"
            ],
            "properties": {
              "invoiceId": {
                "type": "string",
                "description": "Invoice ID (e.g. in_...) or foreign ID."
              }
            }
          },
          "annotations": {
            "title": "Get invoice",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_get_invoice_events",
          "title": "Get invoice events",
          "description": "Get the event/audit log for an invoice (status changes, approvals, payments). GET /invoice/{invoiceId}/events.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "invoiceId"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "description": "Max events to return (1-100).",
                "exclusiveMinimum": 0
              },
              "endDate": {
                "type": "string",
                "description": "End date filter (ISO 8601)."
              },
              "invoiceId": {
                "type": "string",
                "description": "Invoice ID or foreign ID."
              },
              "startDate": {
                "type": "string",
                "description": "Start date filter (ISO 8601)."
              },
              "startingAfter": {
                "type": "string",
                "description": "Event ID cursor for pagination."
              }
            }
          },
          "annotations": {
            "title": "Get invoice events",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_find_transactions",
          "title": "Find transactions",
          "description": "List/search payment transactions. Filter by entity, invoice, status, type and date. GET /transactions.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "description": "Max transactions to return (1-100, default 10).",
                "exclusiveMinimum": 0
              },
              "search": {
                "type": "string",
                "description": "Search by vendor name, invoice number, check number, or amount."
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Transaction status filter."
              },
              "endDate": {
                "type": "string",
                "description": "CREATED_AT end date filter (ISO 8601)."
              },
              "payerId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by payer ID(s)."
              },
              "entityId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by entity ID(s) or foreign ID(s)."
              },
              "vendorId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by vendor ID(s)."
              },
              "invoiceId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by invoice ID(s) or foreign ID(s)."
              },
              "startDate": {
                "type": "string",
                "description": "CREATED_AT start date filter (ISO 8601)."
              },
              "entityGroupId": {
                "type": "string",
                "description": "Filter by entity group ID."
              },
              "startingAfter": {
                "type": "string",
                "description": "Transaction ID cursor for pagination."
              },
              "transactionId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by transaction ID(s)."
              },
              "transactionType": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Filter by transaction type."
              }
            }
          },
          "annotations": {
            "title": "Find transactions",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_get_transaction",
          "title": "Get transaction",
          "description": "Get a single payment transaction by ID. GET /transaction/{transactionId}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "transactionId"
            ],
            "properties": {
              "transactionId": {
                "type": "string",
                "description": "Transaction ID."
              }
            }
          },
          "annotations": {
            "title": "Get transaction",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_get_organization",
          "title": "Get organization",
          "description": "Get the caller's Mercoa organization configuration (settings, payment methods enabled, etc.). GET /organization.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "Get organization",
            "readOnlyHint": true
          }
        },
        {
          "name": "mercoa_create_entity",
          "title": "Create entity",
          "description": "WRITE — creates a real entity (customer/vendor/payor/payee) in Mercoa. Supply role flags, accountType, and a nested `profile` object (business or individual details). POST /entity.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "email": {
                "type": "string",
                "description": "Primary email for the entity."
              },
              "isPayee": {
                "type": "boolean",
                "description": "Whether this entity can receive payments (AR / vendor)."
              },
              "isPayor": {
                "type": "boolean",
                "description": "Whether this entity can pay invoices (AP)."
              },
              "profile": {
                "type": "object",
                "description": "Nested profile object, e.g. { \"business\": { \"legalBusinessName\": \"Acme Inc.\", \"email\": \"ap@acme.com\", \"businessType\": \"llc\" } } or { \"individual\": { \"name\": {...}, \"email\": \"...\" } }.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "foreignId": {
                "type": "string",
                "description": "Your system's ID for this entity."
              },
              "isCustomer": {
                "type": "boolean",
                "description": "Whether this entity has a direct relationship with your organization."
              },
              "accountType": {
                "enum": [
                  "business",
                  "individual"
                ],
                "type": "string",
                "description": "business or individual."
              }
            }
          },
          "annotations": {
            "title": "Create entity",
            "destructiveHint": true
          }
        },
        {
          "name": "mercoa_create_invoice",
          "title": "Create invoice",
          "description": "WRITE — creates a real invoice/bill in Mercoa. Set status (DRAFT to stage, NEW to submit), amount, currency, payer/vendor, dates and line items. POST /invoice.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "amount": {
                "type": "number",
                "description": "Total invoice amount."
              },
              "status": {
                "type": "string",
                "description": "Invoice status, e.g. DRAFT, NEW, APPROVED, SCHEDULED."
              },
              "dueDate": {
                "type": "string",
                "description": "Due date (ISO 8601)."
              },
              "payerId": {
                "type": "string",
                "description": "Payer entity ID (who owes)."
              },
              "currency": {
                "type": "string",
                "description": "Currency code, e.g. USD."
              },
              "metadata": {
                "type": "object",
                "description": "Arbitrary key/value metadata.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "vendorId": {
                "type": "string",
                "description": "Vendor entity ID (who is paid)."
              },
              "lineItems": {
                "type": "array",
                "items": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "description": "Line items array, e.g. [{ \"amount\": 100, \"currency\": \"USD\", \"description\": \"Product A\", \"quantity\": 1, \"unitPrice\": 100 }]."
              },
              "noteToSelf": {
                "type": "string",
                "description": "Internal note."
              },
              "invoiceDate": {
                "type": "string",
                "description": "Invoice date (ISO 8601)."
              },
              "creatorUserId": {
                "type": "string",
                "description": "User ID creating the invoice."
              },
              "deductionDate": {
                "type": "string",
                "description": "Scheduled payment/deduction date (ISO 8601)."
              },
              "invoiceNumber": {
                "type": "string",
                "description": "Human-readable invoice number, e.g. INV-123."
              },
              "creatorEntityId": {
                "type": "string",
                "description": "Entity ID on whose behalf the invoice is created."
              },
              "paymentSourceId": {
                "type": "string",
                "description": "Payment method ID to pay from (payer's)."
              },
              "paymentDestinationId": {
                "type": "string",
                "description": "Payment method ID to pay to (vendor's)."
              }
            }
          },
          "annotations": {
            "title": "Create invoice",
            "destructiveHint": true
          }
        },
        {
          "name": "mercoa_update_invoice",
          "title": "Update invoice",
          "description": "WRITE — updates an existing invoice/bill (all fields optional). Commonly used to advance status (e.g. DRAFT→NEW→SCHEDULED) or change amounts, dates, or payment methods. POST /invoice/{invoiceId}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "invoiceId"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "description": "Total invoice amount."
              },
              "status": {
                "type": "string",
                "description": "New invoice status, e.g. NEW, APPROVED, SCHEDULED."
              },
              "dueDate": {
                "type": "string",
                "description": "Due date (ISO 8601)."
              },
              "payerId": {
                "type": "string",
                "description": "Payer entity ID."
              },
              "currency": {
                "type": "string",
                "description": "Currency code, e.g. USD."
              },
              "metadata": {
                "type": "object",
                "description": "Arbitrary key/value metadata.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "vendorId": {
                "type": "string",
                "description": "Vendor entity ID."
              },
              "invoiceId": {
                "type": "string",
                "description": "Invoice ID to update."
              },
              "lineItems": {
                "type": "array",
                "items": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "description": "Replacement line items array."
              },
              "noteToSelf": {
                "type": "string",
                "description": "Internal note."
              },
              "invoiceDate": {
                "type": "string",
                "description": "Invoice date (ISO 8601)."
              },
              "deductionDate": {
                "type": "string",
                "description": "Scheduled payment/deduction date (ISO 8601)."
              },
              "invoiceNumber": {
                "type": "string",
                "description": "Human-readable invoice number."
              },
              "paymentSourceId": {
                "type": "string",
                "description": "Payment method ID to pay from."
              },
              "paymentDestinationId": {
                "type": "string",
                "description": "Payment method ID to pay to."
              }
            }
          },
          "annotations": {
            "title": "Update invoice",
            "destructiveHint": true
          }
        },
        {
          "name": "mercoa_add_invoice_comment",
          "title": "Add invoice comment",
          "description": "WRITE — adds a comment to an invoice (visible in its activity log). POST /invoice/{invoiceId}/comment.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "invoiceId",
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "description": "Comment text."
              },
              "userId": {
                "type": "string",
                "description": "ID or foreign ID of the user creating the comment."
              },
              "invoiceId": {
                "type": "string",
                "description": "Invoice ID to comment on."
              }
            }
          },
          "annotations": {
            "title": "Add invoice comment",
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "getting_started",
          "description": "What you can do with Mercoa here, with example requests to try."
        },
        {
          "name": "find_bills_that_wait_for_approval",
          "description": "The AI searches invoices by status, entity, date and approver and opens each one. You get the bills that need an approver, with amount and vendor."
        },
        {
          "name": "see_the_history_of_an_invoice",
          "description": "The AI reads the audit log of an invoice: status changes, approvals and payments, so you can tell who did what and when."
        },
        {
          "name": "total_invoice_amounts_per_entity_and_currency",
          "description": "The AI reads invoice totals and counts for an entity's payables or receivables, grouped by currency, for AP and AR overviews and aging."
        },
        {
          "name": "check_payment_transactions_for_an_invoice_or_entity",
          "description": "The AI searches payment transactions by entity, invoice, status, type and date and opens one to read it."
        },
        {
          "name": "find_or_add_a_vendor_or_customer",
          "description": "The AI searches entities by name, email or foreign id. If none exists, it creates a new entity with its role flags and a business or individual profile."
        },
        {
          "name": "create_a_bill_update_it_or_add_a_comment",
          "description": "The AI creates an invoice as a draft or submitted bill, moves its status forward, changes amounts, dates or payment methods, or adds a comment to its log."
        }
      ]
    },
    "instructions": "Tools for Mercoa, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: \"Which bills are waiting for approval this week?\"; \"Show me all invoices from vendor Acme Ltd this quarter.\"; \"What were our total invoice amounts by status this month?\". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Mercoa data. Free plan: 50 tool calls per month. Run mercoa_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run mercoa_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run mercoa_upgrade without a plan: it returns both plans, each with a payment link for the user to open. mercoa_cancel_subscription cancels Pro at the end of the paid period."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}