Wird geladen…
Integrieren Sie Attorlys KI-Funktionen mit dem Model Context Protocol (MCP) in Ihre Anwendungen
Richten Sie Ihre MCP-Integration in wenigen Minuten ein
Gehen Sie zu Einstellungen > MCP in Ihrem Dashboard und erstellen Sie eine neue Verbindung. Wählen Sie die Berechtigungen, die Ihre Integration benötigt.
Einstellungen öffnenInitialisieren Sie die Verbindung zum MCP-Server:
curl -X POST https://attorly.ai/api/mcp \
-H "Authorization: Bearer lbmcp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {
"name": "your-client",
"version": "1.0.0"
}
}
}'Entdecken Sie, welche Werkzeuge mit Ihren Berechtigungen verfügbar sind:
curl -X POST https://attorly.ai/api/mcp \
-H "Authorization: Bearer lbmcp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/list"
}'Führen Sie ein Werkzeug aus, um ein Dokument zu analysieren:
curl -X POST https://attorly.ai/api/mcp \
-H "Authorization: Bearer lbmcp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "documents/analyze_quick",
"arguments": {
"content": "This Agreement is entered into..."
}
}
}'