Skip to main content
TI

Tiny ERP

v0.2.0API 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

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

All credentials are encrypted at rest in an isolated vault scoped per organization. OAuth2 tokens are automatically refreshed before expiry. Your agent code never sees raw secrets โ€” it receives scoped, short-lived session tokens.
Servers โ€” Every LatAm commerce API your agent needs | CodeSpar