Skip to content

MCP servers ​

Octryx AI speaks the Model Context Protocol (MCP) both ways: agents in Octryx AI can use tools from external MCP servers, and coding clients such as Claude Code (or Codex, experimental) can use Octryx AI as an MCP server.

External MCP servers for agents ​

Built

Platform admins register MCP servers under Admin › Connections › MCP servers, for the whole platform or for one Workspace; Workspace admins choose which ones their Workspace uses. The list shows each server's name, source (catalog or custom), scope, transport, state, tools and the Workspaces it is allowed in.

  • Install from catalog: ready-made entries, today Context7 (needs its API key) and the AWS Knowledge MCP server.
  • Add custom MCP: remote servers over Streamable HTTP or SSE, with an http(s) address. Custom servers cannot carry stored credentials yet, and cannot be edited after they are added: remove and add again.
  • Connect / Disconnect switches a server on or off. New servers start off.

Which Workspace may use which server ​

Deny by default: a server does nothing until it is allowed in a Workspace. Allow in Workspaces opens a drawer where you choose the Workspaces and, per Workspace, All tools or Selected tools. Workspace admins and owners see the allow list under Workspace settings › Data › Connectors and can only narrow it: switch a server off, or on only if their own Workspace registered it. A data class rule can switch MCP off for a Workspace.

Writes ​

A tool whose risk is write, admin or unknown counts as a write to another system and goes through the approval gate. Chat turns are not offered MCP writes; those stay with workflow runs. Agents see the tools as mcp__<server>__<tool>.

Octryx AI as an MCP server ​

Built

Coding clients get Octryx AI's knowledge search, the knowledge graph, work items, workflow runs and read-only connector tools over MCP, under the same rules as the chat.

Endpointhttps://<your Octryx AI host>/api/v1/mcp/knowledge-protocol/mcp
TransportStreamable HTTP
Sign-inOAuth 2.0 in the browser (recommended), or a 24-hour bearer token
Scopesknowledge:read, knowledge:write, work:manage, workflow:read, workflow:execute

Claude Code ​

bash
claude mcp add --transport http --scope user octryx-knowledge \
  https://<your Octryx AI host>/api/v1/mcp/knowledge-protocol/mcp
# then, inside Claude Code:
/mcp        # sign in to the octryx-knowledge server in the browser

claude mcp list shows it. With OAuth, the client renews its access itself (a 30-day refresh token); nothing secret is stored in a config file.

Codex ​

Codex reads MCP servers from ~/.codex/config.toml:

toml
[mcp_servers.octryx-knowledge]
url = "https://<your Octryx AI host>/api/v1/mcp/knowledge-protocol/mcp"
bearer_token_env_var = "OCTRYX_MCP_TOKEN"

Codex uses a bearer token, which lasts 24 hours and is not renewed by itself.

VS Code with GitHub Copilot ​

Copilot's agent mode reads MCP servers from .vscode/mcp.json in a project, or from your user configuration (MCP: Open User Configuration):

json
{
  "servers": {
    "octryx-knowledge": {
      "type": "http",
      "url": "https://<your Octryx AI host>/api/v1/mcp/knowledge-protocol/mcp"
    }
  }
}

Open the Copilot Chat view and switch to Agent mode. On first use VS Code opens the browser to sign in and consent; then the tools appear in the tools picker.

Claude Desktop ​

Claude Desktop reads MCP servers from claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/). It speaks MCP over stdio, so the remote server is bridged with mcp-remote, which handles the browser sign-in and the token renewal. It needs Node and npx:

json
{
  "mcpServers": {
    "octryx-knowledge": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://<your Octryx AI host>/api/v1/mcp/knowledge-protocol/mcp"]
    }
  }
}

Restart Claude Desktop; on first use the browser opens for sign-in and consent. Newer builds can instead add the URL under Settings › Connectors › Add custom connector, also with OAuth.

OpenCode ​

bash
opencode mcp add octryx-knowledge --url https://<your Octryx AI host>/api/v1/mcp/knowledge-protocol/mcp
opencode mcp auth octryx-knowledge      # sign in in the browser
opencode mcp list                       # shows it connected

Any other client ​

Point the client at the endpoint and let it sign in: the server publishes standard OAuth metadata (protected-resource metadata, dynamic client registration, browser consent).

What we have tried

Claude Code uses this server in our own runs, set up by the launcher. The VS Code, Claude Desktop and OpenCode setups above are those clients' standard MCP configuration; we have not tried them against Octryx AI ourselves.

What it may do ​

  • The Workspace comes from the sign-in's grant or the X-Octryx-Workspace header.
  • Connector tools on this server (Jira, Confluence, ServiceNow, Kubernetes, AWS) are read-only and pass the same gates as in the chat.
  • A REST call that writes needs the knowledge:write scope and a person's approval in Octryx AI, per call.

The launcher octryx-claude sets this server up for Claude Code by itself, under the name octryx-knowledge; agents then see its tools as mcp__octryx-knowledge__<tool>. Use the same name when you add it by hand.

Octryx AI v0.0.1-alpha · Apache 2.0 · octryx.ai