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"
}社群
證據