# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
properties:
canvasApiKey:
type: string
default: ""
description: Canvas API key for accessing your courses. Found in "Canvas > Account > Settings > Approved Integrations > New Access Token"
googleApiKey:
type: string
default: ""
description: Google API key for Gemini services found at https://aistudio.google.com/app/apikey
gradescopeEmail:
type: string
default: ""
description: Gradescope email for accessing your courses.
gradescopePassword:
type: string
default: ""
description: Gradescope password for accessing your courses.
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'python',
args: ['canvas.py'],
env: {
CANVAS_API_KEY: config.canvasApiKey,
GOOGLE_API_KEY: config.googleApiKey,
GRADESCOPE_EMAIL: config.gradescopeEmail,
GRADESCOPE_PASSWORD: config.gradescopePassword
}
})
exampleConfig:
canvasApiKey: your_canvas_api_key
googleApiKey: your_google_api_key
gradescopeEmail: your_gradescope_email
gradescopePassword: your_gradescope_password