accurate-schema-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@accurate-schema-mcpShow me the schema for the purchase-invoice/save endpoint"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
accurate-schema-mcp
Schema-aware Model Context Protocol server for Accurate Online.
Features
Always-fresh OpenAPI spec. Refetched on every server startup (i.e. each time Claude Desktop launches) and written over the cached copy, so new endpoints appear with no code change and no manual step. If the download fails, the cached copy is used.
Host auto-resolution. Nothing is hardcoded — the server asks Accurate which host your API Token's database lives on.
refresh_hostre-resolves if the database migrates mid-session.Delete kill switch.
generic_callrefuses delete endpoints (HTTPDELETEand*/delete.do,*/bulk-delete.do) unless you explicitly opt in.Verified list fields. Accurate's spec documents no response schema for
list.do, so real field names are shipped inlist_fields.jsonand merged into every<resource>/listlookup.Python 3.10+, zero config files beyond
.env, onlymcp+requestsas dependencies.
Related MCP server: MYOB Codex MCP
Requirements
Python version >= 3.10
uvfor dependency managementAn Accurate Online API Token — steps on how to get
Bearer TokenandAPI Secretfrom https://drive.google.com/file/d/1_EKt6DE6U-6vkmv4M_vizmC-27wXjXa0/view.
Install
git clone https://github.com/aol-integration/accurate-schema-mcp.git
cd accurate-schema-mcp
uv sync # creates .venv from the exact versions pinned in uv.lockConfigure
cp .env.example .envEdit .env:
ACCURATE_BEARER_TOKEN=<your_api_token>
ACCURATE_API_SECRET=<your_api_token_secret_key>
# generic_call refuses delete endpoints unless this is true.
ACCURATE_ENABLE_DELETE=falseSee this page for more information on Accurate Online API Token authentication.
Add to Claude Desktop
Open Claude Desktop.
Go to Settings → Developer → Edit Config. This opens the folder containing
claude_desktop_config.json.Open
claude_desktop_config.jsonin a text editor.Paste this in. If the file already has
mcpServers, add only the"accurate-schema"entry inside it.{ "mcpServers": { "accurate-schema": { "command": "uv", "args": [ "run", "--directory", "/absolute/path/to/accurate-schema-mcp", "python", "-m", "accurate_schema_mcp.server" ] } } }Replace
/absolute/path/to/accurate-schema-mcpwith your clone's real path (pwdinside the folder).--directoryalso sets the working directory, so.envis picked up.Save the file and fully quit Claude Desktop (Cmd+Q on macOS), then reopen it. The config is only read at launch.
Check the tools menu in the chat input —
accurate-schemashould appear with 4 tools.
The server speaks MCP over stdio.
Tools (4)
Tool | Arguments | Description |
| — | All resource names ( |
|
| Fields, query params and required-ness for one endpoint. Accepts |
|
| Call any endpoint. |
| — | Re-resolve which host the API Token's database lives on. |
Typical flow
# 1) Which resources exist?
list_resources()
# -> ["access-privilege", "branch", "customer", "item", "purchase-invoice", ...]
# 2) What does this endpoint want?
schema_lookup(endpoint="purchase-invoice/save")
# -> {"method": "POST", "path": "/api/purchase-invoice/save.do",
# "body": {"vendorNo": {"required": true, ...}, ...}}
# 3) Call it
generic_call(
endpoint="item/list",
params={"fields": "id,name,unitPrice", "sp.pageSize": 50},
)Authentication
Each request is signed fresh — no session or token-refresh step:
X-Api-Timestamp: <unix epoch milliseconds>
X-Api-Signature: HMAC-SHA256(api_secret, timestamp)
Authorization: Bearer <bearer_token>The host is resolved at startup by calling
https://account.accurate.id/api/api-token.do with the same headers. The host
comes straight from d.database.host in that response (e.g.
https://public.accurate.id) — one field, no payload walking. A 401 means the
token or signature is invalid; note
that Accurate also signals failure with HTTP 200 + {"s": false}, which is
handled as an auth error.
GET requests retry up to 3 times with backoff on 502/503/504. Mutating
requests are never retried — they may already have succeeded.
Schema cache
The OpenAPI spec is downloaded from
https://account.accurate.id/open-api/json.do into
schema/accurate_openapi.json on every server startup, overwriting the
previous copy (first run simply creates it). The write is atomic — the spec is
staged to a .tmp file and swapped in — and a response with no paths is
rejected, so a bad download can't clobber a good cache. If the fetch fails and
a cached copy exists, the server logs a warning and starts with the cache.
To refresh it by hand:
uv run python -m accurate_schema_mcp.fetch_schema --forceEnvironment variables
Variable | Required | Notes |
| yes | Accurate Online → Accurate Store → API Token |
| yes | Accurate Online → Developer Area |
| no |
|
Project layout
accurate_schema_mcp/
├── server.py MCP entrypoint (stdio)
├── tools_schema.py the four tools + delete guard
├── client.py HMAC auth, host resolution, HTTP
├── config.py env vars / .env loader (no dependency)
├── schema_index.py parses the OpenAPI spec into a flat index
├── fetch_schema.py downloads the spec (refreshed every startup)
└── list_fields.json verified list.do response fields (absent from the spec)
schema/
└── accurate_openapi.json cached specVerifying it works
uv run python -c "from accurate_schema_mcp.client import get_client; c = get_client(); print(c.base_url)"Printing a base URL like https://public.accurate.id/accurate confirms the
credentials, the signature and host resolution all work. A 401 usually means
a wrong secret, a wrong bearer token, or whitespace pasted into .env.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for Microsoft Dataverse API with safe-by-default configuration. Works with any Dataverse / Dynamics 365 environment.23237MIT
- AlicenseCqualityAmaintenanceCodex-safe MCP server for MYOB Business/AccountRight cloud. Provides read-only tools by default and mutating actions that require explicit approval before commit.63MIT
- AlicenseBqualityCmaintenanceA standalone MCP server for exploring the weclapp REST API v2, providing offline knowledge about entities, endpoints, and relationships, plus optional live GET probes against a tenant.171MIT
- AlicenseAqualityAmaintenanceLocal MCP server for TOCOnline accounting/invoicing API that enables AI assistants to manage customers, products, sales documents, and call arbitrary endpoints via natural language after OAuth login.671MIT
Related MCP Connectors
A basic MCP server to operate on the Postman API.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aol-integration/accurate-schema-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server