Skip to main content
OM

Omie

v0.2.1API Key

Full ERP: sales orders, accounts payable/receivable, customers, products, and financial entries. Your agent manages the entire back-office.

30 tools1 env varsπŸ‡§πŸ‡· Brazilstable on npm

What your agent can do

Omie gives your agent 30 tools it calls directly β€” pick the ones it needs, in Claude, Cursor, or any MCP client.

  • list_customers β€” List customers from Omie ERP
  • create_customer β€” Create a customer in Omie ERP
  • list_products β€” List products from Omie ERP
Example call
// Your agent calls a tool directly β€” no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("list_customers", { /* ... */ });

Install

terminal
$ npm install @codespar/mcp-omie

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "omie": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-omie"
      ],
      "env": {
        "OMIE_APP_SECRET": "<your_omie_app_secret>"
      }
    }
  }
}

After restart, your agent can call any of the 30 tools below β€” try list_customers first.

Environment variables Β· 1

Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.

OMIE_APP_SECRET
requiredsecret

API key for omie

Available tools Β· 30

Each tool is independent β€” your agent loads only what it needs to reduce context and response time.

READlist_customers
List customers from Omie ERP
WRITEcreate_customer
Create a customer in Omie ERP
READlist_products
List products from Omie ERP
WRITEcreate_product
Create a product in Omie ERP
WRITEcreate_order
Create a sales order in Omie ERP
READlist_orders
List sales orders from Omie ERP
READlist_invoices
List invoices (NF) from Omie ERP
READget_financial
List accounts receivable from Omie ERP

Compatible frameworks

MCP is a protocol β€” any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

Run `npx -y @codespar/mcp-omie` and add the config block above to your MCP client β€” Claude, Cursor, VS Code, or any MCP-compatible client. No build step, no SDK required. Prefer hosted? CodeSpar's managed tier runs it for you with auth handled.
Omie β€” MCP server Β· 30 tools | CodeSpar