Wave 11·Connect · part of AI Dimensie·Why Connect? →·⌘K jump

Docs

Get started infive minutes

Three steps: provision an API key, store a connector credential, and call a tool through the MCP endpoint. No agents, no orchestration framework — just HTTP.

1

Provision an API key

Set CONNECT_API_KEY in your environment. The key is the only thing that authenticates requests to the Connect API — there is no user model in the MVP.

bash⌘C / copy
# .env.local
CONNECT_API_KEY=$(openssl rand -hex 24)

A dev default (dev-connect-key) is used if no key is set, with a one-time warning logged on startup. Always set a real key in production.

2

Store a connector credential

Every connector is keyed by an id (e.g. github). Send the credential once via POST /api/connectors/<id>/connect. The secret lives in the in-memory vault for the lifetime of the process.

bash⌘C / copy
curl -X POST \
  -H "Authorization: Bearer $CONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"secret": "ghp_…your_personal_access_token"}' \
  https://connect.aidimension.io/api/connectors/github/connect
3

Call a tool via the MCP endpoint

The MCP endpoint accepts a namespaced tool key and an args object. The vault lookup and credential injection happen automatically.

bash⌘C / copy
curl -X POST \
  -H "Authorization: Bearer $CONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool": "github.get_user", "args": {"login": "octocat"}}' \
  https://connect.aidimension.io/api/mcp/invoke

A successful response returns the tool result directly:

json⌘C / copy
{
  "content": {
    "login": "octocat",
    "name": "The Octocat",
    "bio": "GitHub mascot",
    "public_repos": 8
  },
  "isError": false
}

Errors come back structured too — isError: true with the upstream status code and a human-readable message incontent.error.

4

List available tools

Discover every tool exposed by every live connector in one call. The response uses MCP namespacing (<connectorId>.<toolName>).

bash⌘C / copy
curl -H "Authorization: Bearer $CONNECT_API_KEY" \
  https://connect.aidimension.io/api/mcp/tools
5

Wire it into your agent

Any MCP-aware client can drive the /api/mcp/tools and /api/mcp/invoke endpoints as a single MCP server. For non-MCP clients, use the REST-style /api/connectors/<id>/invoke endpoint with a plain tool + args body.

For a quick visual check, the /dashboard page lets you store a credential and invoke a tool in the browser.