Skip to content

MCP server

The Schulungstool.de MCP server lets AI agents manage users, groups, courses, and participations of your account through the Model Context Protocol (MCP). It works with every client that supports remote MCP servers over Streamable HTTP, such as Claude, Claude Code, Microsoft Copilot Studio, Cursor, VS Code, Gemini CLI, and n8n.

https://mcp.schulungstool.de/mcp
  • Transport: Streamable HTTP (no SSE endpoint)
  • Authentication: OAuth sign-in, or your API key as a request header
  • Scope: one account; all tools operate on that account’s data only

There are two ways to connect:

  • Sign in with OAuth (recommended): add the server URL and sign in when your client asks – there is no key to copy. You enter your account address, sign in there as an administrator, and approve the connection with the access scopes you select; tokens are issued and renewed automatically. The connection appears in the admin area under Settings > Advanced settings > Developer options and can be disconnected there at any time.
  • API key as a request header: the right choice where a shared, long-lived credential is wanted (for example one connector for a whole organization) or the client cannot sign in via OAuth.

Generate a key in your admin area under Settings > Advanced settings > Developer options.

Configure your client to send the key in the Authorization header:

Authorization: Bearer <API key>

Token <API key> is accepted as well. Where a client asks for the raw header value, type the Bearer prefix yourself. Treat the key like a password: use environment variables or your client’s secret storage, and never commit it to a repository.

The connection’s access scopes decide which tools work: each tool runs with exactly the rights granted to the key or approved for the OAuth connection, no more. The tool table below names the required scope per tool; for the full toolset a connection needs users:write, groups:write, courses:read, and participations:write.

Use a dedicated key or connection for each agent and grant only what its tasks need: an agent that only answers questions about training status gets along with users:read, groups:read, courses:read, and participations:read. When a tool call fails because a scope is missing, the error names the scope; an administrator can grant it in the admin area (for OAuth connections: disconnect and reconnect with the needed scopes), and the change takes effect immediately. The get_key_info tool shows which rights the connection carries and which tools are available with them.

When connecting via OAuth, the approval offers exactly the scopes the tools can use; login links and deleting users are not among them.

Settings > Connectors > Add custom connector (as of October 2026): enter a name and the server URL https://mcp.schulungstool.de/mcp.

  • With OAuth (recommended): keep the default sign-in authentication. When connecting, a Schulungstool.de window opens: enter your account address, sign in as an administrator, and approve the access scopes.
  • With an API key: choose No sign-in as authentication and add the request header Authorization with the value Bearer <API key> (including the Bearer prefix). Request headers for custom connectors are currently rolling out and may not be available for every organization yet.

Then enable the connector per conversation via the plus menu. Authentication settings cannot be changed later; delete and re-add the connector instead. On Team and Enterprise plans a connector added by the organization shares one credential across all members.

Per project in .mcp.json, keeping the key in an environment variable:

{
"mcpServers": {
"schulungstool": {
"type": "http",
"url": "https://mcp.schulungstool.de/mcp",
"headers": { "Authorization": "Bearer ${SCHULUNGSTOOL_API_KEY}" }
}
}
}

Or with a single command. The single quotes matter: they keep the variable as a reference, while double quotes would let the shell insert the key itself, which Claude Code then stores in plain text in its local configuration.

Terminal window
claude mcp add --transport http schulungstool https://mcp.schulungstool.de/mcp \
--header 'Authorization: Bearer ${SCHULUNGSTOOL_API_KEY}'

Check the connection with /mcp.

Settings > Connectors > Create (developer mode must be enabled): enter a name and the server URL https://mcp.schulungstool.de/mcp and choose OAuth as authentication. When connecting, a Schulungstool.de window opens: enter your account address, sign in as an administrator, and approve the access scopes. ChatGPT has no field for a static API key header, so OAuth is the only way to connect it.

In ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project):

{
"mcpServers": {
"schulungstool": {
"url": "https://mcp.schulungstool.de/mcp",
"headers": { "Authorization": "Bearer <API key>" }
}
}
}

Command palette > MCP: Add Server > HTTP, or in .vscode/mcp.json with the key as a masked input variable:

{
"inputs": [
{
"id": "schulungstool-key",
"type": "promptString",
"description": "Schulungstool.de API key",
"password": true
}
],
"servers": {
"schulungstool": {
"type": "http",
"url": "https://mcp.schulungstool.de/mcp",
"headers": { "Authorization": "Bearer ${input:schulungstool-key}" }
}
}
}

Agent > Tools > Add a tool > New tool > Model Context Protocol: enter name, description, and the server URL, choose authentication API key with type Header and header name Authorization, then create a connection and enter Bearer <API key> as the value. Generative orchestration must be enabled; Power Platform DLP policies may block custom connectors.

In ~/.gemini/settings.json:

{
"mcpServers": {
"schulungstool": {
"httpUrl": "https://mcp.schulungstool.de/mcp",
"headers": { "Authorization": "Bearer $SCHULUNGSTOOL_API_KEY" }
}
}
}

Add the MCP Client Tool to an AI agent node, set the endpoint URL, choose Bearer authentication, and store the API key as a credential.

After connecting, send a risk-free prompt such as:

Which access rights does my Schulungstool.de key have?

The agent should call get_key_info and list the key’s scopes; the tool works with every valid key regardless of its rights. If it does, the connection works.

All tools return compact JSON with stable IDs. Search tools return one page at a time; pass page to fetch more while has_next_page is true.

Tool Type Access scope Purpose
get_key_info Read none Name, access scopes, and available tools of the connected API key
search_users Read users:read Find users by name, email, or username
get_user Read users:read, groups:read User details including group memberships
create_user Write users:write Create a user with username and an initial password, which the user must change at first sign-in
invite_user Write users:write Invite a user by email (sends an invitation email)
update_user Write users:write Change fields of an existing user
search_groups Read groups:read Find groups by name
get_group Read groups:read, users:read Group details including one page of members
add_group_member Write groups:write Add a user to a group
remove_group_member Write groups:write Remove a user from a group
search_courses Read courses:read Find courses by name or category
get_course Read courses:read Course details
enroll_user Write participations:write Enroll a user in a course (creates a participation)
get_participations Read participations:read List participations, filterable by user, course, status
get_certificate_info Read participations:read Completion status and certificate availability of a participation

get_key_info works with every valid key regardless of its scopes and doubles as a connection smoke test. Tools that read two resources at once (such as get_user, which includes group memberships) need both scopes listed.

Example prompts:

  • “Create a user for Jane Doe (jane.doe@example.com) and enroll her in the data protection course.”
  • “Which participants of the first aid course haven’t completed it yet?”
  • “Add everyone from the sales group to the new compliance course.”

Deleting users is deliberately not available via MCP; use the admin area or the REST API for that.

  • The REST API’s rate limits apply: MCP tool calls count like API requests, per account and per key or connection. Invitations and enrollments with an email notification count toward the email limit; the note in enroll_user is limited to 500 characters.
  • Write tools send an idempotency key automatically: a tool call an agent repeats after a timeout returns the first result instead of creating a duplicate.
  • Every tool call is logged in your account’s API request log with the user agent schulungstool-mcp/<version>, so you can audit agent activity in the admin area.
  • Tool names, parameters, and result fields are treated like API contracts: breaking changes are announced in the changelog with a deprecation period.
  • The server is stateless; it stores no data of its own and no conversation state.
  • 401 Unauthorized: the header is missing or malformed, or the credential was rejected. With an API key, check that the value includes the Bearer (or Token ) prefix and the full 128-character key. With OAuth, the client renews an expired token on its own; if the connection was disconnected in the admin area, sign in again.
  • 403 with “Required access right”: the key lacks the scope the tool needs; the error names it. An administrator can grant it under Settings > Advanced settings > Developer options; the change takes effect immediately. get_key_info shows the current rights.
  • 429 Too Many Requests: rate limit reached, or too many failed authentication attempts for this key. Wait for the time given in Retry-After.
  • The OAuth sign-in fails or loops: make sure the server URL is exactly https://mcp.schulungstool.de/mcp, sign in as an administrator of the account (only administrators can approve connections), and complete the approval within a few minutes of starting it. If a connection was disconnected in the admin area, the client has to sign in again.
  • 401 with a configured API key although the key is valid: check that authentication is configured as a static header (No sign-in on claude.ai) and not as OAuth.
  • Tool calls fail with validation errors: the error message lists the affected fields and what to fix; agents usually repair these on their own.