Set up Canvas in Metorial for Claude, ChatGPT and Cursor
Share Canvas with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or personal access token sign-in, 33 tools (24 read-only).
To give your team Canvas in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Canvas integration in a Metorial portal, and each person signs in to Canvas with their own account. Agents can manage courses, assignments, enrollments, and grading in Canvas LMS. The integration has 33 tools, 24 read-only and 9 destructive, plus 6 triggers.
What you'll learn
- How an admin shares Canvas in a portal and how each person connects
- The 32 OAuth scopes Canvas can request, and what each one allows
- How to keep the 24 read-only tools and reject the other 9
Before you start
- A portal with at least one access group
- An account with Canvas for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| Personal Access Token | API token | token and canvasDomain |
| OAuth2 (default) | OAuth | Signs in to Canvas after entering canvasDomain |
The portal and metorial setup use OAuth2 unless someone picks another method.
Personal Access Token
To connect, a person enters these values:
token: Your Canvas personal access token. Generate one from Account > Settings > New Access Token.canvasDomain: Your Canvas instance domain (e.g., myschool.instructure.com)
OAuth2
Before the sign-in, setup asks for:
canvasDomain: Your Canvas instance domain (e.g., myschool.instructure.com)
People sign in to Canvas and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
url:GET|/api/v1/users/:user_id/profile | User Profile | Access user profile information |
url:GET|/api/v1/courses | List Courses | List courses for the current user or account |
url:POST|/api/v1/accounts/:account_id/courses | Manage Courses | Create and update courses |
url:GET|/api/v1/courses/:id | Get Course | Retrieve a single course by ID |
url:PUT|/api/v1/courses/:id | Update Course | Update course settings |
url:DELETE|/api/v1/courses/:id | Delete Course | Delete or conclude a course |
url:GET|/api/v1/accounts/:account_id/users | List Users | List users in an account |
url:GET|/api/v1/courses/:course_id/users | List Course Users | List users enrolled in a course |
url:GET|/api/v1/courses/:course_id/enrollments | List Enrollments | List enrollments in a course |
url:POST|/api/v1/courses/:course_id/enrollments | Create Enrollment | Enroll a user in a course |
url:GET|/api/v1/courses/:course_id/assignments | List Assignments | List assignments in a course |
url:GET|/api/v1/courses/:course_id/assignments/:id | Get Assignment | Get a single assignment |
url:POST|/api/v1/courses/:course_id/assignments | Create Assignment | Create a new assignment |
url:PUT|/api/v1/courses/:course_id/assignments/:id | Update Assignment | Update an existing assignment |
url:DELETE|/api/v1/courses/:course_id/assignments/:id | Delete Assignment | Delete an assignment |
url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/submissions | List Submissions | List submissions for an assignment |
url:PUT|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id | Update Submission | Grade or comment on a submission |
url:GET|/api/v1/courses/:course_id/modules | List Modules | List modules in a course |
url:POST|/api/v1/courses/:course_id/modules | Create Module | Create a new module |
url:PUT|/api/v1/courses/:course_id/modules/:id | Update Module | Update a module |
url:GET|/api/v1/courses/:course_id/discussion_topics | List Discussion Topics | List discussion topics in a course |
url:POST|/api/v1/courses/:course_id/discussion_topics | Create Discussion Topic | Create a new discussion topic |
url:GET|/api/v1/courses/:course_id/pages | List Pages | List wiki pages in a course |
url:POST|/api/v1/courses/:course_id/pages | Create Page | Create a wiki page |
url:GET|/api/v1/courses/:course_id/files | List Files | List files in a course |
url:GET|/api/v1/calendar_events | List Calendar Events | List calendar events |
url:POST|/api/v1/calendar_events | Create Calendar Event | Create a calendar event |
url:GET|/api/v1/conversations | List Conversations | List conversations for the current user |
url:POST|/api/v1/conversations | Create Conversation | Send a message |
url:GET|/api/v1/courses/:course_id/quizzes | List Quizzes | List quizzes in a course |
url:GET|/api/v1/courses/:course_id/groups | List Groups | List groups in a context |
url:GET|/api/v1/courses/:course_id/rubrics | List Rubrics | List rubrics in a course |
Setup settings
Whichever method you pick, setup also asks for:
canvasDomain: Your Canvas instance domain (e.g., myschool.instructure.com). Do not include https:// prefix.
Use your own Canvas OAuth app
With your own OAuth app, people see your company's name on the Canvas consent screen, and the client ID and secret belong to you.
Start the credentials in Metorial
In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Canvas and copy the Redirect URI.
Register the app with Canvas
Create an OAuth app or client in Canvas and add the redirect URI from Metorial as its redirect or callback URL.
Finish in Metorial
Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Canvas integration.
Admin: share Canvas in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Canvas. Under Auth Method, keep OAuth2 or pick another. For how members connect, choose Each person connects, so everyone signs in to Canvas as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Canvas.
Choose who gets it
Add the access groups that should see Canvas. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Canvas integration. Once it exists, check which groups have it:
Employee: connect Canvas
In the portal
Open Canvas in the catalog
Sign in to your portal and open Canvas. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A Canvas sign-in tab opens. Sign in and approve the permissions listed.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses OAuth2. To connect with Personal Access Token instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Canvas connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 24 read-only tools, such as get_page and get_quiz, and lose the 9 destructive tools, such as manage_page or send_message.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 33 tools, minus any you rejected. list_courses takes no input. It retrieves courses accessible to the authenticated user.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (24)
list_enrollments: List all enrollments in a course. NeedscourseId.download_file: Prepare an authenticated Canvas file download.list_module_items: List every item in a course module, including linked content IDs, page slugs, URLs, positions, and completion requirements.list_course_users: List users enrolled in a course. NeedscourseId.list_discussions: List discussion topics or announcements in a course, including topic IDs, bodies, publication state, and grading metadata.get_assignment: Read complete assignment details, optionally including the current user submission and assignment date overrides.list_assignment_groups: List assignment groups with their IDs, names, grading weights, positions, and rules.get_conversation: Read a conversation including message bodies and participants, while leaving its read state unchanged.list_courses: Retrieve courses accessible to the authenticated user.get_course: Retrieve detailed information about a single course by its ID. NeedscourseId.get_discussion: Read the complete metadata and body of a discussion topic or announcement.list_submissions: List all submissions for an assignment in a course. NeedscourseIdandassignmentId.get_quiz: Get complete classic Canvas quiz details, including settings, dates, question count, and attempt limits.list_course_creation_accounts: List accounts in which the authenticated user can create courses.list_modules: List all modules in a course. NeedscourseId.list_assignments: List assignments in a course. NeedscourseId.get_page: Read a course wiki page, including its HTML body, publication state, URL, and editing metadata.list_pages: List course wiki pages and their URL slugs.who_am_i: Get the authenticated Canvas user profile, including the real user ID, name, and available contact information.list_files: List files in a course. NeedscourseId.get_course_analytics: Retrieve course-level analytics data. NeedscourseIdandanalyticsType.list_quizzes: List quizzes in a course. NeedscourseId.list_calendar_events: List calendar events across courses, groups, and users.list_conversations: List conversations (messages) for the authenticated user.
Destructive tools (9)
manage_course: Create, update, or delete a course. Needsaction.grade_submission: Grade a student's submission or add a comment. NeedscourseId,assignmentIdanduserId.manage_assignment: Create, update, or delete an assignment in a course. NeedscourseIdandaction.manage_module: Create, update, or delete a course module. NeedscourseIdandaction.manage_enrollment: Enroll a user in a course or remove an enrollment. NeedscourseIdandaction.manage_discussion: Create, update, or delete a discussion topic in a course. NeedscourseIdandaction.manage_page: Create, update, or delete a wiki page in a course. NeedscourseIdandaction.manage_calendar_event: Create, update, or delete a calendar event. Needsaction.send_message: Send a Canvas message (conversation) to one or more recipients. Needsrecipientsandbody.
Triggers
Canvas has 6 triggers, which fire on events in Canvas:
assignment_changes: Detects new or updated assignments across enrolled courses.new_submissions: Detects new or updated submissions for assignments in a specific course.inbound_webhookcourse_changes: Detects new or updated courses by polling the courses API.new_announcements: Detects new announcements posted in courses.enrollment_changes: Detects new or changed enrollments across courses.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Canvas there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Canvas on metorial.com: the integration overview