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
- 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 ★
- Storybloq — Cross-session context for Claude Code 696 ★
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
Ade
Plan, apply, and revert one agent development environment (MCP servers, skills, instructions, settings, plugin
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
ClaudeSDKBasedResearchAssistant
a small CLI agent built on a real hand-written MCP server talking to a Claude Agent SDK client. that answers q
Primer Timbre
Timbra tu primera factura de ingreso en el ambiente de pruebas de FiscalAPI con el SDK de tu proyecto, de punt
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
Related Agents
Server Surveyor
Use this agent to inventory a TypeScript MCP server built on the official MCP SDK before migrating it to mcp-u
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