{
  "$schema": "https://modelcontextprotocol.io/schema/manifest.json",
  "serverId": "xicae-webcode",
  "name": "WebCode Computational Node",
  "description": "A distraction-free code editor with a phone-friendly keyboard. Write, test, and run code anywhere without installing anything.",
  "version": "1.0.0",
  "capabilities": {
    "tools": true,
    "resources": false,
    "prompts": false
  },
  "tools": [
    {
      "name": "webcode_scaffold_project_boilerplate",
      "description": "Generate a complete, pre-baked multi-file project starter workspace (package.json, source files, config, README) ready to write and run with zero manual configuration.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "preset": {
            "type": "string",
            "enum": [
              "react_tailwind_app",
              "hono_cloudflare_worker",
              "mcp_server_typescript",
              "python_fastapi_server",
              "vanilla_canvas_game",
              "node_cli_utility"
            ],
            "description": "Pre-baked fullstack archetype preset"
          },
          "project_name": {
            "type": "string",
            "description": "Name of the project directory"
          }
        },
        "required": [
          "preset",
          "project_name"
        ]
      }
    },
    {
      "name": "webcode_analyze_code_structure",
      "description": "Perform syntax inspection, precise delimiter matching (braces/brackets/parentheses with line & column reporting), token estimation, cyclomatic complexity, and import/export extraction.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Source code string to analyze"
          },
          "language": {
            "type": "string",
            "enum": [
              "javascript",
              "typescript",
              "python",
              "html",
              "css",
              "json"
            ],
            "description": "Source programming language"
          }
        },
        "required": [
          "code",
          "language"
        ]
      }
    },
    {
      "name": "webcode_generate_dependency_manifest",
      "description": "Generate verified, production-ready package.json, requirements.txt, or Cargo.toml dependency manifests with 2026/2027 stable pinned versions.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "ecosystem": {
            "type": "string",
            "enum": [
              "node_npm",
              "python_pip",
              "rust_cargo"
            ],
            "description": "Package manager ecosystem"
          },
          "stack_preset": {
            "type": "string",
            "enum": [
              "agent_mcp_stack",
              "react_web_stack",
              "fastapi_ai_backend",
              "data_science_ml",
              "custom"
            ],
            "description": "Pre-bundled library stack profile"
          },
          "project_name": {
            "type": "string",
            "description": "Project name for manifest"
          }
        },
        "required": [
          "ecosystem"
        ]
      }
    },
    {
      "name": "webcode_format_source_code",
      "description": "Format unindented or messy code across Python, JavaScript, TypeScript, JSON, HTML, and CSS using deterministic AST style conventions.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "language": {
            "type": "string",
            "enum": [
              "python",
              "javascript",
              "typescript",
              "json",
              "html",
              "css"
            ],
            "description": "Programming language"
          },
          "code": {
            "type": "string",
            "description": "Raw source code string to format"
          },
          "tab_size": {
            "type": "number",
            "description": "Indentation width (default 2 or 4)"
          }
        },
        "required": [
          "language",
          "code"
        ]
      }
    },
    {
      "name": "webcode_generate_sandbox_recipe",
      "description": "Generate zero-install client-side WebAssembly isolation snippets (Pyodide Python, QuickJS JavaScript, or sandboxed iframe) for running untrusted code safely in the browser.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "runtime": {
            "type": "string",
            "enum": [
              "python_pyodide",
              "javascript_quickjs",
              "html_iframe"
            ],
            "description": "Client-side sandbox runtime engine"
          },
          "entry_code": {
            "type": "string",
            "description": "Entry source code to execute inside the sandbox"
          }
        },
        "required": [
          "runtime",
          "entry_code"
        ]
      }
    },
    {
      "name": "webcode_generate_workspace_manifest",
      "description": "Package multiple virtual file paths or starter project templates into a structured workspace manifest for in-browser IDE mounting or zip generation.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "project_name": {
            "type": "string",
            "description": "Name of the coding project workspace"
          },
          "template": {
            "type": "string",
            "enum": [
              "vanilla-js",
              "python-cli",
              "static-html",
              "react-minimal",
              "custom"
            ],
            "description": "Starter template archetype"
          },
          "file_paths": {
            "type": "array",
            "description": "List of virtual file paths and directories to include"
          }
        },
        "required": [
          "project_name"
        ]
      }
    }
  ],
  "documentation": "https://xicae.dev/llms.txt"
}