MetorialDocs

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

Sign-in methods

MethodTypeWhat a person provides
Personal Access TokenAPI tokentoken and canvasDomain
OAuth2 (default)OAuthSigns 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:

ScopeNameWhat it allows
url:GET|/api/v1/users/:user_id/profileUser ProfileAccess user profile information
url:GET|/api/v1/coursesList CoursesList courses for the current user or account
url:POST|/api/v1/accounts/:account_id/coursesManage CoursesCreate and update courses
url:GET|/api/v1/courses/:idGet CourseRetrieve a single course by ID
url:PUT|/api/v1/courses/:idUpdate CourseUpdate course settings
url:DELETE|/api/v1/courses/:idDelete CourseDelete or conclude a course
url:GET|/api/v1/accounts/:account_id/usersList UsersList users in an account
url:GET|/api/v1/courses/:course_id/usersList Course UsersList users enrolled in a course
url:GET|/api/v1/courses/:course_id/enrollmentsList EnrollmentsList enrollments in a course
url:POST|/api/v1/courses/:course_id/enrollmentsCreate EnrollmentEnroll a user in a course
url:GET|/api/v1/courses/:course_id/assignmentsList AssignmentsList assignments in a course
url:GET|/api/v1/courses/:course_id/assignments/:idGet AssignmentGet a single assignment
url:POST|/api/v1/courses/:course_id/assignmentsCreate AssignmentCreate a new assignment
url:PUT|/api/v1/courses/:course_id/assignments/:idUpdate AssignmentUpdate an existing assignment
url:DELETE|/api/v1/courses/:course_id/assignments/:idDelete AssignmentDelete an assignment
url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/submissionsList SubmissionsList submissions for an assignment
url:PUT|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_idUpdate SubmissionGrade or comment on a submission
url:GET|/api/v1/courses/:course_id/modulesList ModulesList modules in a course
url:POST|/api/v1/courses/:course_id/modulesCreate ModuleCreate a new module
url:PUT|/api/v1/courses/:course_id/modules/:idUpdate ModuleUpdate a module
url:GET|/api/v1/courses/:course_id/discussion_topicsList Discussion TopicsList discussion topics in a course
url:POST|/api/v1/courses/:course_id/discussion_topicsCreate Discussion TopicCreate a new discussion topic
url:GET|/api/v1/courses/:course_id/pagesList PagesList wiki pages in a course
url:POST|/api/v1/courses/:course_id/pagesCreate PageCreate a wiki page
url:GET|/api/v1/courses/:course_id/filesList FilesList files in a course
url:GET|/api/v1/calendar_eventsList Calendar EventsList calendar events
url:POST|/api/v1/calendar_eventsCreate Calendar EventCreate a calendar event
url:GET|/api/v1/conversationsList ConversationsList conversations for the current user
url:POST|/api/v1/conversationsCreate ConversationSend a message
url:GET|/api/v1/courses/:course_id/quizzesList QuizzesList quizzes in a course
url:GET|/api/v1/courses/:course_id/groupsList GroupsList groups in a context
url:GET|/api/v1/courses/:course_id/rubricsList RubricsList 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:

metorial-admin portals access list <portal-id> --type provider_template --search canvas

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

metorial catalog search canvas
metorial setup <catalog-item-id>

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.

metorial list canvas
metorial client list
metorial install <client-identifier> <integration-id>

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 list canvas
metorial tools <integration-id>
metorial call <integration-id> list_courses -d '{}'

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. Needs courseId.
  • 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. Needs courseId.
  • 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. Needs courseId.
  • 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. Needs courseId and assignmentId.
  • 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. Needs courseId.
  • list_assignments: List assignments in a course. Needs courseId.
  • 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. Needs courseId.
  • get_course_analytics: Retrieve course-level analytics data. Needs courseId and analyticsType.
  • list_quizzes: List quizzes in a course. Needs courseId.
  • 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. Needs action.
  • grade_submission: Grade a student's submission or add a comment. Needs courseId, assignmentId and userId.
  • manage_assignment: Create, update, or delete an assignment in a course. Needs courseId and action.
  • manage_module: Create, update, or delete a course module. Needs courseId and action.
  • manage_enrollment: Enroll a user in a course or remove an enrollment. Needs courseId and action.
  • manage_discussion: Create, update, or delete a discussion topic in a course. Needs courseId and action.
  • manage_page: Create, update, or delete a wiki page in a course. Needs courseId and action.
  • manage_calendar_event: Create, update, or delete a calendar event. Needs action.
  • send_message: Send a Canvas message (conversation) to one or more recipients. Needs recipients and body.

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_webhook
  • course_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