moodle mcp connect doesn’t write a config file for it — you add it through claude.ai’s own settings instead.
Official references: Getting started with custom connectors using remote MCP and Third party connectors with remote MCP, both fetched 2026-09-21.
Prerequisites
- A deployed Moodle Worker (
moodle mcp deploy) or a deployed Ed Discussion Worker, or use Ed’s hosted endpoint. - For Moodle: nothing more, since claude.ai authenticates through OAuth pairing.
- Moodle
- Ed Discussion
Nothing is approved on your Worker until you open a pairing window yourself:This prints your connector URL and a one-time pairing code, valid for ten minutes and one approval.In claude.ai:
- Go to Customize → Connectors (Team/Enterprise owners: Organization settings → Connectors first, then members connect from Customize → Connectors).
- Click Add custom connector.
- Enter the connector URL
moodle mcp pairprinted. - Leave authentication on its default OAuth detection — don’t switch to No sign-in or add a Request headers entry; the Worker only accepts OAuth from claude.ai.
- Click Add, then Connect. claude.ai opens the Worker’s approval page; sign in and enter the pairing code.