AgentPort Discovery
Resolve goals to machine-capable businesses and execution paths with discovery tools.
我該用這個嗎
品質與安全性
發現項目(5)
- HIGH
- MEDIUM在 capability.resolve 中
- LOW在 capability.resolve 中
- LOW在 business.search 中
- LOW在 business.get 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"agentport-discovery": {
"url": "https://discover.agentport.maxioos.com/mcp"
}
}
}遠端端點
https://discover.agentport.maxioos.com/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢capability.resolve(schemaVersion, intent, desiredOutcome, location, requiredCapabilities, ...)
Final discovery step for actionable goals: resolve a structured user goal to ranked machine-capable resources and provider-owned execution paths without executing the selected action. Use this after business.search/business.get whenever the user asks whether a provider can expose a machine-capable action or execution path. Any requiredCapabilities/preferredCapabilities/desiredActions/preferredActions values must be exact canonical AgentPort keys already published by a provider; never invent keys. If exact keys are unknown, use business.search and business.get first.
輸入結構描述
{
"type": "object",
"properties": {
"schemaVersion": {
"type": "string",
"enum": [
"1.0"
]
},
"intent": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"desiredOutcome": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"location": {
"type": "object",
"additionalProperties": false,
"properties": {
"near": {
"type": "string",
"maxLength": 160
},
"city": {
"type": "string",
"maxLength": 160
},
"region": {
"type": "string",
"maxLength": 160,
"description": "Region must match provider-published geography when used as a hard location requirement (for example WA rather than an invented synonym)."
},
"countryCode": {
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"postalCode": {
"type": "string",
"maxLength": 160
},
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"radiusKm": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000
}
}
},
"requiredCapabilities": {
"type": "array",
"maxItems": 16,
"items": {
"type": "string",
"maxLength": 128
},
"description": "Exact canonical AgentPort capability keys already published by a provider. Never invent or infer keys; discover them with business.search/business.get first when unknown."
},
"preferredCapabilities": {
"type": "array",
"maxItems": 16,
"items": {
"type": "string",
"maxLength": 128
},
"description": "Exact canonical AgentPort capability keys already published by a provider. Never invent or infer keys."
},
"desiredActions": {
"type": "array",
"maxItems": 16,
"items": {
"type": "string",
"maxLength": 128
},
"description": "Exact canonical AgentPort action keys already published by a provider (for example appointment.get_availability or appointment.create). Never invent or infer keys; discover them with business.search/business.get first when unknown."
},
"preferredActions": {
"type": "array",
"maxItems": 16,
"items": {
"type": "string",
"maxLength": 128
},
"description": "Exact canonical AgentPort action keys already published by a provider. Never invent or infer keys."
},
"executionRequired": {
"type": "boolean"
},
"constraints": {
"type": "object"
},
"preferences": {
"type": "object"
}
},
"required": [
"intent"
],
"additionalProperties": false
}🟢business.search(query, city, region, countryCode, capabilities, ...)
Find real businesses with published AgentPorts by natural-language need, location, and optional exact capability keys.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"description": "Natural-language business need, for example \"collision repair that can book an appointment\"."
},
"city": {
"type": "string",
"maxLength": 120
},
"region": {
"type": "string",
"maxLength": 120,
"description": "State, province, or region code/name."
},
"countryCode": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[A-Za-z]{2}$"
},
"capabilities": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 96
},
"description": "Optional exact AgentPort capability keys that every result must expose."
},
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"radiusKm": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10
}
},
"additionalProperties": false
}🟢business.get(slug)
Inspection step: resolve one discovered business by its stable AgentPort registry slug and inspect its exact published capability/action keys. For actionable requests, this is not final resolution; call capability.resolve after the relevant canonical keys are known.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 2,
"maxLength": 96,
"pattern": "^[a-z0-9][a-z0-9-]+$"
}
},
"required": [
"slug"
],
"additionalProperties": false
}社群
證據