ictexam-mcp

v0.1.1
io.github.ictinnovations/ictexam-mcp Checked 1 day ago Published 1 month ago

Read exams, gradebooks and item analysis; parse papers with AI and publish exams.

Values you need

VariableWhat it is
ICTEXAM_BASE_URLrequired Base URL of your ICTExam site, e.g. https://app.ictlms.net (no trailing /api).
ICTEXAM_EMAILrequired A teacher or admin account email.
ICTEXAM_PASSWORDrequired secret Password for the account.
ICTEXAM_API_PREFIXoptional Path the API is mounted under. Defaults to /api (behind the usual reverse proxy). Set empty to talk to the backend port directly. Default: /api
ICTEXAM_MCP_ALLOW_WRITEoptional Unlocks the write tools: parse a paper with AI (spends server AI credit), publish and unpublish exams. When false these tools are not registered at all. Leave off unless you mean it. Default: false
ICTEXAM_TIMEOUT_MSoptional Per request timeout in milliseconds. Defaults to 60000 (AI parsing can be slow). Default: 60000
ICTEXAM_TLS_INSECUREoptional Skip TLS certificate verification. Only for a self-signed test server. Default: false

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add ictexam-mcp -e 'ICTEXAM_BASE_URL=<ICTEXAM_BASE_URL>' -e 'ICTEXAM_EMAIL=<ICTEXAM_EMAIL>' -e 'ICTEXAM_PASSWORD=<ICTEXAM_PASSWORD>' -- npx -y ictexam-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ictexam-mcp": {
      "args": [
        "-y",
        "ictexam-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "ICTEXAM_BASE_URL": "<ICTEXAM_BASE_URL>",
        "ICTEXAM_EMAIL": "<ICTEXAM_EMAIL>",
        "ICTEXAM_PASSWORD": "<ICTEXAM_PASSWORD>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ictexam-mcp": {
      "args": [
        "-y",
        "ictexam-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "ICTEXAM_BASE_URL": "<ICTEXAM_BASE_URL>",
        "ICTEXAM_EMAIL": "<ICTEXAM_EMAIL>",
        "ICTEXAM_PASSWORD": "<ICTEXAM_PASSWORD>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ICTEXAM_BASE_URL",
      "id": "ictexam-base-url",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "ICTEXAM_EMAIL",
      "id": "ictexam-email",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "ICTEXAM_PASSWORD",
      "id": "ictexam-password",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "ictexam-mcp": {
      "args": [
        "-y",
        "ictexam-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "ICTEXAM_BASE_URL": "${input:ictexam-base-url}",
        "ICTEXAM_EMAIL": "${input:ictexam-email}",
        "ICTEXAM_PASSWORD": "${input:ictexam-password}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ictexam-mcp]
command = "npx"
args = ["-y", "ictexam-mcp@0.1.1"]
env = { "ICTEXAM_BASE_URL" = "<ICTEXAM_BASE_URL>", "ICTEXAM_EMAIL" = "<ICTEXAM_EMAIL>", "ICTEXAM_PASSWORD" = "<ICTEXAM_PASSWORD>" }

For AI agents

  1. Ask the user for: ICTEXAM_BASE_URL, ICTEXAM_EMAIL, ICTEXAM_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: ictexam_list_exams, ictexam_get_exam, ictexam_list_classes, ictexam_list_subjects, ictexam_gradebook, ictexam_item_analysis.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json