Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@POHODA MCP ServerShow me my 5 most recent issued invoices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
POHODA MCP Server
MCP server for POHODA (Stormware) accounting software. Manage invoices, stock, orders, bank documents, warehouse, and accounting from any MCP-compatible client.
48 tools covering all major POHODA agendas via mServer XML API.
Requirements
Node.js 20+
POHODA with mServer enabled and running
mServer user credentials with XML communication rights
Installation
git clone https://github.com/hlebtkachenko/pohoda-mcp.git
cd pohoda-mcp
npm ci
npm run buildConfiguration
Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"pohoda": {
"command": "node",
"args": ["/path/to/pohoda-mcp/dist/index.js"],
"env": {
"POHODA_URL": "http://localhost:444",
"POHODA_USERNAME": "<your-username>",
"POHODA_PASSWORD": "<your-password>",
"POHODA_ICO": "<your-company-ico>"
}
}
}
}Claude Desktop
claude_desktop_config.json (location)
{
"mcpServers": {
"pohoda": {
"command": "node",
"args": ["/path/to/pohoda-mcp/dist/index.js"],
"env": {
"POHODA_URL": "http://localhost:444",
"POHODA_USERNAME": "<your-username>",
"POHODA_PASSWORD": "<your-password>",
"POHODA_ICO": "<your-company-ico>"
}
}
}
}Claude Code
.mcp.json in your project root, or ~/.claude.json globally:
{
"mcpServers": {
"pohoda": {
"command": "node",
"args": ["/path/to/pohoda-mcp/dist/index.js"],
"env": {
"POHODA_URL": "http://localhost:444",
"POHODA_USERNAME": "<your-username>",
"POHODA_PASSWORD": "<your-password>",
"POHODA_ICO": "<your-company-ico>"
}
}
}
}Any MCP client (stdio)
The server uses stdio transport. Point your MCP client to:
node /path/to/pohoda-mcp/dist/index.jsWith environment variables set for authentication (see below).
Environment Variables
Variable | Required | Description |
| Yes | mServer URL (default port: 444) |
| Yes | POHODA user with XML rights |
| Yes | POHODA password |
| Yes | Company IČO (accounting unit) |
| No | Request timeout in ms (default: 120000) |
| No | Max retries on timeout/503 (default: 2) |
| No | Enable duplicate import checks (default: false) |
Tools
System (3)
Tool | Description |
| Check mServer status (processing queue, idle/working) |
| Get accounting unit info (company name, database, period) |
| Download a file from POHODA's documents folder |
Address Book (4)
Tool | Description |
| Export contacts with filters (name, IČO, code, date) |
| Create a new contact in address book |
| Update an existing contact by ID |
| Delete a contact by ID |
Invoices (3)
Tool | Description |
| Export invoices — issued, received, advance, credit notes, receivables, commitments |
| Create an invoice with line items, partner, symbols, VAT |
| Delete an invoice by ID |
Orders (3)
Tool | Description |
| Export issued/received orders with filters |
| Create an order with items and partner |
| Delete an order by ID |
Offers (2)
Tool | Description |
| Export issued/received offers |
| Create an offer with items |
Enquiries (2)
Tool | Description |
| Export issued/received enquiries |
| Create an enquiry with items |
Contracts (3)
Tool | Description |
| Export contracts with filters |
| Create a new contract |
| Delete a contract by ID |
Bank Documents (2)
Tool | Description |
| Export bank documents (receipts/expenses) |
| Create a bank document with items |
Cash Vouchers (2)
Tool | Description |
| Export cash register vouchers |
| Create a cash voucher (receipt/expense) |
Internal Documents (2)
Tool | Description |
| Export internal accounting documents |
| Create an internal document |
Stock / Inventory (5)
Tool | Description |
| Export stock items with filters (code, name, store) |
| Create a new stock item |
| Update a stock item by ID or code |
| Delete a stock item |
| List all stores (warehouses) |
Warehouse Documents (8)
Tool | Description |
| Export receiving documents (příjemky) |
| Create a receiving document |
| Export dispatch documents (výdejky) |
| Create a dispatch document |
| Export sales documents (prodejky) |
| Create a sales document |
| Export transfer documents (převodky) |
| Create a transfer document |
Production & Service (4)
Tool | Description |
| Export production documents |
| Create a production document |
| Export service records |
| Create a service record |
Reports (4)
Tool | Description |
| Export accounting journal entries |
| Export saldo/balance records |
| Export stock movement records |
| Export VAT classification records |
Settings (1)
Tool | Description |
| Export settings (numerical series, bank accounts, cash registers, centres, activities, payment methods, stores, storage, categories, accounting units) |
Docker
docker build -t pohoda-mcp .
docker run --rm -i \
-e POHODA_URL=http://host.docker.internal:444 \
-e POHODA_USERNAME=<your-username> \
-e POHODA_PASSWORD=<your-password> \
-e POHODA_ICO=<your-company-ico> \
pohoda-mcpMulti-stage build, runs as non-root node user.
Security
Credentials via environment variables only
STW-AuthorizationBasic auth per POHODA mServer specificationSTW-Application: pohoda-mcpheader for audit trail in POHODA monitoringSTW-Check-Duplicityheader support to prevent duplicate importsXML escaping handled by xmlbuilder2 for all user-provided values
Path traversal prevention for file downloads (normalize + reject
..prefixed paths)Input validation via Zod on all tool parameters
Architecture
src/
index.ts Entry point, env validation, tool registration
client.ts HTTP client (STW-Auth, Windows-1250, gzip/deflate, retries)
xml/
builder.ts DataPack XML envelope builder (xmlbuilder2)
parser.ts ResponsePack parser (fast-xml-parser)
namespaces.ts 40+ POHODA XML namespace URIs
core/
types.ts ToolResult interface, ok/err helpers
shared.ts Date conversion, env helpers
filters.ts Filter builder for export requests
tools/
system.ts Status, company info, file download (3 tools)
addresses.ts Address book CRUD (4 tools)
invoices.ts All invoice types (3 tools)
orders.ts Issued/received orders (3 tools)
offers.ts Offers (2 tools)
enquiries.ts Enquiries (2 tools)
contracts.ts Contracts (3 tools)
bank.ts Bank documents (2 tools)
vouchers.ts Cash vouchers (2 tools)
internal_docs.ts Internal documents (2 tools)
stock.ts Stock/inventory CRUD (5 tools)
warehouse.ts Příjemky, výdejky, prodejky, převodky (8 tools)
production.ts Production and service records (4 tools)
reports.ts Accountancy, balance, movements, VAT (4 tools)
settings.ts Numerical series, bank accounts, centres... (1 tool)POHODA mServer Setup
Open POHODA → Settings → mServer
Create a new mServer configuration
Set the listening port (default: 444)
Start the mServer
Ensure the user has XML communication rights (Settings → Access Rights → File → Data Communication)
For internet access, use HTTPS or VPN. mServer is primarily designed for local network use.
Tech Stack
TypeScript
@modelcontextprotocol/sdkZod (schema validation)
xmlbuilder2 (XML generation)
fast-xml-parser (XML parsing)
iconv-lite (Windows-1250 encoding)
Native
fetch
API Reference
License
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.