{
  "name": "optiq-code",
  "description": "Deterministic code context engine for software repositories. Indexes codebases, resolves symbol relationships, and delivers ranked search results for AI coding agents.",
  "version": "1.0.0",
  "serverUrl": "https://api.optiqcode.com/mcp",
  "transport": "streamable-http",
  "authentication": {
    "type": "bearer",
    "tokenUrl": "https://optiqcode.com/dashboard/api-keys",
    "oauthMetadataUrl": "https://optiqcode.com/.well-known/oauth-authorization-server"
  },
  "icon": "https://optiqcode.com/favicon-96x96.png",
  "homepage": "https://optiqcode.com",
  "documentation": "https://optiqcode.com/docs",
  "tools": [
    {
      "name": "optiq_search",
      "description": "Search indexed code using natural language. Returns ranked results with function signatures, call graphs, and confidence scores between 0 and 1.",
      "annotations": { "readOnlyHint": true, "destructiveHint": false, "idempotentHint": true },
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": { "type": "string", "description": "Natural language search query describing what code you are looking for" },
          "repo_id": { "type": "string", "description": "Repository identifier to scope the search" },
          "limit": { "type": "number", "description": "Maximum results (1-50)", "default": 10 }
        },
        "required": ["query"]
      }
    },
    {
      "name": "optiq_index",
      "description": "Index a directory for code search. Parses ASTs, resolves imports, and builds dependency graphs across 12 languages.",
      "annotations": { "readOnlyHint": false, "destructiveHint": false, "idempotentHint": true },
      "inputSchema": {
        "type": "object",
        "properties": {
          "path": { "type": "string", "description": "Absolute directory path to index" },
          "fresh": { "type": "boolean", "description": "Force clean re-index", "default": false }
        },
        "required": ["path"]
      }
    },
    {
      "name": "optiq_repos",
      "description": "List all indexed repositories and their current status including file counts, languages detected, and last indexed timestamp.",
      "annotations": { "readOnlyHint": true, "destructiveHint": false, "idempotentHint": true },
      "inputSchema": {
        "type": "object",
        "properties": {
          "path": { "type": "string", "description": "Optional directory path to check" }
        }
      }
    },
    {
      "name": "optiq_status",
      "description": "Check the status of an indexing job. Returns progress percentage, files processed, and completion state.",
      "annotations": { "readOnlyHint": true, "destructiveHint": false, "idempotentHint": true },
      "inputSchema": {
        "type": "object",
        "properties": {
          "job_id": { "type": "string", "description": "Job ID from indexing request" }
        },
        "required": ["job_id"]
      }
    }
  ]
}
