TS Anaf — Development skill for Claude Code
TypeScript SDK, CLI, and MCP server for Romania's ANAF e-Factura system.
How to install TS Anaf
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open florin-szilagyi/ts-anaf and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What TS Anaf does
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.
Alternatives in Development
- MCP Python SDK — Python SDK for building MCP servers 22.3k ★
- Mcporter — Call MCPs via TypeScript, masquerading as simple TypeScript API 4.1k ★
- Open Agent SDK TypeScript — Agent-SDK without CLI dependencies, as an alternative to claude-agent-sdk, completely open source 2.6k ★
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
Codex Agent SDK Go
Go SDK for the OpenAI Codex CLI app-server transport with JSON-RPC 2.0, typed events, approvals, MCP config, a
Agent Mux
unified TypeScript SDK and CLI (amux) for driving heterogeneous coding-agent harnesses — Claude Code, Codex, G
Claude Wire
TypeScript SDK for Claude Code - spawn, stream, and control the CLI programmatically
One Agent SDK
One SDK for every agent. Embed in-process agents — like Claude Code, ChatGPT Codex, and Kimi-CLI — directly in
TS MCP To Skill
Convert any MCP server into a Claude Skill with 90% context savings (using TypeScript)
Ariadne
Fast local MCP server for deterministic cross-service API-chain discovery across REST, GraphQL, Kafka, TypeScr
Related Agents
Diva Agent Builder
Builds a complete Diva SDK agent (Python diva-ai or TypeScript @diva-ai/sdk) from a spec — project scaffolding
MCP Currency
MCP protocol & Kotlin SDK currency expert. Researches the latest MCP spec revision, kotlin-sdk-server releases
Keel Plan Lens Dx
【計畫審查/DX 視角】開發者上手成本。建 persona card、量測 time-to-hello-world、走過 discover→install→hello world→first debug 旅程,每站附具體