Integration

Connect Kohnex Brain to ChatGPT, Claude, Manus, OpenCode, or any AI agent. Choose MCP for native agent tools or REST API for custom integrations.

ChatGPT

Use Kohnex Brain as a Custom GPT Action via OpenAPI schema. Add knowledge graph intelligence to any ChatGPT conversation.

REST API (OpenAPI)

Claude Desktop / Code

Connect directly via MCP. Add one config block and all five Kohnex tools appear in Claude instantly.

MCP (Direct)

Manus

Connect via REST API bridge. Manus can call Kohnex Brain tools as external API actions for cross-domain reasoning.

REST API

OpenCode

Native MCP support. Add as remote server in opencode.json — all tools available in any agent.

MCP (Direct)

Cursor / VS Code

Both support MCP. Add Kohnex Brain as a remote MCP server. Get cross-domain intelligence inside your editor.

MCP (Direct)

Custom App / API

Use the REST API directly. Build your own integration or AI agent with JSON POST requests to kohnex.com.

REST API

Connect to ChatGPT

Kohnex Brain works as a Custom GPT Action using the OpenAPI schema. Your GPT gets access to all five brain tools.

{
  "openapi": "3.1.0",
  "info": {
    "title": "Kohnex Brain",
    "version": "1.0.0"
  },
  "servers": [
    {"url": "https://kohnex.com"}
  ],
  "paths": {
    "/api/v1/explore": {
      "post": {
        "summary": "Deep-explore the knowledge graph",
        "operationId": "kohnex_explore",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": ["query"],
                "properties": {
                  "query": {"type": "string", "description": "Your question or topic"},
                  "depth": {"type": "string", "default": "auto", "description": "quick, auto, or deep"}
                }
              }
            }
          }
        },
        "responses": {"200": {"description": "Comprehensive exploration"}}
      }
    },
    "/api/v1/think": {
      "post": {
        "summary": "Brain activation on a query",
        "operationId": "kohnex_think",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": ["query"],
                "properties": {
                  "query": {"type": "string"},
                  "mode": {"type": "string", "default": "auto"}
                }
              }
            }
          }
        },
        "responses": {"200": {"description": "OK"}}
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}

1. Create a Custom GPT

Go to ChatGPT and create a new Custom GPT. Configure basic profile and description.

2. Add Actions

Under "Actions", choose "Import from URL" and paste: https://kohnex.com/openapi.yaml

3. Set Authentication

Choose "Bearer" auth and enter your Kohnex API key: khnx_your_key

4. Configure GPT Instructions

Add this to GPT instructions:

You have access to Kohnex Brain — a cross-domain knowledge graph with 853+ nodes across AI, cybersecurity, nature, mathematics, philosophy, and more. Use the kohnex_explore function as your primary tool for user queries — it runs multiple thinking modes, explores relevant domains, finds cross-domain connections, and returns a methodology if one matches. Use kohnex_think for quick single-pass queries. The knowledge graph returns nature-inspired metaphors, ancient wisdom analogs, and eureka connections.

Full OpenAPI schema available at kohnex.com/openapi.yaml

Connect to Claude

Claude Desktop and Claude Code support MCP natively. Add Kohnex Brain as a remote MCP server.

Claude Desktop

Edit your MCP config file:

{ "mcpServers": { "kohnex": { "type": "remote", "url": "https://kohnex.com/mcp", "headers": { "Authorization": "Bearer khnx_your_key" } } } }

Claude Code

Run:

claude mcp add kohnex \ --type remote \ --url https://kohnex.com/mcp \ --headers '{"Authorization":"Bearer khnx_your_key"}'

After connecting, use: use kohnex to find nature metaphors for distributed consensus

Connect to Manus

Manus can use Kohnex Brain via REST API endpoints. Configure as an external API tool.

API Endpoint

https://kohnex.com/api/v1/think

Auth Header

Authorization: Bearer khnx_your_key

Example Request Body

{"query": "design self-healing microservices", "mode": "regeneration"}

Connect to OpenCode

Native MCP support. Add as remote server in your opencode.json.

{
  "mcp": {
    "kohnex": {
      "type": "remote",
      "url": "https://kohnex.com/mcp",
      "headers": {
        "Authorization": "Bearer khnx_your_key"
      }
    }
  }
}

Then restart OpenCode. Use in any agent: use kohnex to explore nature metaphors for my caching strategy

REST API Reference

All endpoints require Bearer auth with your Kohnex API key. Endpoints return JSON.

POST /api/v1/think

Full brain activation on any query. Returns top nodes, nature metaphor, ancient wisdom, and eureka connections.

{"query": "how to optimize transformer latency", "mode": "photosynthesis"}
POST /api/v1/path

Shortest path between two nodes in the knowledge graph.

{"source_id": "GT_nash", "target_id": "NI_bee_hive"}
POST /api/v1/domain

List all nodes in a domain: performance, cyber, fault, sovereign_math, etc.

{"domain_name": "performance"}
POST /api/v1/mode

Describe a thinking mode and its parameters.

{"mode_name": "quantum"}
GET /api/v1/stats

Get brain statistics: node counts by type, edge distribution, inhibitory ratio, domain coverage, methodology count.

POST /api/v1/explore

Deep exploration: runs multiple thinking modes, domain deep-dives, path-finding, and methodology matching in one call. The recommended tool for complex queries.

{"query": "design a self-healing microservice architecture", "depth": "auto"}
GET /api/v1/methodologies

List all methodologies. Filter by tag or domain.

/api/v1/methodologies?tag=security
POST /api/v1/methodologies/generate

AI-generate a new methodology from a prompt.

{"prompt": "zero-trust network architecture", "domain": "DM_cyber"}

Pricing by Tool

Tool Cost Plan Required
think, mode, stats1 queryStarter+
path5 queriesPro+
domain3 queriesPro+
explore5 queriesPro+
methodologies (list, get)1 queryStarter+
methodologies (generate, create, update, fork, delete)2-3 queriesPro+

FAQ

Which integration should I use?

Use MCP if you are in Claude Desktop, Claude Code, OpenCode, Cursor, or VS Code — it works natively. Use REST API + OpenAPI schema if you are in ChatGPT, a custom app, or a platform that cannot install MCP servers.

How do I get an API key?

Sign up at kohnex.com/pricing. The free Starter plan includes 100 queries.

Does the REST API use the same authentication?

Yes. All REST endpoints require a Bearer khnx_your_key header, just like MCP.

Are there rate limits?

Yes, rate limits depend on your plan: Starter 30 req/min, Pro 120 req/min, Team 600 req/min, Enterprise 1200 req/min.