Tiny

Finance and commerce

MCP server for Tiny ERP, products, stock, warehouses, price lists, orders, invoices, AP/AR.

Your AI app calls the Tiny MCP server, which does the finance and commerce work and sends the result back to the chat.

About Tiny

Tiny is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Tiny ERP, products, stock, warehouses, price lists, orders, invoices, AP/AR.

Tiny runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-tiny@0.2.2 and talks to it over standard input and output. It needs TINY_API_TOKEN set before Tiny starts.

Tiny is listed in the official MCP registry as io.github.codespar/mcp-tiny, version 0.2.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-tiny
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-tiny

How to set up Tiny

  1. Install Node.js on the machine that runs your AI app, because Tiny starts with npx and downloads its package on first run.
  2. Create TINY_API_TOKEN for Tiny in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Tiny to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Tiny tools to confirm the connection.
  5. Run one read-only task with Tiny first, and keep your app asking before each tool call until the results look right.

Tiny compared with similar servers

  • Transak by codespar has fewer GitHub stars than Tiny (278 against 278); both are community servers, and both run locally.
  • Tienda Nube by codespar has fewer GitHub stars than Tiny (278 against 278); both are community servers, and both run locally.
  • Transbank by codespar has fewer GitHub stars than Tiny (278 against 278); both are community servers, and both run locally.

Before you connect Tiny

  • Give Tiny its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Tiny tool call until you trust what it does with them.
  • Treat text that Tiny fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Tiny on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Tiny

How marketing and sales teams put Tiny to work, by company size. Pick the size closest to yours and start Tiny on one use case.

Small business

  • A small business can ask Tiny which products and customers drive margin, then plan promotions around them.
  • Owners can use Tiny to check refunds, failed payments and churn reasons without opening three dashboards.
  • Tiny runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Tiny to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Tiny to check spend against budget each week and move money to what's working.
  • Start Tiny on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Tiny read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Tiny to answer revenue questions by channel and region with figures finance signs off on.
  • Tiny is a community server, so have security review the code and pin a version before Tiny touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Tiny README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-tiny

MCP server for Tiny ERP, products, orders, contacts, invoices, stock, and accounts payable

Quick Start

Claude Desktop

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

{
  "mcpServers": {
    "tiny": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-tiny"],
      "env": {
        "TINY_API_TOKEN": "your-token"
      }
    }
  }
}
Claude Code
claude mcp add tiny -- npx @codespar/mcp-tiny
Cursor / VS Code

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

{
  "servers": {
    "tiny": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-tiny"],
      "env": {
        "TINY_API_TOKEN": "your-token"
      }
    }
  }
}

Tools (21)

Tool Purpose
list_products List products in Tiny ERP
get_product Get product details by ID
list_orders List sales orders in Tiny ERP
get_order Get order details by ID
list_contacts List contacts in Tiny ERP
get_contact Get contact details by ID
create_invoice Create a fiscal invoice (NF-e) from an order in Tiny
get_invoice Get invoice details by ID
get_stock Get current stock for a product
list_accounts_payable List accounts payable in Tiny ERP
update_stock Update (adjust) product stock balance, credit or debit a quantity for a deposit
list_categories List product categories as a tree in Tiny ERP
list_warehouses List stock warehouses (depósitos) configured in Tiny ERP
list_price_lists List price lists (listas de preços) configured in Tiny ERP
update_order_status Change a sales order's status, useful for cancelling or marking as approved/billed
list_invoices List fiscal invoices (NF-e/NFC-e) in Tiny ERP
get_invoice_xml Get the XML payload of an issued invoice (NF-e)
get_invoice_link Get the DANFE PDF/link for an issued invoice
send_invoice_email Email an issued invoice to a recipient
list_accounts_receivable List accounts receivable in Tiny ERP
get_account_receivable Get a single accounts-receivable record by ID

Authentication

Tiny uses a token parameter passed in each request.

Sandbox / Testing

Tiny provides test access via account registration.

Get your credentials
  1. Go to Tiny ERP
  2. Create an account
  3. Navigate to API settings to generate a token
  4. Set the TINY_API_TOKEN environment variable

Environment Variables

Variable Required Description
TINY_API_TOKEN Yes API token from Tiny ERP

Roadmap

v0.2 (planned)
  • create_product, Create a new product
  • update_product, Update product details
  • create_contact, Create a contact (customer/supplier)
  • update_contact, Update contact details
  • get_financial_summary, Get financial summary report
v0.3 (planned)
  • fiscal_reports, Generate fiscal reports (NF-e, NFS-e)
  • multi_company, Multi-company management

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

Questions about Tiny

What is the Tiny MCP server?

MCP server for Tiny ERP, products, stock, warehouses, price lists, orders, invoices, AP/AR. Tiny is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Tiny MCP server?

Add Tiny to your AI app's MCP config with the command npx -y @codespar/mcp-tiny@0.2.2. In Claude Code, run claude mcp add --transport stdio codespar-tiny -- npx -y @codespar/mcp-tiny@0.2.2. To run Tiny this way you need Node.js installed.

Does Tiny need an API key?

Yes. Tiny expects TINY_API_TOKEN to be set. Create the key for Tiny in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Tiny an official MCP server?

No. Tiny is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Tiny access to company data.

What license is Tiny under?

Tiny is released under the MIT license, according to its GitHub repository. The license covers the code of Tiny; the service it connects to has its own terms.