← Support

MCP Setup Guide

Connect the Klardaten DATEV MCP server to your AI tools using OAuth 2.1.

This guide explains how to connect clients to the Klardaten DATEV MCP server using OAuth 2.1.

Endpoint: https://api.klardaten.com/mcp

Open WebUI

  1. In the admin panel, open Settings → Integrations.
Open WebUI: Open admin panel then navigate to Settings → Integrations
  1. Under "Manage Tool Servers", click Add (+).
  2. Set the connection type to "MCP Streamable HTTP" (not OpenAPI).
  3. Fill in the connection details:
    • Name: Klardaten
    • ID: e.g. klardaten
    • URL: https://api.klardaten.com/mcp
  4. For authentication, choose "OAuth 2.1".
  5. Click "Register Client" to verify the connection. You can also restrict which users may use the MCP server.
  6. Click "Save" to close the dialog.
Open WebUI: MCP Streamable HTTP tool server settings

Use the MCP server in a chat

  1. Open a new chat.
  2. Choose Tools → Klardaten to start the OAuth login flow.
Open WebUI: selecting Klardaten tools in a chat

On the login screen, sign in with either:

  • your Klardaten user email and password, or
  • your user API key
OAuth login screen for MCP

After you confirm, the tool should be available in the chat. You can then work with your instance data through the MCP connection.

n8n

  1. Add an "MCP Client" node to your workflow.
  2. Configure it:
    • MCP Endpoint URL: https://api.klardaten.com/mcp
    • Authentication: MCP OAuth
  3. Create a new credential under "Credential for MCP OAuth2 API".
n8n: MCP Client node and endpoint
  1. In the credential:
    • Leave "Use Dynamic Client Registration" enabled.
    • Set "Server URL" to https://api.klardaten.com/mcp.
  2. Click "Connect to MCP".
n8n: MCP OAuth credential and Connect to MCP

You will see the same OAuth flow as in Open WebUI.

OAuth login screen for MCP

When authorization finishes, the tool list should show the available DatevConnect tools.

n8n: MCP tools list after authorization