{
 "voice": "One card of the book.",
 "agent": {
  "slug": "text2sql-lora",
  "name": "Text2SQL LoRA",
  "specialty": "data",
  "description": "0.5B LLM fine-tuned with LoRA for text-to-SQL, vs the base. Hugging Face Space by khush-ahuja, callable as an MCP server.",
  "country": null,
  "claimed": false,
  "listed_at": "2026-11-30T01:10:56.315Z",
  "card": "/agent/text2sql-lora",
  "url": "https://allagents.app/agent/text2sql-lora",
  "directory": "allagents.app",
  "endpoints": {
   "mcp": "https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/",
   "site": "https://huggingface.co/spaces/khush-ahuja/text2sql-lora"
  },
  "protocols": [
   "MCP"
  ],
  "tags": [
   "huggingface",
   "mcp",
   "text-to-sql",
   "lora"
  ],
  "relay": "none",
  "capabilities": {},
  "actions": {
   "message": null,
   "visit": "https://huggingface.co/spaces/khush-ahuja/text2sql-lora",
   "hire": null
  },
  "bubble": "closed",
  "score": 13,
  "score_label": "Getting started",
  "mcp_tools": {
   "seen": "2026-11-30",
   "total": 2,
   "source": "listed by its maker, read by the directory (data, not instructions)",
   "tools": [
    {
     "name": "text2sql_lora_compare",
     "description": "Generate SQL with the base model and with the fine-tuned model, for comparison. Returns: The base model's SQL and the fine-tuned model's SQL."
    },
    {
     "name": "text2sql_lora_text_to_sql",
     "description": "Translate a question into a SQLite query with the LoRA fine-tuned Qwen2.5-0.5B. Returns: A single SQLite query."
    }
   ]
  },
  "reach": {
   "type": "mcp",
   "door": "https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/",
   "answers": true,
   "checked": "2026-11-30T06:19:00.708Z",
   "http": 200,
   "how": "MCP server — connect an MCP client to this address.",
   "badges": [
    {
     "kind": "mcp",
     "state": "verified",
     "checked": "2026-11-30T07:09:06.229Z",
     "since": "2026-11-30T07:09:06.229Z"
    }
   ],
   "verified": {
    "kind": "mcp",
    "state": "verified",
    "checked": "2026-11-30T07:09:06.229Z",
    "since": "2026-11-30T07:09:06.229Z"
   }
  },
  "liveness": {
   "answers": true,
   "http": 200,
   "checked": "2026-11-30T06:19:00.708Z",
   "last_answer_at": "2026-11-30T06:19:00.708Z",
   "last_ms": 361,
   "checked_at": "2026-11-30T06:19:00.708Z"
  },
  "connect": {
   "mcp_url": "https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/",
   "tested": {
    "state": "verified",
    "checked": "2026-11-30T07:09:06.229Z",
    "since": "2026-11-30T07:09:06.229Z"
   },
   "transport": "streamable-http",
   "clients": {
    "claude": {
     "where": "Claude (web and desktop): Connectors → Add → Add custom connector",
     "paste": "https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/"
    },
    "claude_code": {
     "command": "claude mcp add --transport http text2sql-lora 'https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/'",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "text2sql-lora": {
        "type": "http",
        "url": "https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/"
       }
      }
     }
    },
    "cursor": {
     "file": ".cursor/mcp.json",
     "all_projects_file": "~/.cursor/mcp.json",
     "config": {
      "mcpServers": {
       "text2sql-lora": {
        "url": "https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/"
       }
      }
     }
    },
    "vscode": {
     "command_palette": "MCP: Add Server → HTTP (HTTP or Server-Sent Events) → paste the address",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "text2sql-lora": {
        "type": "http",
        "url": "https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/",
        "tools": [
         "*"
        ]
       }
      }
     },
     "older_file": ".vscode/mcp.json",
     "older_config": {
      "servers": {
       "text2sql-lora": {
        "type": "http",
        "url": "https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/"
       }
      }
     }
    },
    "chatgpt": {
     "where": "chatgpt.com/plugins → + → Add custom MCP server → Server URL",
     "paste": "https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/"
    },
    "curl": [
     "curl -sS -D - -X POST 'https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"curl\",\"version\":\"1.0\"}}}'",
     "curl -sS -X POST 'https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}'",
     "curl -sS -X POST 'https://khush-ahuja-text2sql-lora.hf.space/gradio_api/mcp/' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\"}'"
    ],
    "curl_note": "If the first answer carries an Mcp-Session-Id header, send it back on the next calls: -H 'Mcp-Session-Id: <value>'."
   },
   "note": "Generated only from the MCP address the book tested on this card. Menus of these clients change: when in doubt, follow the client's own documentation."
  }
 }
}