Koppla MCP Server

Koppla - Active Directory MCP Server

Local serverstdioPython

What is the Koppla MCP server?

Koppla MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Koppla - Active Directory MCP Server.

What you get

Koppla is a model-context-protocol server for Active Directory that enables you to manage users, groups, and computer objects using natural language.

Setting it up

The server ships on PyPI as koppla, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What the assistant can call

Once Koppla is connected, these are the calls the assistant has available:

  • AD_SERVER — The address of the Active Directory server
  • AD_USER — Username for authentication
  • AD_PASSWORD — Password for authentication
  • BASE_DN — Base DN for LDAP queries
  • AD_WRITE_ENABLED — Enable or disable write operations (true/false)

Configuration and credentials

You will need 5 environment variables: AD_SERVER, AD_USER, AD_PASSWORD, BASE_DN, AD_WRITE_ENABLED. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the koppla mcp server does with a few real requests.

Choosing this one

Plenty of file and storage access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Koppla's toolset — AD_SERVER, AD_USER, AD_PASSWORD and 2 more — is a fair guide to whether it matches your workflow. It is maintained by Rudy Mens - LazyAdmin.nl; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
AD_SERVERThe address of the Active Directory server.
AD_USERUsername for authentication.
AD_PASSWORDPassword for authentication.
BASE_DNBase DN for LDAP queries.
AD_WRITE_ENABLEDEnable or disable write operations (true/false).

How to install the Koppla MCP server

{
  "mcpServers": {
    "Koppla-Active-Directory": {
        "command": "python",
        "args": ["-m", "koppla.server"],
        "env": {
            "AD_SERVER": "ldap://<domain-controller-name>:389",
            "AD_USER": "<domain\\username>",
            "AD_PASSWORD": "<password>",
            "BASE_DN": "DC=lazyadmin,DC=nl",
            "AD_WRITE_ENABLED": "false"
        }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
AD_SERVERConfiguration value read at startup.Optional
AD_USERConfiguration value read at startup.Optional
AD_PASSWORDConfiguration value read at startup.Optional
BASE_DNConfiguration value read at startup.Optional
AD_WRITE_ENABLEDConfiguration value read at startup.Optional

Example prompts to try

  • Use Koppla to AD SERVER.
  • Use Koppla to AD USER.
  • Use Koppla to AD PASSWORD.

Frequently asked questions

It connects Koppla to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (AD_SERVER, AD_USER, AD_PASSWORD, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Koppla directly.