Ts Anaf
Description
TypeScript SDK, CLI, and MCP server for Romania's [ANAF e-Factura](https://www.anaf.ro/anaf/internet/ANAF/despre_ANAF/informatii_publice/media/e_factura) system.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
ts-anaf
TypeScript SDK, CLI, and MCP server for Romania's [ANAF e-Factura](https://www.anaf.ro/anaf/internet/ANAF/despre_ANAF/informatii_publice/media/e_factura) system.
Upload invoices, check statuses, download responses, validate XML, generate UBL, and look up company data — from code, the command line, or directly from an AI agent.
Packages
| Package | Description | Install |
|---|---|---|
| **@florinszilagyi/anaf-ts-sdk** | TypeScript SDK — OAuth, upload, status, download, UBL builder, company lookup | pnpm add @florinszilagyi/anaf-ts-sdk |
| **@florinszilagyi/anaf-cli** | Command-line tool — wraps the SDK with context management and JSON output | npm i -g @florinszilagyi/anaf-cli |
| **@florinszilagyi/anaf-mcp** | MCP server — exposes all SDK operations as tools for AI agents (Claude, etc.) | npx @florinszilagyi/anaf-mcp |
Agentic flows (Claude Code / Claude Desktop)
The MCP server lets an AI agent handle the full e-Factura workflow on your behalf — authenticate, build UBL invoices, validate, upload, poll status, and download — without writing any code.
Install via Claude Code plugin marketplace
/plugin marketplace add florin-szilagyi/ts-anaf
/plugin install anaf-mcp@ts-anaf # MCP server + skills
/plugin install anaf-cli@ts-anaf # CLI skills (manifest mode, scripting)
You need an OAuth application registered in the ANAF portal — see the [official registration guide](https://static.anaf.ro/static/10/Anaf/Informatii_R/API/Oauth_procedura_inregistrare_aplicatii_portal_ANAF.pdf).
After install, set your ANAF OAuth credentials in the MCP server env (via `/mcp` settings):
{
"ANAF_CLIENT_ID": "your-client-id",
"ANAF_CLIENT_SECRET": "your-client-secret",
"ANAF_REDIRECT_URI": "https://localhost:9002/callback",
"ANAF_ENV": "prod"
}
**Test vs Production:** Set `ANAF_ENV` to `"test"` to use the ANAF sandbox — no real invoices are submitted. Switch to
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11