Skip to main content

MCP server for Acumatica ERP — 25 tools for queries, mutations, Generic Inquiries, inventory, shipments, reports, and file attachments

Project description

Acumatica MCP Server

An MCP server that connects AI assistants to Acumatica ERP via the Contract-Based REST API. 25 tools covering queries, mutations, Generic Inquiries, inventory, shipments, reports, and file attachments.

Quick Start

git clone https://github.com/nicholsonpeter/acumatica-mcp.git
cd acumatica-mcp/servers
python setup.py       # interactive credential setup

Then add to your MCP client configuration (e.g. Claude Desktop):

{
  "mcpServers": {
    "acumatica": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/acumatica-mcp/servers", "python", "server.py"]
    }
  }
}

Using the Client Library Independently

The API client (acumatica_client.py) has no MCP dependency and can be imported directly:

from acumatica_client import AcumaticaClient

client = AcumaticaClient()  # reads config from .env or environment variables
resp = client.get("/entity/Default/24.200.001/SalesOrder", {"$top": "10"})
orders = resp.json()

Features

  • Two-layer architecture — standalone API client + thin MCP tool layer
  • 25 MCP tools — discovery, queries, mutations, files, inventory, shipments, reports
  • Generic Inquiry support — OData and Contract-Based API paths
  • OAuth 2.0 with PKCE or username/password authentication
  • Automatic retry with exponential backoff on 429/503
  • Response compaction — strips Acumatica's verbose envelopes, cuts token cost ~3x
  • Tenant discovery — probes capabilities once, caches 24 hours
  • Input validation — endpoint name guards, string length caps, format allowlists

Documentation

Full documentation is in the GitHub repository:

Licence

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acumatica_mcp-0.8.0.tar.gz (119.5 kB view details)

Uploaded Source

File details

Details for the file acumatica_mcp-0.8.0.tar.gz.

File metadata

  • Download URL: acumatica_mcp-0.8.0.tar.gz
  • Upload date:
  • Size: 119.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for acumatica_mcp-0.8.0.tar.gz
Algorithm Hash digest
SHA256 0abbc9df2c4392fdae27f138d5a8b1c98d58e79d56214f0535fb0d4c521ce965
MD5 680a9981621694964b031096310f6ff9
BLAKE2b-256 f11dc908e12a1cf83b5655f9a8a9b80ba53cf0124c7a3b06c791c8b0463d2315

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page