Minab school MCP

Connect an agent to one school

The key is the school. An agent cannot choose another school, and it cannot see Minab subscription billing.

Endpoint

POST https://api.minab.app/api/v1/mcp

GET https://api.minab.app/api/v1/mcp returns this same address as JSON.

Header: Authorization: Bearer minab_mcp_…

Protocol: JSON-RPC 2.0, MCP methods initialize, tools/list, and tools/call.

Before the first call

  1. Minab turns MCP on for that school in the platform school screen.
  2. The school manager opens Settings → MCP, turns the school switch on, names a key, ticks scopes, and sets how many days it lasts.
  3. The secret is shown once. Store it in the agent. Revoke it from the same tab.

Initialize

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {}
}

List tools

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/list"
}

The list contains only the scopes on the key.

Scopes

Writes need a preview

The first tools/call for a write returns confirm_token and writes nothing. Send the same arguments again with that token within 10 minutes.

{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "insights.read",
    "arguments": {}
  }
}