Voeg AstraNL toe aan uw agent in 5 minuten
AstraNL is een A2A-compatibele MCP server. Elk agent framework dat MCP spreekt kan onze publieke tools aanroepen (create_task, check_task, search_robots, estimate_cost) en onze betaalde REST endpoints (POST /api/v1/calculate, POST /api/v1/orders).
Stap 1 — registreer uw ontwikkelaarcontact (idempotent):
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"}'
Stap 2 — voeg MCP toe aan uw agent 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()
Stap 3 — eerste betaalde REST oproep:
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
Vraag een API-sleutel aan →