Skip to main content
TI

Tiny ERP

v0.2.1API Key

Lightweight ERP for e-commerce: products, orders, NF-e, stock control, and accounts payable. Built for small Brazilian sellers.

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

What your agent can do

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

  • list_products β€” List products in Tiny ERP
  • get_product β€” Get product details by ID
  • list_orders β€” List sales orders in Tiny 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_products", { /* ... */ });

Install

terminal
$ npm install @codespar/mcp-tiny

Quickstart

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

claude_desktop_config.json
{
  "mcpServers": {
    "tiny": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-tiny"
      ],
      "env": {
        "TINY_API_TOKEN": "<your_tiny_api_token>"
      }
    }
  }
}

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

Environment variables Β· 1

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

TINY_API_TOKEN
requiredsecret

API key for tiny

Available tools Β· 21

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

READlist_products
List products in Tiny ERP
READget_product
Get product details by ID
READlist_orders
List sales orders in Tiny ERP
READget_order
Get order details by ID
READlist_contacts
List contacts in Tiny ERP
READget_contact
Get contact details by ID
WRITEcreate_invoice
Create a fiscal invoice (NF-e) from an order in Tiny
READget_invoice
Get invoice details by ID

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-tiny` 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.
Tiny ERP β€” MCP server Β· 21 tools | CodeSpar