- TypeScript
- Bun
- MCP
Accurate MCP Server
MCP server that connects AI assistants like Claude to Accurate Online data — ask about stock, invoices, or financial reports in natural language and get answers from real accounting data.
About this project
Built a stdio-based MCP server in TypeScript on Bun. The Accurate client wraps authentication — automatic OAuth login via bun run login with auto-refreshing tokens, or a static token fallback — plus session/host management, HTTP calls with retry on stale sessions and backoff on HTTP 429, and light caching for master data. Seven MCP tools cover items, sales and purchase invoices, profit & loss, cash & bank balances, and receivables aging. Raw Accurate API errors are mapped to clear Indonesian messages the AI can relay accurately.
A working MCP server with 7 tools for items, sales/purchase invoices, profit & loss, cash & bank, and receivables aging. Log in once with bun run login and tokens refresh automatically. Includes bun run demo to generate a question-answer transcript ready for screenshots and videos.
More Work
Ongkir SDK
Unofficial multi-provider TypeScript SDK for Indonesia shipping rates & tracking — Biteship, Komerce (RajaOngkir), Shipper — one ShippingProvider contract, bring-your-own-key, runtime-agnostic.
EngineeringChat Widget
Visual CSS generator for YouTube live chat widgets — customize colors, fonts, layout, and animations with real-time preview.