Skip to main content

MCP server for AI assistants

All paths below use https://api.lordbase.com. Read conventions for headers, authentication, pagination and error handling. Values in responses are illustrative; examples show selected fields, not fixed quotas or service guarantees.

Developer tokens authorize only explicitly supported operations. Required scopes appear below; account, billing and token-management operations require a dashboard session. See token permissions.

Event stream (not supported) — GET​

GET /e/v1/mcp/

Authentication: Developer access token only: Authorization: Bearer YOUR_DEVELOPER_TOKEN with an active LordBase subscription. Dashboard sessions are refused. Every tool call is then checked against the scopes of the operation it performs.

Request and permissions: Not used: the server sends no event stream. Always 405 with Allow: POST.

Response: 405

Empty body. Do not parse JSON for this response.

Failures: Common API errors, plus the validation, role, state, engine and plan restrictions stated above.

End a session (not supported) — DELETE​

DELETE /e/v1/mcp/

Authentication: Developer access token only: Authorization: Bearer YOUR_DEVELOPER_TOKEN with an active LordBase subscription. Dashboard sessions are refused. Every tool call is then checked against the scopes of the operation it performs.

Request and permissions: Not used: the server keeps no session. Always 405 with Allow: POST.

Response: 405

Empty body. Do not parse JSON for this response.

Failures: Common API errors, plus the validation, role, state, engine and plan restrictions stated above.

Send an MCP message — POST​

POST /e/v1/mcp/

Authentication: Developer access token only: Authorization: Bearer YOUR_DEVELOPER_TOKEN with an active LordBase subscription. Dashboard sessions are refused. Every tool call is then checked against the scopes of the operation it performs.

Request and permissions: Model Context Protocol (Streamable HTTP, answered in JSON). Body: one JSON-RPC 2.0 message or a batch of up to 20. Methods: initialize, ping, tools/list, tools/call. A notification (no id) answers 202 with no body. Requests with an Origin header (browsers) are refused with 403. Each tool call is checked against the scopes of the operation it performs, listed in the MCP guide. A tool error is a normal 200 answer with result.isError true and the API's own error in the content.

Example JSON body:

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_workspaces",
"arguments": {}
}
}

Response: 200

{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "{\"owned_workspaces\":[...],\"member_workspaces\":[]}"
}
],
"isError": false
}
}

Failures: Common API errors, plus the validation, role, state, engine and plan restrictions stated above.