AFAS Profit
AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.
7 天免费 · 无需信用卡 · EU 托管
问 AFAS 任何事
通过 AnythingMCP 对 AFAS Profit 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 AFASClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 AFAS Profit。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 AFAS Profit
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
AFAS exposes nothing until somebody publishes a GetConnector. That is the whole model, and it is why this adapter takes the connector name as a parameter rather than hard-coding entity paths.
- In AFAS open Algemeen → Beheer → App connector and create an app connector for the integration.
- Add the GetConnectors the agent should reach. The typed tools use the standard
Profit_Debtor,Profit_Debtor_Invoices(outstanding debtor items) andProfit_Employees; anything else, including your own custom GetConnectors, goes throughafas_profit_get_data. A GetConnector that has not been added to the app connector does not exist as far as the API is concerned. - Generate the token. AFAS gives you an XML blob like
<token><version>1</version><data>ABC123…</data></token>. Base64-encode that entire string and put the result inAFAS_TOKEN. AFAS's own UI offers a base64 version — use it. - Set
AFAS_ENVIRONMENTto the 5-digit environment number, e.g.12345(for environmentO12345AAthat is12345), not the fullO…code. The adapter calls the production hosthttps://12345.rest.afas.online/ProfitRestServices; for a test or acceptance environment change the base URL to….resttest.afas.onlineor….restaccept.afas.online.
The Authorization header is AfasToken <base64>, AFAS's own scheme.
Filtering uses three parallel parameters. filterfieldids, filtervalues and operatortypes are comma-separated lists read positionally: filterfieldids=Nummer,Datum, filtervalues=1001,2026-01-01, operatortypes=1,4. Operator 1 is equals, 2 is greater-or-equal, 3 is less-or-equal, 4 is greater, 5 is less, 6 is 'contains', 7 is not equal, 8 is 'is empty', 9 is 'is not empty', 10 is 'starts with', 11 'does not contain', 12 'does not start with', 13 'ends with', 14 'does not end with'. Operators 8 and 9 still need a (possibly empty) value. A comma between entries means AND; a semicolon starts an OR group. Getting the three lists out of step produces a wrong answer rather than an error.
skip and take page, default 0 and 100. Always pass orderbyfieldids when paging (AFAS calls it mandatory: without a sort the row order can change between calls). skip=-1&take=-1 returns everything, which AFAS strongly discourages. The query string is limited to about 2,000 characters; past that AFAS answers 404.
UpdateConnectors are deliberately not exposed. They write into AFAS with the full force of the business logic behind them, and a malformed payload is not something to discover from an agent.
Checked against AFAS's API documentation (docs.afas.help), not yet a live tenant. Paths, query parameters, operator codes and the standard GetConnector names come from AFAS's published docs and OpenAPI files. A 404 on a typed tool usually means that GetConnector has not been added to the app connector; afas_profit_list_connectors shows what is.