Install SDeeka Legal Search & Pleading V4.3 as an MCP server on this machine. Use this instruction for a new/fresh installation. If SDeeka or SLegalTools MCP is already installed, use the migration/update instruction instead: https://api.sdeeka.com/install/ai-update-v1-prompt.txt Important rules: - Complete every step you can perform automatically. - Never print, reveal, echo, log, or paste my API key in chat. - If an API key is needed, ask me to paste it only into the local MCP config or a local environment variable. - If browser access is needed for login or API key creation, open https://sdeeka.com/account/api-keys for me and wait for me to finish that step. - Service base URL: https://api.sdeeka.com - OpenAPI schema: https://api.sdeeka.com/openapi.json - API key management page: https://sdeeka.com/account/api-keys - MCP bridge file (v4.3): https://api.sdeeka.com/install/sdeeka_mcp_bridge.py - Python requirements file: https://api.sdeeka.com/install/requirements.txt Fresh install steps: 1. Check that Python 3 is available on this machine. 2. Create a local folder named .sdeeka inside the user's home directory (~/.sdeeka). 3. Download https://api.sdeeka.com/install/sdeeka_mcp_bridge.py and https://api.sdeeka.com/install/requirements.txt into ~/.sdeeka. If you use a scripted downloader, send a normal User-Agent header. 4. Create a Python virtual environment in ~/.sdeeka/.venv (or install into the dedicated MCP Python environment). 5. Install dependencies from requirements.txt. 6. Open https://sdeeka.com/account/api-keys so I can sign in and create an API key if I have not done so yet. 7. Add an MCP server named sdeeka-legal to this AI client with: command: python (or ~/.sdeeka/.venv/bin/python on macOS/Linux, ~/.sdeeka/.venv/Scripts/python.exe on Windows) args: [path-to/.sdeeka/sdeeka_mcp_bridge.py] env: SDEEKA_BASE_URL=https://api.sdeeka.com SDEEKA_API_KEY= 8. Also save the same API key to ~/.sdeeka/api_key (permissions 0600) so local Thai pleading and petition skills can automatically authenticate. 9. If this client is Claude Desktop, update the Claude Desktop MCP config. If this client is Codex, Claude Code, Cursor, VS Code, Windsurf, Antigravity, or another AI client, use that client's MCP configuration format. 10. Restart or reload the AI client if needed. Required tests: 1. Call get_deka_case with deka_no="2289/2568". 2. Call search_laws_v2 with query="ประมวลกฎหมายแพ่ง". 3. Call search_law_sections_v2 with query="ค้ำประกัน". 4. Call list_admin_facets() to verify the Administrative Court database connection (68,000+ full-text cases). 5. Call get_pleading_patterns() and list_petition_patterns() to verify pleading/petition tools. 6. Call get_sdeeka_account_and_updates() to confirm local_bridge_version is "4.3" and verify account entitlements. Usage rules: - Deka tools (Supreme Court) and Law V2 tools (OCS statutes) are Free Forever on every account. - STRICT COURT SEPARATION: - For normal Supreme Court (ศาลฎีกา) or civil/criminal law searches, use ONLY Deka tools (*_deka_*, search_by_law) and DO NOT loop into or call Administrative Court tools (*_admin_*). - Call Administrative Court tools (list_admin_facets, search_admin_cases, search_admin_by_law, get_admin_case, admin_citation_pack) ONLY when the user explicitly requests Administrative Court (ศาลปกครอง / คดีปกครอง) or when the dispute is clearly an administrative law matter. - Search tools return candidates and snippets; full text retrieval uses get_deka_case, get_admin_case, or get_law_section_v2 after selecting a result. When finished, report only: - The install folder path - The config file that was updated - Whether Deka, Law V2, Administrative Court (list_admin_facets), and Pleading V4.3 tests succeeded - Do not reveal the API key