Додайте AstraNL вашому агенту за 5 хвилин
AstraNL — A2A-сумісний MCP-сервер. Будь-який агент фреймворк, що розуміє MCP, може викликати наші публічні інструменти (create_task, check_task, search_robots, estimate_cost) і наші платні REST endpointи (POST /api/v1/calculate, POST /api/v1/orders).
Крок 1 — зареєструйте свій розробницький контакт (ідемпотентно):
curl -X POST https://astranl.com/api/v1/agent/discover \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com","source_community":"manual","framework_hint":"crewai"}'
Крок 2 — додайте MCP в config агента:
Claude Desktop
{
"mcpServers": {
"astranl": {
"url": "https://astranl.com/mcp/sse",
"transport": "sse"
}
}
}Cursor
{
"mcpServers": {
"astranl": { "url": "https://astranl.com/mcp/sse" }
}
}CrewAI / LangGraph (Python)
import requests
resp = requests.post(
"https://astranl.com/api/v1/calculate",
headers={"X-API-Key": "<your-key>"},
json={"work_type": "flooring", "inputs": {"area_m2": 10}},
)
bom = resp.json()
Крок 3 — перший платний REST виклик:
curl -X POST https://astranl.com/api/v1/calculate \
-H "X-API-Key: <get-from-pricing>" \
-H "Content-Type: application/json" \
-d '{"work_type":"flooring","inputs":{"area_m2":10}}'
JSON manifest: /agent-quickstart.json
Отримати API ключ →