mcpField
M
mcp-omie

mcp-omie

Local
github.com/codesparBusiness & Marketing275Updated 4w ago

About mcp-omie

mcp-omie is an MCP server for Omie, an ERP covering customers, products, orders, invoices and financials. It is aimed at businesses that use Omie and want agents to work with its data, and it exposes 30 tools.

Key features

  1. 01Customer and product listing and creation
  2. 02Sales, service and purchase order management
  3. 03Invoice lookup and invoice generation from orders
  4. 04Accounts payable, receivable and bank statements
  5. 05Stock adjustments and stock position queries

Use cases

  1. 01Letting an agent check customer and order status
  2. 02Generating invoices from existing sales orders
  3. 03Recording payments on payable titles and reviewing bank statements

MCP support

This is an MCP server that exposes 30 tools to MCP clients for accessing Omie ERP business and financial data.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"codespar-mcp-omie": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-omie"
],
"env": {
"OMIE_APP_SECRET": "<OMIE_APP_SECRET>"
}
}
}
}
Run commandnpx -y @codespar/mcp-omie
Environment variables to set
OMIE_APP_SECRETSecretAPI key for omie

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@codespar/mcp-omie0.2.2

Tools

30

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
paginanumberNoPage number (default 1)
clientesFiltroobjectNoFilter object (nome_fantasia, cnpj_cpf, etc.)
registros_por_paginanumberNoRecords per page (default 50)

Details

From the project README

@codespar/mcp-omie

MCP server for Omie — ERP with customers, products, orders, invoices, and financials

npm License: MIT

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "omie": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-omie"],
      "env": {
        "OMIE_APP_KEY": "your-app-key",
        "OMIE_APP_SECRET": "your-app-secret"
      }
    }
  }
}
Claude Code
claude mcp add omie -- npx @codespar/mcp-omie
Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "omie": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-omie"],
      "env": {
        "OMIE_APP_KEY": "your-app-key",
        "OMIE_APP_SECRET": "your-app-secret"
      }
    }
  }
}

Tools (30)

ToolPurpose
list_customersList customers from Omie ERP
create_customerCreate a customer in Omie ERP
list_productsList products from Omie ERP
create_productCreate a product in Omie ERP
create_orderCreate a sales order in Omie ERP
list_ordersList sales orders from Omie ERP
list_invoicesList invoices (NF) from Omie ERP
get_financialList accounts receivable from Omie ERP
create_invoiceConsult a specific NF by ID in Omie ERP
get_company_infoList companies registered in Omie ERP
create_service_orderCreate a service order (OS) in Omie ERP
list_service_ordersList service orders (OS) from Omie ERP
create_purchase_orderCreate a purchase order in Omie ERP
list_purchase_ordersList purchase orders from Omie ERP
get_bank_accountsList registered bank accounts in Omie ERP
create_account_payableCreate an accounts payable (AP) entry in Omie ERP
list_accounts_payableList accounts payable (AP) titles in Omie ERP
pay_account_payableSettle / record payment (baixa) for an AP title in Omie ERP
list_dreList DRE (income statement) chart of accounts in Omie ERP
get_bank_statementRetrieve bank account statement (extrato) for a period from Omie ERP
list_categoriesList chart of accounts categories in Omie ERP
list_departmentsList departments (cost centers) in Omie ERP
list_projectsList projects in Omie ERP
create_cash_entryCreate a bank account ledger entry (lançamento de conta corrente) in Omie ERP
list_financial_movementsList unified financial movements (AP + AR + CC) in Omie ERP
create_stock_adjustmentCreate an inventory adjustment (entry/exit/balance) in Omie ERP
get_stock_positionGet current stock position / balance in Omie ERP
update_sales_orderAlter an existing sales order in Omie ERP
get_sales_orderConsult a specific sales order by ID or integration code in Omie ERP
invoice_sales_orderGenerate an invoice (NF) from an existing sales order in Omie ERP

Authentication

Omie uses JSON-RPC style requests with app_key and app_secret in the request body.

Sandbox / Testing

Omie provides a sandbox via app registration. Create an app to get test credentials.

Get your credentials
  1. Go to Omie Developer Portal
  2. Create an account
  3. Register an application to get app key and secret
  4. Set the environment variables

Environment Variables

VariableRequiredDescription
OMIE_APP_KEYYesOmie app key
OMIE_APP_SECRETYesOmie app secret

Roadmap

v0.3 (planned)
  • create_production_order — Create a production order
  • emit_nfe — Emit NF-e (native emission, not import)
  • reconcile_bank_transaction — Bank reconciliation matching
  • create_service_contract — Service contracts CRUD
  • create_custom_field — Merchant custom fields

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.