Platform Features Comparisons Pricing & BYO-AI Enterprise & Security Documentation Video Academy Engineering Journal
Open Web Console CLI Quickstart

API & MCP Reference

Specifications for OpenAI/Anthropic drop-in compatibility and Model Context Protocol servers.

Base URL and Authentication

All API requests are sent to https://api.engra.io/v1 with a Bearer token header:

HTTP Header
Authorization: Bearer engra_sk_live_<YOUR_KEY>

Endpoints

POST /v1/chat/completions

OpenAI-compatible streaming chat completion endpoint supporting tool calling, function execution, and JSON mode.

POST /v1/messages

Anthropic-compatible endpoint supporting Claude message formats and system prompts.

Model Context Protocol (MCP)

Run the local MCP server via the CLI:

Terminal
$ ENGRA_MCP_SERVER=1 engra mcp