Agents & integration

Integrations

GCTRL connects to any MCP client, agent framework, or system that can make an HTTP call. There is no proprietary protocol to adopt - pick the transport that matches where your agent runs. Remote agents only need one thing: the web origin (port 3001, your TLS domain, or a tailnet hostname) - see Networking & Ports. Full marketplace view: gctrl.tech/integrations.

Connection methods

MCP over HTTP (remote agents)

{
  "mcpServers": {
    "gctrl": {
      "type": "http",
      "url": "https://<your-install>/api/agent/mcp",
      "headers": { "Authorization": "ApiKey <token>" }
    }
  }
}

Off by default - enable the gateway in Settings → Agent. No separate port to open: the gateway is reachable at /api/agent/mcp on the same origin as the app UI.

MCP over stdio (local agents)

{
  "mcpServers": {
    "gctrl": {
      "command": "node",
      "args": ["services/mcp/dist/index.js"],
      "env": { "GCTRL_API_TOKEN": "gctrl_your_scoped_token" }
    }
  }
}

Build once with cd services/mcp && npm install && npm run build.

Direct HTTP (any framework, zero MCP)

curl -X POST https://<your-install>/api/agent/tools/search_entities \
  -H "Authorization: ApiKey <token>" \
  -H "Content-Type: application/json" \
  -d '{ "query": "Ada Lovelace" }'

Every tool GCTRL exposes over MCP is also callable directly at POST /api/agent/tools/<tool> - useful for frameworks with their own tool-calling convention. GET /api/agent/skill.md returns the canonical GCTRL memory skill as markdown, for frameworks that take a drop-in system-prompt file instead of an MCP config.

Every integration sees exactly the clearance and knowledge-base scope carried by its token - create tokens in Access Control.

After connecting: install the skill

Whichever transport you pick, the MCP config only gives the agent the tools. Right after connecting, install the GCTRL skill too - it teaches the agent when to read which memory layer and to always write conclusions back, which is what makes GCTRL's memory compound across sessions instead of sitting there unused. Canonical copy: gctrl.tech/skill.md.

Coding agents

AgentMethod
Claude CodeMCP http config in .mcp.json
CodexMCP config (~/.codex/config.toml)
KimiMCP
ClineMCP
OpenClawMCP or direct HTTP tools

IDEs

IDEMethod
CursorMCP (.cursor/mcp.json)
WindsurfMCP
ZedMCP
VS Code + GitHub CopilotMCP support / agent mode

Copilots

CopilotMethod
Microsoft Copilot StudioCustom connector → GCTRL REST API, Authorization: ApiKey header
GitHub CopilotMCP in agent mode

Agent frameworks

FrameworkMethod
Pi (built-in GCTRL agent)Zero setup - enable in Settings → Agent
PaperclipDrop-in: copy skill.md (GET /api/agent/skill.md), call POST /api/agent/tools/<tool>
HermesSame drop-in harness pattern as Paperclip
LangChainHTTP tools (POST /api/agent/tools/<tool>) or the MCP adapter
LlamaIndexSame - HTTP tools or MCP adapter

Automation

ToolMethod
n8nNative GCTRL nodes - see Settings → n8n
WebhooksSettings → Webhooks

Knowledge sources

SourceMethod
Google DriveConnector
ObsidianConnector
SharePointConnector
Website crawlerConnector
PDF / DOCX uploadUpload in the UI, or ingest_file from any connected agent

See also

Agents & MCP · Install the GCTRL Skill · Access Control · Quick Start