GitHub - EduBase/MCP: The EduBase MCP server enables Claude and other LLMs to interact with EduBase's comprehensive e-learning platform through the Model Context Protocol (MCP). (original) (raw)

EduBase logo

EduBase MCP server

pre-commit.ci status smithery badge

This repository contains the implementation of the Model Context Protocol (MCP) server for the EduBase platform. It allows MCP clients (for example Claude Desktop) and LLMs to interact with your EduBase account and perform tasks on your behalf. It supports stdio, SSE and streamable HTTP transport protocols.

EduBase MCP demo GIF: Claude uploads math questions

What is EduBase?

EduBase is an innovative, modular, online educational platform that makes learning more enjoyable, simpler and interactive, suitable for educational institutions or enterprises.

Why choose EduBase?

EduBase revolutionizes digital learning with its unique combination of features:

From higher education institutions to corporate training departments, EduBase scales to meet your specific needs while maintaining an intuitive user experience across all devices.

Demo video

Collaboratively creating and uploading questions, scheduling exams and analyzing user results with Claude:

Demonstrating EduBase's MCP server to collaboratively create and upload questions, schedule exams and analyze results.

Obtaining your API credentials

Once logged in, on your Dashboard, search for the Integrations menu, click "add integration" and choose the type "EduBase API".

If you don't see this option, enter the MCPGITHUB activation code or feel free to contact us to request access at info@edubase.net.

EduBase API credentials page

Tools

Each documented API endpoint is available as a separate tool, named edubase_<method>_<endpoint>. For example, the tool for the GET /user endpoint is named edubase_get_user. See our developer documentation for more information.

Configuration

The MCP server can be configured using environment variables. The following variables are available:

Variable Description Required Default value
EDUBASE_API_URL The base URL of the EduBase API, most probably https://subdomain.edubase.net/api. Yes https://www.edubase.net/api
EDUBASE_API_APP The App ID of your integration app on EduBase, the app on the EduBase API. Find this in the integration details window on EduBase. Not if HTTP transport is used with authentication, otherwise Yes -
EDUBASE_API_KEY The Secret key of your integration app on EduBase, the secret on the EduBase API. Find this along the App ID in the integration details window on EduBase. Not if HTTP transport is used with authentication, otherwise Yes -
EDUBASE_SSE_MODE Start MCP server in HTTP mode with SSE transport. Value must be true. No false
EDUBASE_STREAMABLE_HTTP_MODE Start MCP server in HTTP mode with streamable HTTP transport. Value must be true. No false
EDUBASE_HTTP_PORT HTTP server will listen on this port if SSE or streamable HTTP transport mode is used. No 3000

Use as a remote MCP server

You can use the EduBase MCP server as a remote MCP server for your MCP client. To do this, you need to host the MCP server where clients can access it, and then configure the client to connect to the server. Either start it with SSE or streamable HTTP transport mode and always use HTTPS when accessing the server remotely over the internet!

Authentication with remote servers

You can use server in two modes:

Usage with Claude Desktop

For a step-by-step walkthrough, see our blog post on how to connect EduBase with Claude: The Complete MCP Integration Guide.

Installing manually

Add the following to your claude_desktop_config.json:

Using Node.js

Before running the MCP server, make sure you have Node.js installed. You can download it from nodejs.org or use a package manager like brew. Download EduBase MCP server release or clone the repository and run npm run build to build the server. Do not forget to adjust /path/to/dist to the actual directory and configure the environmental variables!

{ "mcpServers": { "edubase": { "command": "node", "args": [ "/path/to/dist/index.js" ], "env": { "EDUBASE_API_URL": "https://domain.edubase.net/api", "EDUBASE_API_APP": "your_integration_app_id", "EDUBASE_API_KEY": "your_integration_secret_key" } } } }

Using Docker

Before running the MCP server, make sure you have Docker installed and is running. You can download it from docker.com or use a package manager. Do not forget to configure the environmental variables!

{ "mcpServers": { "edubase": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "EDUBASE_API_URL", "-e", "EDUBASE_API_APP", "-e", "EDUBASE_API_KEY", "edubase/mcp" ], "env": { "EDUBASE_API_URL": "https://domain.edubase.net/api", "EDUBASE_API_APP": "your_integration_app_id", "EDUBASE_API_KEY": "your_integration_secret_key" } } } }

Installing via remote MCP server

You can use the provided EduBase MCP server (if available) as a remote server. We recommend Base64 encoding your EDUBASE_API_APP and EDUBASE_API_KEY and using it in as a Bearer token in the Authorization header (Authorization: Bearer ${BASE64_ENCODED_TOKEN}).

{ "mcpServers": { "edubase": { "command": "npx", "args": [ "mcp-remote", "https://domain.edubase.net/mcp", "--header", "Authorization: Bearer EDUBASEAPIAPP:{EDUBASE_API_APP}:EDUBASEAPIAPP:{EDUBASE_API_KEY}" ] } } }

Installing via Smithery

To install EduBase MCP server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @EduBase/MCP --client claude

Contact

Website: www.edubase.net
Developer Documentation: developer.edubase.net
Email: info@edubase.net