How do AI assistants connect to OpenProject in openDesk over MCP?
An openDesk operator who wants an assistant to read and act on OpenProject work packages needs every action to run under the requesting user's own permissions. In short, an MCP client signs the user in through openDesk's Keycloak-based identity provider and then calls the OpenProject MCP server with that user's token, so the server can evaluate each request against that person's roles and project memberships. The setup has three parts. The first is the assistant client, the MCP-capable application the user works in. The second is the Keycloak registration, a client entry in the identity provider that defines which applications may request tokens, where sign-in returns and which scopes are granted. The third is the OpenProject MCP server, which validates the token and turns the assistant's requests into work package operations that OpenProject records under that user.
Treat the openDesk Enterprise Edition documentation as the starting point for this path, because the Enterprise Edition is a prerequisite. ZenDiS lists OpenProject Enterprise add-ons among the features available only in Enterprise Edition, and the Community Edition is supported only by the community on openCode with no SLA. Confirm in writing which OpenProject Enterprise add-on the MCP server requires, the minimum version it needs and whether your current subscription covers it, because this decision comes before any Keycloak work. Also confirm that your openDesk release is the latest minor version, since only that version is supported and an upgrade may be needed first. Put these answers into the written scope so the registration steps are planned against a known edition and version.
This path gives an assistant access to project data, which may cover work package descriptions, comments and attachments that the user can see. Confirm the exact scope the server exposes, because that scope defines what the assistant can read and change. That makes this a data protection decision as well as a configuration task. Before you register the client, record which data the assistant may read and change, which model or service receives the content it retrieves, where its tool-call logs are kept and who approves the registration. Ask your data protection officer to review these data flows before go-live, since the assistant processes personal data held in OpenProject. Plan now how you would withdraw the registration and the user's tokens if the assistant, its vendor or your policy changes.
Prerequisites for connecting AI assistants to OpenProject in openDesk
Six items need to be settled before you register the MCP client in openDesk's Keycloak. Some are commercial, such as the OpenProject license tier, and some are technical, such as hostnames, certificates and client capability. Confirm each one with the team that owns it, because a gap in any of them blocks the sign-in test.
OpenProject Enterprise add-on
The MCP server is provided through an OpenProject Enterprise add-on, so the assistant can reach project data only on a licensed tier. Confirm the add-on name, tier and user minimum directly with OpenProject before you plan the rollout. OpenProject's published Enterprise pricing for on-premises use is per named user per month, with a 25-user minimum at Professional and a 100-user minimum at Premium, so treat those figures as a starting reference only.
OpenProject pricingopenDesk release and edition
Only the latest minor version of openDesk is supported, so the deployment must run the current minor line or plan the intermediate steps needed to reach it. ZenDiS recommends the Enterprise Edition for production, which adds SLA-backed second and third level support and patches. Record the exact release you run, then check the releases page for anything newer before you start, because the latest minor version changes monthly.
openDesk releasesKeycloak admin access to the realm
The MCP client is registered in the Keycloak instance that holds openDesk users, so you need administrator rights in the realm that holds openDesk users. Confirm that your administrators can create a client, edit its redirect URIs and add a protocol mapper to the token. If your organization federates identities from an external provider, confirm which realm and identity provider match those users before you create anything.
Keycloak admin guidePublic HTTPS hostnames and certificates
The OIDC redirect URIs and the MCP endpoint need public HTTPS hostnames that your MCP client and users' browsers can reach, each with a certificate the client trusts. openDesk expects an ingress controller and cert-manager in the cluster, so confirm which component issues these certificates and which DNS zone holds the names. Agree the exact redirect URI strings now, since a single character difference in a redirect URI typically blocks sign-in.
openDesk requirementsMCP client with a matching OIDC flow
The MCP client must support the OIDC sign-in flow you pick, and that choice decides whether the client can hold a client secret or must run as a public client. Check the client's documentation for the grant types it supports, how it handles the redirect back to itself and where it stores refresh tokens. Test the flow with the exact client version you plan to approve, because client updates can change these behaviors.
Named owner and test users
Name one accountable owner who approves which OpenProject projects the assistant can reach and who answers for its access. Create dedicated test users in openDesk with the OpenProject roles you expect staff to hold, so you can see what the assistant can read and change for each role. Keep these accounts separate from administrator accounts, and record who removes access when the owner changes.
How sign-in and tool calls flow between the assistant, Keycloak and OpenProject
This illustrative sequence starts with a user asking the MCP client to read or change OpenProject data. The client sends the user to openDesk's Keycloak to sign in, receives an access token for the audience registered for the OpenProject MCP server, and calls that server with it. The MCP server then calls the OpenProject application on the user's behalf, and results return the same way. Keycloak, the MCP server and OpenProject sit inside one openDesk trust boundary, while the assistant client may run outside it. Before you use this as a build reference, confirm the exact endpoints, token type and token handling in the MCP server's documentation.
Illustrative flow; confirm endpoints and token handling before building from it.
Registering the MCP client in openDesk Keycloak, step by step
This sequence registers one AI assistant as a client in the openDesk Keycloak realm, limited to the OpenProject actions you approve and to named users or groups. It finishes with a tested sign-in path in which a read-only user and a standard user each receive only the access their role allows. Run every step in a test environment first, and move the same settings to production only after the checks pass.
Confirm Enterprise add-on and MCP server
A platform owner confirms, in a test environment, that the OpenProject Enterprise add-ons and the MCP server are enabled in the openDesk deployment. Enterprise add-ons are an Enterprise-only openDesk feature, and OpenProject lists single sign-on among its Enterprise features, so confirm the edition before going further. Check the add-on status in the OpenProject administration area and confirm the exact admin location in your release documentation. The step is done when a test user can sign in through openDesk and reach the MCP server endpoint through your openDesk hostname.
Create the client in the openDesk realm
In the Keycloak realm that holds openDesk users, an administrator creates a client for the assistant with a clear client ID, for example the illustrative mcp-openproject-assistant. Choose the client type that matches how the assistant authenticates, and confirm with the assistant's documentation which types it supports. Keep the client in the same realm that signs users into OpenProject, so tokens carry the identities your team already manages. The step is done when the client appears in the realm's client list and its settings show the openDesk realm name.
Set exact redirect URIs
List every callback URI the assistant uses, copied exactly, including scheme, host, port and path. Wildcards and broad host patterns are not allowed here, because they let a token be returned to a location you never approved. Register test and production hostnames as separate entries, and remove any local development addresses before go-live. The step is done when you start a sign-in from the assistant, the browser returns to the registered URI, and Keycloak shows no invalid redirect URI error.
Define scopes for approved actions
Create client scopes that map to each read and write action you approve, then attach only those scopes to the assistant client. Start with read access to the OpenProject data the team needs, and add write scopes only for actions the data owner has signed off in writing. Remove any default scopes the assistant does not need. The step is done when the scope list on the client matches your approved permission table and a second reviewer has checked it against that table.
Add the audience mapper
Add an audience mapper to the assistant client so that access tokens include the audience value the MCP server validates. Get the exact audience string from the MCP server documentation or your deployment settings, because a mismatch causes valid tokens to be rejected. The step is done when a test token obtained in the test environment decodes to an aud claim that contains the MCP server audience. Decode tokens only in test, never log them, and clear any copies from terminal history or notes.
Restrict the client to named users or groups
Restrict the client to named users or groups so that a valid openDesk account alone is not enough to obtain a token. Assign access through groups from your openDesk identity setup, and confirm how those groups are provisioned in your environment before you rely on them. The step is done when an approved test user signs in successfully and a test user outside the approved groups is refused at sign-in or at token request.
Configure the assistant client details
Enter the connection details in the assistant: the MCP server endpoint, the issuer or discovery address of the openDesk realm, the client ID, and the client secret if your client type uses one. Copy the values from the Keycloak client page and the MCP server documentation, and keep the secret in your secrets manager rather than in shared notes. The step is done when the assistant completes sign-in for a test account and lists only the OpenProject projects that account is allowed to see.
Test as read-only and standard users
Test with two accounts: a read-only user and a standard user. The read-only user should view projects and work packages, and a write attempt should be blocked by the MCP server or by OpenProject permissions. The standard user should complete the approved write actions. Decode a test token only in the test environment to confirm the audience and scope claims, and never log tokens, paste them into tickets or keep them in assistant transcripts. The step is done when the read-only user's write attempt returns a denial and the standard user's approved write succeeds.
How user identity and permissions map from openDesk to OpenProject
This table compares how a user is identified in openDesk's Keycloak and Nubus setup with the matching account and permissions in OpenProject. Read each row across, and use the last column as a checklist to work through before the assistant connection goes live. The main takeaway is that the assistant has no identity of its own. It acts with the signed-in user's OpenProject permissions, so any access mistake in either system carries through to the assistant.
| Item | openDesk side | OpenProject side | What to confirm |
|---|---|---|---|
| User identifier | Nubus account matched by username or another attribute such as mailPrimaryAddress | Account matched by login or email address | Which attribute the MCP server matches on, in its configuration, and that it equals the OpenProject login or email |
| Groups or roles | Groups and roles held in Nubus and passed into Keycloak | Project memberships and global roles that set work package permissions | That each group maps to the OpenProject role intended, and that no role grants more than the assistant's users need |
| Token audience | Audience mapper on the assistant's Keycloak client adds the MCP server to the access token | MCP server accepts only tokens carrying its expected audience | The audience value in issued tokens matches the value the MCP server expects |
| MCP server identity | Keycloak client registered for the OpenProject MCP server | Server calls OpenProject with the signed-in user's permissions | Client ID and secret handling, and that no shared service account is created in OpenProject |
| Client scopes | Scopes assigned to the assistant's client in Keycloak | Actions allowed by the user's OpenProject role, within what the scopes permit | Which scopes are granted, and that each scope maps to the MCP actions your users need |
| Redirect URIs and callback | Exact redirect URIs registered on the Keycloak client | No separate setting, since actions run as the signed-in user | Each callback URL of the assistant is registered exactly, including scheme, host and path |
| Enterprise add-on prerequisite | openDesk Enterprise Edition includes OpenProject Enterprise add-ons | MCP access depends on the Enterprise add-on being licensed and active | The add-on is licensed and enabled in your OpenProject instance, confirmed with your vendor |
| Revoking access | Disable the client or the user in Keycloak and end active sessions | Removing the user's membership or locking the account ends OpenProject access | How long existing tokens stay valid under your Keycloak token lifetime settings |
Security controls for AI access to OpenProject
Each control below limits what an AI assistant can reach in OpenProject and who can use it. Together they cover the tokens Keycloak issues, the permissions OpenProject applies to each user, the records you keep, and the content that leaves your environment. Check every control in your own environment before the assistant reaches project data.
Scopes and audience limits
Request only the client scopes the MCP server needs, and add an audience mapper so each access token names the OpenProject MCP server as its audience. A token issued for the assistant should fail when presented to other openDesk services. Check the aud and scope claims in a test login, then confirm that the MCP server rejects tokens without its audience. Confirm with the MCP server documentation which scopes it reads, and remove any default scope it does not use.
Exact redirect URI matching
Register each redirect URI in full, including scheme, host, port and path, and use exact matching with no wildcards or broad prefixes. A loose pattern can let an attacker receive the authorization code issued to the assistant. Test the setup with a deliberately mismatched URI and confirm Keycloak refuses it. Keep the list in the same change record as the client, and remove any development callback before the assistant goes live.
Token lifetimes and sessions
Set access token lifetimes short enough that a stolen token has limited use, and set idle and maximum session limits for the assistant's client in Keycloak. Refresh tokens need their own lifetime and revocation check because they outlive access tokens. Confirm the values in the realm token and session settings, then test that a revoked session stops MCP calls. Record the values you chose, the reason for each, and who approved them.
Per-user permissions with a read-only account
Confirm that each MCP call is evaluated against the signed-in user's OpenProject permissions, so the assistant sees only what that person can see. Start testing with a read-only account and confirm that write calls fail with a permission error. Repeat the test with a project member whose role covers one project only. Confirm with the MCP server documentation whether it needs an Enterprise add-on, since that affects which roles and checks are available.
Audit logging of MCP calls
Record which user, client and tool each MCP call used, and when it happened. Confirm what OpenProject and Keycloak log, at what level, and where those records are stored, because default logging may not capture the MCP client identity. Check that Keycloak login and token events reach your central log store, and that OpenProject activity can be traced back to the MCP client. Test with one read call and one write call, and find both records before go-live.
Client secret and model content
Keep the client secret in a secrets manager and out of configuration files, container images and chat logs. Rotate it when staff with access change and after any suspected exposure. Confirm which tool results the assistant sends to its model provider, such as work package titles, comments and attachment names, and what that provider retains. Review the data flows in the topic Data protection for AI features in openDesk before you enable access.
Revoking AI assistant access to OpenProject: what actually stops
Revoking an AI assistant's access means cutting several layers, and no single switch is enough. The assistant reaches OpenProject through a client registered in openDesk's Keycloak, so disabling or deleting that Keycloak client stops new logins through it. You can also remove the role or group that grants MCP access, disable the user in the openDesk identity provider, or remove the user's OpenProject permissions or lock the OpenProject account. Each layer closes a different path, and none of them proves the others took effect. Decide in advance which layers your runbook cuts for each case, such as one user, one assistant client or a retired integration, and confirm each layer separately.
Access tokens stay valid until they expire, so revocation is only as fast as your token lifetimes. Set the access token lifetime in the openDesk realm to a value your security team accepts for an assistant that can read and write project data, and record that value in the runbook. Then confirm whether logout and session termination in Keycloak also end the refresh tokens the MCP client holds, because a client that keeps refreshing can keep working after the user is disabled. Check OpenProject's own session handling too, and confirm whether the MCP server validates the token on every call or caches it. The exact behavior depends on your Keycloak version, so verify it on your deployment using the Keycloak server administration guide.
Test each step by repeating the same tool call from the assistant after it. Use one read and one write call against a non-production project, run both before any revocation to confirm they work, then repeat them after each layer: disabling the Keycloak client, removing the role or group, disabling the user, and locking the OpenProject account. Record the time and result of every step, because a token issued just before a change can keep succeeding until its lifetime ends. Name one owner for the runbook who can execute every layer at short notice, and link the runbook to the offboarding steps in the openDesk identity and user provisioning topic, which covers what happens when a user leaves.
Common failures when connecting AI assistants to OpenProject in openDesk
This table lists seven failures that appear when an AI assistant connects to OpenProject through the MCP server in openDesk. For each one it gives the symptom, the most likely cause and the first fix to try. Treat each cause as the most likely explanation, and confirm it in the Keycloak and OpenProject logs before you change any setting, because a fix applied to the wrong cause can hide the failure.
| Symptom | Most likely cause | Fix |
|---|---|---|
| MCP server missing from OpenProject | The Enterprise add-on is absent or not enabled, so the MCP server is not offered | Confirm the Enterprise add-on is installed and enabled in OpenProject, then retest. Check the OpenProject logs for the cause. |
| Redirect URI error at login | The redirect URI in the Keycloak client differs from the callback the MCP client sends, often in scheme, host, port or path | Compare the Keycloak client's valid redirect URIs with the failed callback URL, character by character. Change only the entry that differs. |
| Token rejected for its audience | The audience mapper is missing or names a client that does not match the OpenProject MCP server | Check the aud claim of a test token. Add or correct the audience mapper on the client scope, then sign in again. |
| Login succeeds with an empty tool list | The client scope that grants MCP access is not assigned to the MCP client, so the token carries no tool permissions | Assign the scope to the client, sign in again, and confirm the scope appears in the token. Check the Keycloak logs for the grant. |
| 403 for some users only | Those users have fewer OpenProject roles or project memberships than working users, so OpenProject denies the action | Compare the affected user's OpenProject role in the project with a working user's, then adjust the role in OpenProject. |
| Tool call works after access is revoked | The access token is still within its lifetime, or the MCP client keeps a cached session | End the user's sessions in Keycloak, then test with a fresh sign-in. If tokens outlive revocation, review the token lifetime settings. |
| Works in test, fails in production | The realm, issuer URL or hostname differs between environments, so tokens from one do not validate in the other | Compare the issuer, realm and hostname values in both environments and correct the production client configuration. |
What connecting AI assistants to OpenProject in openDesk costs and takes
How much does it cost to connect AI assistants to OpenProject in openDesk?
The cost has three parts, and only the license recurs. The OpenProject Enterprise license is priced per named user per month: Basic at 5.95 euros and Professional at 10.95 euros, according to OpenProject's pricing page. Those tiers carry a 25-user minimum, so a small pilot still pays for 25 seats. Confirm which tier covers the MCP server before you buy. openDesk Enterprise Edition, which ZenDiS recommends for production, is not priced on a public list, so its figure must come from a quote. The integration work itself, including client registration, testing and documentation, is one-time and fixed-scope, agreed in writing before it starts. Ask every quote to show these lines separately and to state the monthly license cost at your named-user count.
What makes the timeline for an MCP connection longer or shorter?
The number of MCP clients is the first driver, because each client needs its own registration, redirect URIs and scopes. The scope set comes next, followed by the number of environments you run, such as test and production, since each one needs its own configuration and testing. The permission model matters most for effort: how OpenProject project roles map to the groups each user already holds determines how many test users and negative tests you need. Plan a separate test pass in each environment and a retest after any upgrade. Ask the quote to state duration as a range tied to these counts, list the assumptions behind it, and name what would extend it, such as a late decision on the assistant provider.
What do we need to provide before the connection work starts?
Your team provides five inputs, and each one can stall the work if it is missing:
- A named owner who can approve scope, access and go-live decisions.
- OpenProject and Keycloak admin access in the environments in scope, including rights to create clients and protocol mappers.
- Test users with known roles and project memberships, including users who must be denied access.
- DNS records and certificates for the OpenProject and openDesk hostnames the assistant will call.
- A decision on the assistant provider, since its redirect URIs and requested scopes define the client registration.
Settle these before the build starts. Missing admin access or an open provider decision are the most common reasons a fixed timeline slips.
Can our own identity team connect OpenProject to an AI assistant without a partner?
Yes, if the team already has OpenID Connect and Keycloak experience and tests the change in a non-production environment first. The openDesk identity provider is Keycloak-based, so the platform will be familiar to an identity team. The MCP path adds details that general SSO work does not cover. The main risk is audience and scope errors: the access token must carry the audience the OpenProject MCP server expects and the scopes the client requests. A mismatch often looks like a login failure, which makes it hard to diagnose. Have the team decode a test token and check the aud and scope claims before any production user signs in. Limit the first run to a few test users. A partner is most useful for the first registration, the permission model review and the written handover.
How do I confirm the OpenProject MCP server works with our versions?
Confirm support against your exact deployed versions before you scope the work, because availability can depend on the combination of openDesk and OpenProject releases. Start with the OpenProject release notes for the version you run, then check the openDesk release notes for the version your deployment uses. openDesk supports only its latest minor version, so an older deployment may need an upgrade before the MCP setup is supported. Ask the vendor and your integration partner to confirm in writing that the MCP server is available in your OpenProject edition and your openDesk release. Do not start client registration until that confirmation is in hand, and record the confirmed versions in the scope so later reviews can see what was tested.
What should we ask for in a quote for this work?
Ask for a quote built from a written scope, because fixed-scope engagements are agreed in writing before work starts. The quote should list:
- Each MCP client, its scope set, each environment, and the permission model the work covers.
- Separate lines for OpenProject Enterprise licensing, openDesk Enterprise Edition and services, with the license shown per named user per month.
- Assumptions about named users, test users and the access your team provides.
- Whether retesting after each openDesk or OpenProject upgrade is included or priced separately.
- Handover documentation, including the procedure for revoking access, and the support that follows, whether a retainer or none.
- Acceptance criteria and the retest after go-live. DeployOpen does not publish a price list, so a quote follows from the written scope.
Do openDesk or OpenProject upgrades break an existing MCP connection?
They can, so every upgrade needs a retest of the MCP path. openDesk plans major releases annually in Q3, minor releases monthly and patch releases on demand, according to its release management documentation. In-place upgrades between majors are not guaranteed, and skipping several minor versions may need intermediate steps. Any of these changes can alter the client registration, the audience mapper, the scopes or the redirect URIs. A successful login alone does not prove the token still carries what OpenProject expects. After each upgrade, check the token claims, run the positive and negative test users again, and confirm the revocation procedure still works. Agree in the quote whether this retest is one-time or part of a retainer, since ongoing support, upgrades and continuous testing are available that way.
How DeployOpen scopes, delivers and supports this integration
DeployOpen plans, implements, integrates, hardens and documents self-hosted open-source platforms inside your own infrastructure. For this integration, that means agreeing the written scope first, registering the MCP client in your openDesk Keycloak, and handing over the settings, tests and revocation steps so your team can run them. Most engagements are fixed-scope, and ongoing support is available as a retainer.
How we scope
- We agree the written scope before work starts, listing the openDesk release and OpenProject edition in use.
- We confirm the OpenProject Enterprise add-on prerequisite and the Keycloak realm that will host the MCP client.
- Scope lists which AI assistants, users and groups get access, and which tokens and scopes each may request.
How we build
- We register the MCP client in openDesk's Keycloak with the redirect URIs your assistants use.
- We configure client scopes and an audience mapper so tokens name the OpenProject MCP server as audience.
- We test a sign-in from each assistant and check that a revoked client can no longer reach OpenProject.
How we hand over
- You receive a runbook with the client settings, scopes, mappers, redirect URIs and the exact steps used.
- Your team gets a revocation procedure, covering how to disable the client and remove assistant access to project data.
- Test results and configuration evidence are delivered in writing, so your security and compliance teams can review them.
How we support
- Ongoing support is available as a retainer, covering updates to the openDesk release and OpenProject version in use.
- Keycloak and OpenProject upgrades can change client settings, so the MCP client is retested after each one.
- Upgrades between openDesk major releases are not guaranteed in place, so the client is revalidated after each move.

