{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.GCTRL-TECH/gctrl",
  "slug": "io.github.gctrl-tech.gctrl",
  "title": "gctrl",
  "summary": "Governed graph-native agent memory: knowledge extraction, fusion, hybrid RAG, scoped access tokens.",
  "version": "1.2.0",
  "serverKey": "gctrl",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.gctrl-tech.gctrl",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.gctrl-tech.gctrl/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T13:42:00.324353929Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gctrl-mcp@1.2.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add gctrl -e 'GCTRL_API_TOKEN=<GCTRL_API_TOKEN>' -- npx -y gctrl-mcp@1.2.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"gctrl\": {\n      \"args\": [\n        \"-y\",\n        \"gctrl-mcp@1.2.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GCTRL_API_TOKEN\": \"<GCTRL_API_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"gctrl\": {\n      \"args\": [\n        \"-y\",\n        \"gctrl-mcp@1.2.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GCTRL_API_TOKEN\": \"<GCTRL_API_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"GCTRL_API_TOKEN\",\n      \"id\": \"gctrl-api-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"gctrl\": {\n      \"args\": [\n        \"-y\",\n        \"gctrl-mcp@1.2.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GCTRL_API_TOKEN\": \"${input:gctrl-api-token}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.gctrl]\ncommand = \"npx\"\nargs = [\"-y\", \"gctrl-mcp@1.2.0\"]\nenv = { \"GCTRL_API_TOKEN\" = \"<GCTRL_API_TOKEN>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "GCTRL_GATEWAY_URL",
      "required": false,
      "secret": false,
      "description": "URL of your GCTRL harness MCP gateway, e.g. http://localhost:4000/api/agent/mcp (recommended mode)",
      "help": "URL of your GCTRL harness MCP gateway, e.g. http://localhost:4000/api/agent/mcp (recommended mode)",
      "placeholder": "<GCTRL_GATEWAY_URL>"
    },
    {
      "name": "GCTRL_API_URL",
      "required": false,
      "secret": false,
      "description": "Direct GCTRL API base URL (alternative to gateway mode), e.g. http://localhost:4000/api",
      "help": "Direct GCTRL API base URL (alternative to gateway mode), e.g. http://localhost:4000/api",
      "placeholder": "<GCTRL_API_URL>"
    },
    {
      "name": "GCTRL_API_TOKEN",
      "required": true,
      "secret": true,
      "description": "Scoped GCTRL Access Token (gctrl_â€¦) created in Settings â†’ Access Control",
      "help": "Scoped GCTRL Access Token (gctrl_â€¦) created in Settings â†’ Access Control",
      "placeholder": "<GCTRL_API_TOKEN>"
    }
  ],
  "expectedTools": [
    "gctrl_extract",
    "borghive_extract",
    "gctrl_query",
    "borghive_query",
    "gctrl_search_entities",
    "borghive_search_entities",
    "gctrl_get_dossier",
    "borghive_get_dossier",
    "gctrl_list_graphs",
    "borghive_list_graphs",
    "gctrl_fuse",
    "borghive_fuse",
    "gctrl_distill",
    "borghive_distill",
    "gctrl_wiki_page",
    "borghive_wiki_page",
    "gctrl_search_chunks",
    "borghive_search_chunks",
    "gctrl_get_entity",
    "borghive_get_entity",
    "gctrl_get_neighbors",
    "borghive_get_neighbors",
    "gctrl_shortest_path",
    "borghive_shortest_path",
    "gctrl_list_conflicts",
    "borghive_list_conflicts",
    "gctrl_detect_communities",
    "borghive_detect_communities",
    "gctrl_wiki_graph",
    "borghive_wiki_graph",
    "gctrl_ingest_repo",
    "borghive_ingest_repo",
    "gctrl_pin_dossier",
    "borghive_pin_dossier",
    "gctrl_memory_feedback",
    "borghive_memory_feedback",
    "gctrl_memory_health",
    "borghive_memory_health",
    "gctrl_run_maintenance",
    "borghive_run_maintenance",
    "gctrl_get_user_profile",
    "borghive_get_user_profile",
    "gctrl_list_ontologies",
    "borghive_list_ontologies",
    "gctrl_list_extractions",
    "borghive_list_extractions",
    "gctrl_store",
    "borghive_store",
    "gctrl_schema",
    "borghive_schema",
    "gctrl_find_file",
    "gctrl_get_sync_status",
    "gctrl_ingest_file",
    "gctrl_set_privacy_mode",
    "borghive_set_privacy_mode",
    "gctrl_code_index",
    "gctrl_code_symbol",
    "gctrl_code_trace",
    "gctrl_code_impact",
    "gctrl_code_architecture"
  ],
  "agentSteps": [
    "Ask the user for: GCTRL_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: gctrl_extract, borghive_extract, gctrl_query, borghive_query, gctrl_search_entities, borghive_search_entities, gctrl_get_dossier, borghive_get_dossier, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T13:42:00.324353929Z"
}
