AFAS Software MCP by usefulapi
Browse AFAS connectors, read their fields and records in AFAS Software.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"afas-software": {
"url": "https://afas-software.usefulapi.io/mcp"
}
}
}远程端点
https://afas-software.usefulapi.io/mcpstreamable-http它能做什么
工具清单
工具(3)
🟢afas_get_metainfo
List the GetConnectors and UpdateConnectors that the customer's AFAS app connector activates. Use it first to learn which connector names exist. Also checks that the environment and token work. AFAS: GET /profitrestservices/metainfo.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢afas_get_connector_meta(connector)
Get the field list of one GetConnector: field names, types and lengths. Use it before filtering or sorting. AFAS: GET /profitrestservices/metainfo/get/{connector}.
输入模式
{
"type": "object",
"properties": {
"connector": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,100}$",
"description": "The GetConnector name, e.g. Profit_Article (from afas_get_metainfo)."
}
},
"required": [
"connector"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢afas_get_connector(connector, filters, order_by, skip, take)
Read records from one GetConnector, with optional filters (combined with AND), sorting and paging. Returns { skip, take, rows }. Without take, AFAS returns 100 rows. Page with skip and take. AFAS: GET /profitrestservices/connectors/{connector}.
输入模式
{
"type": "object",
"properties": {
"connector": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,100}$",
"description": "The GetConnector name, e.g. Profit_Article (from afas_get_metainfo)."
},
"filters": {
"description": "Filters, all combined with AND.",
"maxItems": 10,
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,100}$",
"description": "Technical field id, e.g. Description."
},
"value": {
"type": "string",
"maxLength": 500,
"description": "Value to compare with. Commas and semicolons are not allowed in a value."
},
"operator_type": {
"type": "integer",
"minimum": 1,
"maximum": 15,
"description": "Operator: 1 equals, 2 greater or equal, 3 smaller or equal, 4 greater, 5 smaller, 6 contains, 7 not equal, 8 is empty, 9 not empty, 10 starts with, 11 does not contain, 12 does not start with, 13 ends with, 14 does not end with, 15 quick filter."
}
},
"required": [
"field",
"value",
"operator_type"
]
}
},
"order_by": {
"description": "Field ids to sort on. Prefix a field with '-' for descending order.",
"maxItems": 5,
"type": "array",
"items": {
"type": "string",
"pattern": "^-?[A-Za-z0-9_]{1,100}$"
}
},
"skip": {
"description": "Records to skip (default 0). Set skip and take to -1 to return all rows; AFAS fair use applies to large reads.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"take": {
"description": "Records to return (default 100). Set skip and take to -1 to return all rows.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"connector"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据