# SEF e-fakture (Srbija) (mcpb · sef-mcp.mcpb)

Serbian SEF e-invoicing from Claude: drafts, approval before sending, status, cancel and storno.

- Trust score: 47/100 (low)
- Change this week: 0
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-21

## Components

- mcpb · `sef-mcp.mcpb`: 47/100 (this document), [markdown](https://verifymcp.io/servers/janko-vrbnjak-sef-mcp/sef-mcp.md), [page](https://verifymcp.io/servers/janko-vrbnjak-sef-mcp/sef-mcp)

## Channel facts

- Registry: `mcpb`
- Package: `https://github.com/janko-vrbnjak/sef-mcp/releases/download/v0.4.0/sef-mcp.mcpb`
- Transport: `stdio`
- SHA-256: `7e364c605b209cf5916f2c83388be03921c665f66bad8434a397f2e428b3a8fb`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-21.

- **Supply Chain Security**: 23/100
  - No malware scan is available for this kind of package: the supply-chain vendors we use do not cover it. This is a permanent gap in our coverage, not a finding about the package.
  - Known CVEs were checked across the 92 of 92 dependencies we could resolve, so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - 31 of 92 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 48/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 14 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 80/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 1534 tokens (~90/item across 17 items; 14 tools + 3 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 82/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 47% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - All 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.
  - An AI judge read all 15 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the SEF e-fakture (Srbija) MCP server?

SEF e-fakture (Srbija) ships as an MCPB bundle, a single file you download and open in an MCP host that supports MCPB bundles, such as Claude Desktop. The host reads the launch command from the bundle's own manifest, so there is no command to copy. Before opening it, check the file's SHA-256 matches the one the MCP registry declares for it, 7e364c605b209cf5916f2c83388be03921c665f66bad8434a397f2e428b3a8fb; the commands to do that are on this page. If it does not match, do not open it.

- Download bundle: `https://github.com/janko-vrbnjak/sef-mcp/releases/download/v0.4.0/sef-mcp.mcpb`
- SHA-256: `7e364c605b209cf5916f2c83388be03921c665f66bad8434a397f2e428b3a8fb`

### Verify on macOS / Linux

```bash
echo "7e364c605b209cf5916f2c83388be03921c665f66bad8434a397f2e428b3a8fb  sef-mcp.mcpb" | shasum -a 256 -c
```

### Verify on Windows (PowerShell)

```powershell
(Get-FileHash -Algorithm SHA256 .\sef-mcp.mcpb).Hash -eq "7e364c605b209cf5916f2c83388be03921c665f66bad8434a397f2e428b3a8fb"
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-06 (score 47)

First indexed and scored.

## MCP tools (14)

### `sef_check_setup` (~27 tokens)

Check sef-mcp setup

Shows environment (demo/prod), safety switches and profile summary. Makes no network calls.

### `sef_setup_company` (~330 tokens)

Set up the company profile

Creates or updates the seller (your company) in the local profile, so no JSON has to be edited by hand. Call without confirmCode to get a preview and a confirmCode; show the preview to the user; only after they confirm, call again with the same values plus confirmCode. Nothing is sent to SEF.

Input parameters:

- `address` (object, required): Ulica i broj, mesto, poštanski broj
- `bankAccount` (string, required): Tekući račun, npr. 265-0000000000000-00
- `confirmCode` (string): Kod iz pregleda; šalje se tek kad korisnik potvrdi pregled
- `defaultTax` (object): Podrazumevano PDV pravilo. Ako se izostavi: van PDV-a → SS / 0 / PDV-RS-33, u PDV-u → S / 20. Potvrditi sa knjigovođom.
- `email` (string)
- `mb` (string, required): Matični broj, 8 cifara
- `name` (string, required): Pun naziv firme kao u APR-u
- `notes` (array): Napomene na svakoj fakturi
- `numberPattern` (string): Regex za broj fakture, npr. ^FA-\d{4}-\d{3}$
- `paymentDueDays` (integer)
- `pib` (string, required): PIB, 9 cifara
- `unitCode` (string)
- `vatRegistered` (boolean, required): Da li je firma u sistemu PDV-a

### `sef_add_customer` (~226 tokens)

Add or update a customer

Adds a customer to the local profile (or replaces the one with the same id). Same preview → confirm flow as sef_setup_company. Nothing is sent to SEF.

Input parameters:

- `address` (object, required)
- `confirmCode` (string): Kod iz pregleda; šalje se tek kad korisnik potvrdi pregled
- `contractNumber` (string)
- `email` (string)
- `id` (string, required): Kratka oznaka kupca, npr. 'acme' (mala slova, cifre, - i _)
- `jbkjs` (string): Samo za javni sektor: JBKJS, 5 cifara
- `mb` (string)
- `name` (string, required)
- `notes` (array)
- `paymentDueDays` (integer)
- `pib` (string, required)
- `sendToCir` (string)
- `unitCode` (string)
- `vatRegistered` (boolean): Da li je kupac u sistemu PDV-a (podrazumevano: da)

### `sef_ping` (~25 tokens)

Test SEF connection

Calls a harmless read-only SEF endpoint to confirm the API key and environment work.

### `sef_list_customers` (~26 tokens)

List customers

Lists customers defined in the local profile (id, name, PIB, defaults).

### `sef_list_vat_exemption_reasons` (~36 tokens)

List VAT exemption reasons

Returns SEF's official list of VAT exemption reason codes (e.g. PDV-RS-33).

### `sef_list_unit_measures` (~35 tokens)

List unit measures

Returns SEF's list of accepted unit codes (e.g. H87 piece, HUR hour, MON month).

### `sef_draft_invoice` (~266 tokens)

Draft an invoice (no sending)

Builds a UBL 2.1 invoice locally from the profile and the given lines, stores it as a draft and returns totals plus an approvalCode. Nothing is sent to SEF. Always show the result to the user before sending.

Input parameters:

- `attachments` (array): PDF file paths relative to SEF_MCP_ATTACHMENTS_DIR (limit SEF_MCP_MAX_ATTACHMENTS, default 2)
- `contractNumber` (string)
- `customer` (string, required): Customer id or PIB from the profile
- `deliveryDate` (string): Datum prometa (mandatory on SEF since 3.14). Defaults to periodEnd, else issueDate — confirm with the user.
- `dueDate` (string): Due date; defaults to issueDate + paymentDueDays
- `issueDate` (string, required): Issue date, YYYY-MM-DD
- `lines` (array, required)
- `notes` (array): Extra notes, added after profile and customer default notes
- `number` (string, required): Invoice number exactly as it should appear on the invoice
- `orderNumber` (string)
- `paymentReference` (string): Poziv na broj
- `periodEnd` (string)
- `periodStart` (string)
- `sendToCir` (string)

### `sef_get_draft` (~39 tokens)

Read a draft

Returns a stored draft's summary, optionally with the full XML.

Input parameters:

- `draftId` (string, required)
- `includeXml` (boolean)

### `sef_send_invoice` (~174 tokens)

Send an approved draft to SEF

Uploads a previously drafted invoice to SEF. Requires the draftId and the approvalCode the user approved. Only call after the user explicitly approved this exact draft. In prod it also requires SEF_MCP_ALLOW_PROD_WRITE=true. Sends without SEF's own validation by default, like the SEF portal (SEF support: the option is not in operation yet). Pass executeValidation=true only if the user explicitly asks for it. A draft that was already sent successfully is not uploaded again: the result has alreadySent=true and the earlier SEF response.

Input parameters:

- `approvalCode` (string, required)
- `draftId` (string, required)
- `executeValidation` (boolean): Default false (as the SEF portal). true only on the user's explicit request; SEF says the option is not in operation yet.

### `sef_get_invoice` (~33 tokens)

Get sales invoice from SEF

Returns a sales invoice and its status from SEF by SEF invoiceId.

Input parameters:

- `invoiceId` (integer, required)

### `sef_list_invoice_ids` (~109 tokens)

List sales invoice ids

Lists SEF sales invoice ids by status within a date range. For New, Draft and Mistake the range filters by creation date; for all other statuses by sending date (SEF 3.15.0).

Input parameters:

- `dateFrom` (string, required): ISO date-time
- `dateTo` (string, required): ISO date-time
- `status` (string, required): SEF status, e.g. New, Draft, Mistake, Sent, Approved, Rejected, Cancelled, Storno

### `sef_cancel_invoice` (~66 tokens)

Cancel an invoice not yet delivered

Cancels a sales invoice on SEF. SEF allows this only for status Draft, New or Sending error; for Sent/Accepted/Rejected use sef_storno_invoice. Only call after explicit user approval.

Input parameters:

- `comment` (string, required)
- `invoiceId` (integer, required)

### `sef_storno_invoice` (~69 tokens)

Storno a sent invoice

Reverses (storno) a sales invoice on SEF. SEF allows this only for status Sent, Accepted or Rejected. Only call after explicit user approval.

Input parameters:

- `comment` (string, required)
- `invoiceId` (integer, required)
- `stornoNumber` (string)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/janko-vrbnjak-sef-mcp/sef-mcp#diagnostics

## Score history

- 2026-11-21: 47
- 2026-11-20: 47
- 2026-11-19: 47
- 2026-11-18: 47
- 2026-11-17: 47
- 2026-11-16: 47
- 2026-11-15: 47
- 2026-11-14: 47
- 2026-11-13: 47
- 2026-11-12: 47
- 2026-11-11: 47
- 2026-11-10: 47
- 2026-11-09: 47
- 2026-11-08: 47
- 2026-11-07: 47
- 2026-11-06: 47

## Common questions

### What is the SEF e-fakture (Srbija) MCP server?

SEF e-fakture (Srbija) is an MCP server listed in the public MCP registry as io.github.janko-vrbnjak/sef-mcp. Serbian SEF e-invoicing from Claude: drafts, approval before sending, status, cancel and storno. This page covers its MCPB bundle (https://github.com/janko-vrbnjak/sef-mcp/releases/download/v0.4.0/sef-mcp.mcpb).

### Is the SEF e-fakture (Srbija) MCP server safe to use?

SEF e-fakture (Srbija) scores 47 out of 100 on VerifyMCP. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the SEF e-fakture (Srbija) MCP server expose?

SEF e-fakture (Srbija) exposes 14 tools: sef_check_setup, sef_setup_company, sef_add_customer, sef_ping, sef_list_customers, and 9 more. Their descriptions and schemas cost roughly 1,461 tokens of context every time the server is loaded.

### What licence is the SEF e-fakture (Srbija) MCP server under?

SEF e-fakture (Srbija) declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the SEF e-fakture (Srbija) MCP server?

VerifyMCP ran 14 checks on SEF e-fakture (Srbija), covering Known CVEs, Install scripts, Dependency health, Source repository and 10 more. 2 items could not be completed, a gap on our side rather than a finding about SEF e-fakture (Srbija): Malware scan and Stability. One category scores 0 for that reason, because we only credit what we can confirm. Endpoint Security and Transport & Reachability do not apply to an MCPB bundle, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- Repository: https://github.com/janko-vrbnjak/sef-mcp
- Changelog RSS feed: https://verifymcp.io/servers/janko-vrbnjak-sef-mcp/sef-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/janko-vrbnjak-sef-mcp/sef-mcp/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/janko-vrbnjak-sef-mcp/sef-mcp.json
- HTML version of this page: https://verifymcp.io/servers/janko-vrbnjak-sef-mcp/sef-mcp
