mcp-server-abraflexi¶
An MCP server for the AbraFlexi ERP, built on FastMCP and python-abraflexi.
Companion package: mcprack-mcp-server-abraflexi. Binary:
/usr/bin/mcp-server-abraflexi (abraflexi-mcp is a deprecated alias).
sudo apt install mcprack-mcp-server-abraflexi
One server instance is bound to exactly one AbraFlexi company for its whole
lifetime. Call the server_info tool to see which company and URL a running
server uses; the main record-fetching tools echo it back in a _context block.
For several companies register several entries of the same server with different
variables (Registering an MCP server).
Configuration¶
Variable |
Meaning |
|---|---|
|
Base URL of the AbraFlexi server |
|
Company (accounting unit) to work with |
|
Credentials; |
|
|
|
Request timeout |
|
Only for running the server stand-alone over streamable HTTP; mcprack
always uses |
Register the plain values and keep the password in the secret store:
sudo mcprack server edit mcp-server-abraflexi \
--set-env ABRAFLEXI_URL=https://abraflexi.example.com:5434 \
--set-env ABRAFLEXI_COMPANY=mycompany \
--set-env ABRAFLEXI_LOGIN=winstrom \
--add-secret-key ABRAFLEXI_PASSWORD --allow-user-override
sudo mcprack secret set mcp-server-abraflexi ABRAFLEXI_PASSWORD
Allow users to override ABRAFLEXI_LOGIN and ABRAFLEXI_PASSWORD so that every
person acts with their own AbraFlexi account (Access control).
Tools¶
Group |
Examples |
|---|---|
Identity |
|
Invoices |
|
Issued-invoice logic |
|
Contacts, products, banking |
|
Generic evidence access |
|
Change tracking and webhooks |
|
Company |
|
Writes are refused while READ_ONLY is true.