Anwani
Anwani MCP: create and manage permanent 9-digit address codes through OAuth (9code.app).
我該用這個嗎
品質與安全性
發現項目(3)
- HIGH
- LOW在 patch_address 中
- LOW在 create_address 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"anwani-mcp": {
"command": "npx",
"args": [
"anwani-mcp"
]
}
}
}可執行的套件
1.1.3stdio遠端端點
https://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemotestreamable-http它能做什麼
工具清單
工具(6)
🟢session
Check that Anwani is connected for this user. Does not return internal IDs.
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢list_addresses
List addresses owned by the connected Anwani account (same quota as app/Telegram).
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}🔴create_address(idempotency_key, latitude, longitude, ownerName, label, ...)
Create one address within the user quota. Requires a real map pin from the user (latitude/longitude). NEVER invent coordinates, city, or display name. If the user did not provide a location (coords, Maps link, or clear place), ask them first — do not call this tool with sample/demo data.
輸入結構描述
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 8,
"maxLength": 128
},
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "User-provided latitude only — never invent."
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "User-provided longitude only — never invent."
},
"ownerName": {
"type": "string",
"maxLength": 80,
"description": "Display name only if the user provided one."
},
"label": {
"type": "string",
"maxLength": 80
},
"category": {
"type": "string",
"maxLength": 40
},
"instructions": {
"type": "string",
"maxLength": 500
},
"street": {
"type": "string",
"maxLength": 120
},
"houseNumber": {
"type": "string",
"maxLength": 20
},
"buildingName": {
"type": "string",
"maxLength": 80
},
"floor": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 10
}
]
},
"postalCode": {
"type": "string",
"maxLength": 20
},
"city": {
"type": "string",
"maxLength": 80,
"description": "Only if the user provided a city."
},
"neighborhood": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 40
},
"phone": {
"type": "string",
"maxLength": 20
},
"pinEnabled": {
"type": "boolean"
},
"pin": {
"type": "string",
"pattern": "^\\d{4}$"
}
},
"required": [
"idempotency_key",
"latitude",
"longitude"
],
"additionalProperties": false
}🔴patch_address(code, changes)
Patch only provided fields (e.g. instructions). Does not clear omitted fields. Coordinates cannot be changed.
輸入結構描述
{
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^[1-9]{9}$"
},
"changes": {
"type": "object",
"properties": {
"ownerName": {
"type": "string",
"maxLength": 80
},
"label": {
"type": "string",
"maxLength": 80
},
"instructions": {
"type": "string",
"maxLength": 500
},
"street": {
"type": "string",
"maxLength": 120
},
"houseNumber": {
"type": "string",
"maxLength": 20
},
"buildingName": {
"type": "string",
"maxLength": 80
},
"floor": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 10
}
]
},
"postalCode": {
"type": "string",
"maxLength": 20
},
"city": {
"type": "string",
"maxLength": 80
},
"neighborhood": {
"type": "string",
"maxLength": 80
},
"country": {
"type": "string",
"maxLength": 40
},
"phone": {
"type": "string",
"maxLength": 20
},
"pinEnabled": {
"type": "boolean"
},
"pin": {
"type": "string",
"pattern": "^\\d{4}$"
}
},
"additionalProperties": false
}
},
"required": [
"code",
"changes"
],
"additionalProperties": false
}🟢share_address(code)
Return the public deep link for an owned address code.
輸入結構描述
{
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^[1-9]{9}$"
}
},
"required": [
"code"
],
"additionalProperties": false
}🔴delete_address(code)
Permanently delete an address owned by the connected account.
輸入結構描述
{
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^[1-9]{9}$"
}
},
"required": [
"code"
],
"additionalProperties": false
}社群
證據