ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Canvas Parent MCP

โดย chrischallรุ่น 2.2.3i★ –iรันบนเครื่อง
ชื่อใน registryio.github.chrischall/canvas-parent-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Canvas LMS (Instructure) for Claude — courses, grades, assignments, planner, files

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เกม กีฬา อาหาร และการเรียน
  • ต้องใส่ค่าเหล่านี้: CANVAS_BASE_URL, CANVAS_PASSWORD, CANVAS_TOKEN, CANVAS_CLIENT_SECRET, CANVAS_REFRESH_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: CANVAS_BASE_URL, CANVAS_USERNAME, CANVAS_PASSWORD, CANVAS_TOKEN, CANVAS_CLIENT_ID, CANVAS_CLIENT_SECRET, CANVAS_REFRESH_TOKEN, CANVAS_NAME, CANVAS_SESSION_CACHE, CANVAS_SESSION_FILE, CANVAS_OUTPUT_DIR, CANVAS_DISABLE_FETCHPROXY, FETCHPROXY_WS_PORT, FETCHPROXY_WS_HOST, FETCHPROXY_IDENTITY_DIR

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "canvas-parent": {
      "command": "npx",
      "args": [
        "-y",
        "canvas-parent-mcp"
      ],
      "env": {
        "CANVAS_BASE_URL": "ใส่ค่าของคุณ",
        "CANVAS_USERNAME": "ใส่ค่าของคุณ",
        "CANVAS_PASSWORD": "ใส่ค่าของคุณ",
        "CANVAS_TOKEN": "ใส่ค่าของคุณ",
        "CANVAS_CLIENT_ID": "ใส่ค่าของคุณ",
        "CANVAS_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "CANVAS_REFRESH_TOKEN": "ใส่ค่าของคุณ",
        "CANVAS_NAME": "ใส่ค่าของคุณ",
        "CANVAS_SESSION_CACHE": "ใส่ค่าของคุณ",
        "CANVAS_SESSION_FILE": "ใส่ค่าของคุณ",
        "CANVAS_OUTPUT_DIR": "ใส่ค่าของคุณ",
        "CANVAS_DISABLE_FETCHPROXY": "ใส่ค่าของคุณ",
        "FETCHPROXY_WS_PORT": "ใส่ค่าของคุณ",
        "FETCHPROXY_WS_HOST": "ใส่ค่าของคุณ",
        "FETCHPROXY_IDENTITY_DIR": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add canvas-parent --env CANVAS_BASE_URL='ใส่ค่าของคุณ' --env CANVAS_USERNAME='ใส่ค่าของคุณ' --env CANVAS_PASSWORD='ใส่ค่าของคุณ' --env CANVAS_TOKEN='ใส่ค่าของคุณ' --env CANVAS_CLIENT_ID='ใส่ค่าของคุณ' --env CANVAS_CLIENT_SECRET='ใส่ค่าของคุณ' --env CANVAS_REFRESH_TOKEN='ใส่ค่าของคุณ' --env CANVAS_NAME='ใส่ค่าของคุณ' --env CANVAS_SESSION_CACHE='ใส่ค่าของคุณ' --env CANVAS_SESSION_FILE='ใส่ค่าของคุณ' --env CANVAS_OUTPUT_DIR='ใส่ค่าของคุณ' --env CANVAS_DISABLE_FETCHPROXY='ใส่ค่าของคุณ' --env FETCHPROXY_WS_PORT='ใส่ค่าของคุณ' --env FETCHPROXY_WS_HOST='ใส่ค่าของคุณ' --env FETCHPROXY_IDENTITY_DIR='ใส่ค่าของคุณ' -- npx -y canvas-parent-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "canvas-parent": {
      "command": "npx",
      "args": [
        "-y",
        "canvas-parent-mcp"
      ],
      "env": {
        "CANVAS_BASE_URL": "ใส่ค่าของคุณ",
        "CANVAS_USERNAME": "ใส่ค่าของคุณ",
        "CANVAS_PASSWORD": "ใส่ค่าของคุณ",
        "CANVAS_TOKEN": "ใส่ค่าของคุณ",
        "CANVAS_CLIENT_ID": "ใส่ค่าของคุณ",
        "CANVAS_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "CANVAS_REFRESH_TOKEN": "ใส่ค่าของคุณ",
        "CANVAS_NAME": "ใส่ค่าของคุณ",
        "CANVAS_SESSION_CACHE": "ใส่ค่าของคุณ",
        "CANVAS_SESSION_FILE": "ใส่ค่าของคุณ",
        "CANVAS_OUTPUT_DIR": "ใส่ค่าของคุณ",
        "CANVAS_DISABLE_FETCHPROXY": "ใส่ค่าของคุณ",
        "FETCHPROXY_WS_PORT": "ใส่ค่าของคุณ",
        "FETCHPROXY_WS_HOST": "ใส่ค่าของคุณ",
        "FETCHPROXY_IDENTITY_DIR": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "canvas-parent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "canvas-parent-mcp"
      ],
      "env": {
        "CANVAS_BASE_URL": "ใส่ค่าของคุณ",
        "CANVAS_USERNAME": "ใส่ค่าของคุณ",
        "CANVAS_PASSWORD": "ใส่ค่าของคุณ",
        "CANVAS_TOKEN": "ใส่ค่าของคุณ",
        "CANVAS_CLIENT_ID": "ใส่ค่าของคุณ",
        "CANVAS_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "CANVAS_REFRESH_TOKEN": "ใส่ค่าของคุณ",
        "CANVAS_NAME": "ใส่ค่าของคุณ",
        "CANVAS_SESSION_CACHE": "ใส่ค่าของคุณ",
        "CANVAS_SESSION_FILE": "ใส่ค่าของคุณ",
        "CANVAS_OUTPUT_DIR": "ใส่ค่าของคุณ",
        "CANVAS_DISABLE_FETCHPROXY": "ใส่ค่าของคุณ",
        "FETCHPROXY_WS_PORT": "ใส่ค่าของคุณ",
        "FETCHPROXY_WS_HOST": "ใส่ค่าของคุณ",
        "FETCHPROXY_IDENTITY_DIR": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • CANVAS_BASE_URL จำเป็น env
    Canvas instance base URL, e.g. https://cms.instructure.com
  • CANVAS_USERNAME env
    Canvas login username/email (recommended) — pair with CANVAS_PASSWORD for auto-login. No SSO/2FA.
  • CANVAS_PASSWORD ความลับ env
    Canvas password (recommended) — required iff CANVAS_USERNAME is set
  • CANVAS_TOKEN ความลับ env
    Canvas personal access token (advanced) — most schools have disabled token creation
  • CANVAS_CLIENT_ID env
    Canvas OAuth client ID (advanced — for SSO accounts that can't use username/password)
  • CANVAS_CLIENT_SECRET ความลับ env
    Canvas OAuth client secret (advanced)
  • CANVAS_REFRESH_TOKEN ความลับ env
    Canvas OAuth refresh token (advanced) — bootstrap via canvas-parent-mcp-qr-login
  • CANVAS_NAME env
    Friendly name for the Canvas instance (defaults to the host portion of the base URL)
  • CANVAS_SESSION_CACHE env
    Set to false to disable the on-disk session cache and re-authenticate on every process start. Defaults to enabled.
  • CANVAS_SESSION_FILE env
    Absolute path for the session cache file. Defaults to $MCP_DATA_DIR/.canvas-parent-mcp/session.json.
  • CANVAS_OUTPUT_DIR env
    Directory canvas_download_file may write into (default ~/Downloads). A relative destinationPath is resolved against it.
  • CANVAS_DISABLE_FETCHPROXY env
    Set to 1 to turn off the browser (fetchproxy) fallback, so missing credentials are a hard error instead.
  • FETCHPROXY_WS_PORT env
    Localhost port of the fetchproxy concentrator the ContextMint Bridge extension connects to (default 37149). Every MCP on one machine shares it, so move it for all of them or not at all.
  • FETCHPROXY_WS_HOST env
    Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR env
    Absolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub chrischall ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เกม กีฬา อาหาร และการเรียนi

  • ดาวมากกว่า 0% ของอีก 1286 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 98% ของอีก 1286 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1286 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Canvas Parent MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: CANVAS_BASE_URL, CANVAS_PASSWORD, CANVAS_TOKEN, CANVAS_CLIENT_SECRET, CANVAS_REFRESH_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.2.3) เข้า registry วันนี้

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Prospre, RSS.com MCP by usefulapi, Castos MCP by usefulapi

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Prospre

โดย prospre

Log food, plan meals, fix the diary, build the grocery list and move macro targets in Prospre.

รันบนคลาวด์อัปเดต วันนี้
ติดตั้ง

Read podcasts and episodes; create and edit episodes, chapters and transcripts in RSS.com.

รันบนคลาวด์อัปเดต วันนี้
ติดตั้ง

Read podcasts and episodes; create and update episodes; manage private subscribers in Castos.

รันบนคลาวด์อัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

canvas-parent-mcp

MCP server for Canvas LMS (Instructure), scoped for parent observers and student self-access. Targets https://cms.instructure.com by default but works against any Canvas instance.

Mirrors the read-only parent-portal scope of sibling infinitecampus-mcp. Users interact via the canvas_* tool prefix.

Tools

18 tools across profile, observees, courses, assignments, submissions, grades, calendar, planner, announcements, conversations, discussions, and files.

DomainTools
Profilecanvas_get_profile
Observeescanvas_list_observees
Coursescanvas_list_courses, canvas_get_course
Assignmentscanvas_list_assignments, canvas_list_missing_submissions
Submissionscanvas_get_submission, canvas_list_recent_submissions (default 14d window)
Gradescanvas_list_enrollments
Calendarcanvas_list_calendar_events, canvas_list_upcoming_events
Plannercanvas_list_planner_items
Announcementscanvas_list_announcements
Conversationscanvas_list_conversations, canvas_get_conversation
Discussionscanvas_list_discussion_topics
Filescanvas_list_course_files, canvas_download_file

Tools that the harness will gate as write/IO operations: canvas_download_file.

Planner: child names and a brief view

canvas_list_planner_items takes a child by name. At start the server lists your observees once (bounded to 5 s) and publishes their display names as the observeeId enum; the tool accepts either a name (any case) or a Canvas user id (self, a numeric id, or a sis_user_id:-style reference — including a child linked after the server started), and an unknown name is refused with the list of known ones. If the listing fails or you observe nobody, observeeId is published as a plain string and ids pass through as before. Two children with the same display name are listed as Name (id).

view: "brief" returns one line per planner item, at most 120 characters (cut as a whole, title first): title — — . Items with nothing to submit (planner notes, pages, events) carry their kind as the status (planner note, wiki page, …). Titles are written by teachers, so the lines come back inside the untrusted-data envelope, {"untrusted_content":true,"note":"…","data":["…"]}; an empty planner is data: ["-- none"], and a title that itself starts with -- or \ is escaped with one leading \ so it never reads as a note. The default (view: "full") is Canvas's payload, unchanged.

Context-group hints

Every tool except canvas_healthcheck carries a _meta.mint hint for hosts that group tools by context (mcp-host's context groups): domain: "school" plus an intent — whats-due for the planner and missing submissions, whats-new for announcements, whats-on for the calendar tools, lookup for the other reads, other for the download. The planner (whats-due) and announcements (whats-new) are marked canonical; the planner also names its subject argument (observeeId) and range (startDate/endDate). Hosts that do not read _meta see nothing different.

canvas_download_file only fetches /files/… URLs on your CANVAS_BASE_URL host (https), so your Canvas credential is never sent anywhere else, and it only writes inside a download directory: CANVAS_OUTPUT_DIR if set, otherwise ~/Downloads. A relative destinationPath is resolved against that directory. It never writes through a symlink at the destination, and new files are created owner-only (0600).

On a hosted deployment (mcp-host) the server's disk is not reachable from your session, so canvas_download_file writes nothing to disk: it reads the file (up to 100 MiB) and returns a signed download link that expires after an hour. An image under 10 MiB is shown inline instead. destinationPath is ignored there. A hosted server without a blob store returns files up to 10 MiB inline and refuses larger ones. On a local install, destinationPath is now optional; leave it out and the file is saved under its own name in the download directory, never overwriting an existing file.

Configuration

Set CANVAS_BASE_URL plus one of four auth modes. canvas-parent-mcp tries them in priority order:

  1. `CANVAS_TOKEN` → personal access token
  2. `CANVAS_CLIENT_ID` + `CANVAS_CLIENT_SECRET` + `CANVAS_REFRESH_TOKEN` → OAuth
  3. `CANVAS_USERNAME` + `CANVAS_PASSWORD` → session-scrape (direct Canvas accounts only)
  4. fetchproxy fallback → no env vars needed; reads canvas_session + pseudonym_credentials cookies from your signed-in Canvas tab via the ContextMint Bridge browser extension

If none succeed, you get an error that names every escape hatch.

Mode A — fetchproxy fallback (recommended, zero config)
CANVAS_BASE_URL=https://cms.instructure.com

Install the ContextMint Bridge browser extension from its releases page (Chrome: download the chrome zip, unzip it, and load it unpacked at chrome://extensions with Developer mode on — there is no Chrome Web Store listing yet; Safari: not available yet — it will ship inside the ContextMint app, which has no public download yet, so use Chrome for now), sign into your Canvas instance, and the MCP reads your session cookies from the browser on the first request and again whenever Canvas answers 401 (the session expired). In between, Canvas API calls go directly from Node — the extension is not in the request hot path, but it must stay reachable (browser running, extension installed) for the MCP to renew the session. Works with any auth flow (SSO/SAML/2FA included) because Canvas itself handled the sign-in.

Where the extension comes from. ContextMint Bridge is the fetchproxy browser extension under its new name, from the same maintainer — fetchproxy's own README (Extension) points to it. Its source is public at nullnet-app/contextmint-bridge: build it yourself (npm run build, per its README), or check a release zip against the .sha256 file published beside it:

`bash

shasum -a 256 -c contextmint-bridge-chrome- .zip.sha256

`

Multiple districts? Declared domain instructure.com matches every *.instructure.com host, so you only pair the extension once. The MCP uses whichever district you set in CANVAS_BASE_URL.

Set CANVAS_DISABLE_FETCHPROXY=1 to opt out (missing creds become a hard error — useful in headless CI).

Mode B — username/password (legacy session-scrape)
CANVAS_BASE_URL=https://cms.instructure.com

CANVAS_USERNAME=me@example.com CANVAS_PASSWORD=your-canvas-password CANVAS_NAME=cms # optional, defaults to host portion of base URL

Direct Canvas accounts only — won't work with SAML/Google/Microsoft SSO or 2FA. Brittle (breaks on every Canvas login-page restyling). Prefer fetchproxy if your tab is already signed in. Treat .env like a password file.

Advanced alternatives

Personal access token — simplest if your admin allows it

CANVAS_BASE_URL=https://cms.instructure.com

CANVAS_TOKEN=your-personal-access-token

Generate via Canvas → Account → Settings → "+ New Access Token". Most institutions have disabled this for non-admins.

OAuth via mobile QR code — bootstrapped from the mobile-app login flow

CANVAS_BASE_URL=https://cms.instructure.com

CANVAS_CLIENT_ID=... CANVAS_CLIENT_SECRET=... CANVAS_REFRESH_TOKEN=...

If your account uses SSO and you can't use fetchproxy (e.g. headless server), mint OAuth credentials by reusing the Canvas mobile-app QR-login flow — see Bootstrapping OAuth via the mobile QR code below.

Precedence when multiple are set: CANVAS_TOKEN > username/password > OAuth > fetchproxy.

See .env.example.

Session cache

In username/password and OAuth modes the signed-in session is cached between runs, so a restart does not log in (or spend a refresh-token exchange) again. The cache file — $MCP_DATA_DIR/.canvas-parent-mcp/session.json by default, or CANVAS_SESSION_FILE — holds the live canvas_session + pseudonym_credentials cookies or the OAuth access token in plaintext. It is created owner-only (0600, in a 0700 directory), and only the credential binding is stored as a salted digest; your username, password and refresh token are never written to it. Token and fetchproxy modes never write the cache.

Backup and sync tools that run as you can still copy that file. On a shared or backed-up machine, set CANVAS_SESSION_CACHE=false to keep the session in memory only (each start then re-authenticates).

Bootstrapping OAuth via the mobile QR code

If your Canvas admin has disabled personal-access-token creation (some institutions restrict tokens to "the mobile app only") AND your account uses SSO so username/password can't auth, you can mint OAuth credentials by going through the same QR-login flow that the official Canvas mobile apps use:

  1. In Canvas web, open Account → QR for Mobile Login — Canvas shows a QR that's valid for 10 minutes.
  2. Decode the QR with any QR reader. The result is a URL on sso.canvaslms.com like https://sso.canvaslms.com/canvas/login?domain=...&code=....
  3. Run the bundled helper:
   npx canvas-parent-mcp-qr-login "<decoded-qr-url>" >> .env

It hits Canvas's public mobile_verify.json endpoint to fetch the mobile client_id/client_secret, exchanges the QR's one-time code for an access+refresh token pair, and prints CANVAS_BASE_URL / CANVAS_CLIENT_ID / CANVAS_CLIENT_SECRET / CANVAS_REFRESH_TOKEN to stdout. The refresh token is sensitive — treat it like a password.

This reuses the same SSO + OAuth endpoints the official Canvas Student/Parent apps use; from Canvas's perspective the resulting session looks like a mobile-app session. Use it only against accounts you legitimately control.

Upgrading

next release

canvas_download_file now works on hosted deployments:

  • destinationPath is optional (it was required). Local calls that pass it behave exactly as before and return the same {path, bytes, contentType}.
  • Calls without destinationPath, and every call on a hosted server, return a delivery result instead: {via, fileName, mimeType, url?, expiresAt?, path?, bytes, contentType, note?}. via is image (inline image block), resource (inline bytes), link (signed url valid until expiresAt) or disk (path). An inline image or resource is returned as a content block before that JSON.
  • On a hosted server destinationPath is ignored and the note says so.

Status

Unofficial — not affiliated with Instructure. AI-maintained.

Acknowledgement of Terms

By using this MCP server, you acknowledge and agree to the following:

1. This server accesses your own Canvas account via the official Canvas REST API. Auth happens via your own personal access token, issued by your institution. It does not — and cannot — access anyone else's enrollments, grades, or messages.

2. [Instructure's Canvas API Policy](https://www.instructure.com/policies/canvas-api-policy) governs your use of this server, in addition to your institution's own acceptable-use policy. The clauses most relevant her

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx