Support Buy Now
Plugin guide

Redmineflux Crux

This guide explains what you receive, how to install and connect the three parts, how to give your team access, and how to fix common problems.

Introduction

Redmineflux Crux is the AI layer built into Redmineflux. It gives your team Ask Crux, a chat assistant that knows your projects, and a set of ready-made AI agents. Each agent handles one area of your work, such as projects, time, sales, support or testing. Crux reads what it needs from Redmineflux before it answers. When you ask for a change, Crux first shows you exactly what it will do and makes the change only after you approve it.

Your team can ask questions like:

  • “What’s at risk in my projects this week?”
  • “Who hasn’t logged time this week?”
  • “Which support tickets will breach their SLA today?”
  • “Create a bug for the login page in the Mobile App project.”
  • “What’s left in the current sprint?”

This guide explains what you receive, how to install and connect the three parts, how to give your team access, and how to fix common problems.

What You Receive

Crux is delivered as a bundle of three parts. Install all three. Crux does not work if any part is missing.

Part File you receive What it does Where it runs
Redmineflux MCP Server redmineflux-mcp.zip The tools the agents use to read and change Redmineflux data. Your Linux server, as a system service
Crux core redmineflux-crux-core.zip The service that runs Ask Crux, the agents, Work Packages and approvals. Your Linux server, as a system service
Redmineflux Crux plugin redmineflux_crux plugin archive The Crux screens inside Redmineflux: dashboard, Ask Crux, Agents and settings. Redmineflux’s plugins/ folder

Note: The MCP Server and Crux core are delivered as ready-to-run compiled programs. You don’t need Docker, Python or any source code to run them.

The Redmineflux MCP Server is also sold on its own, to connect AI assistants such as Claude directly to Redmineflux. In the Crux bundle it is included, and Crux uses it for every agent. For using the MCP Server on its own, see the Redmineflux MCP Server (Self-Hosted) knowledgebase.

How the Parts Work Together

Person in Redmineflux (Ask Crux, chat bubble, Dashboard)
│
▼
Redmineflux Crux plugin        (inside Redmineflux)
│  sends the request to
▼
Crux core                      (port 8787, same server)
│  asks the AI model, then uses tools through
▼
Redmineflux MCP Server         (port 8080, same server)
│  reads and changes data with the person's own permissions
▼
Your Redmineflux data

What this means for you:

  • Every action runs with the permissions of the person who asked. Nobody can see or change more through Crux than they can in Redmineflux.
  • Changes always need approval. When an agent wants to create, update or delete something, Crux shows a confirmation card first, and the change runs only after the person clicks to approve it.
  • Crux core and the MCP Server are reached only by the Crux plugin on the same server. They don’t need to be open to the internet.

System Requirements

Item Requirement
Redmineflux (Redmine) 5.0 or later
Server Linux x86_64: CentOS 7 / RHEL 7 or later, or any current Ubuntu or Debian
Recommended setup All three parts on the same server as Redmineflux
Tools on the server unzip and systemd (standard on current Linux distributions)
Redmineflux REST API Enabled: Administration → Settings → API → Enable REST web service
AI provider account An API key from a supported AI provider, for example OpenRouter or Anthropic, with credit available
Outbound internet The server must reach your AI provider over HTTPS

Before You Start

Prepare these two API keys from Redmineflux. To find a key, log in as that user, open My account, and use API access key → Show on the right.

Key Used by Recommended user
MCP server key The MCP Server, only at start-up, to check the connection and detect installed plugins A dedicated low-privilege user such as mcp-bot, with the Reporter role on one project
Crux core key Crux core, to read projects and plugin settings An administrator account

Important: Treat API keys like passwords. They are stored in files on your server that only the service can read. Every person’s own actions in Crux still use their own permissions.

Quick Setup Checklist

The whole setup takes about 30 minutes. Do these six steps in order. Each step is explained in detail below.

# Step Done when
1 Install the MCP Server and set 3 values in its .env Its log shows Detected plugins: …
2 Install Crux core and set 4 values in its .env curl http://127.0.0.1:8787/api/health answers "ok": true
3 Install the Crux plugin in Redmineflux and restart Redmineflux Crux appears in the top menu
4 In Crux Settings, click Test connection, then add an AI key Test connection says Crux is connected
5 Turn on the Redmineflux Crux module in your projects and give roles the Crux permissions Your team sees the chat bubble
6 Ask Crux “Show me my open issues” You get an answer with your own data

Installation

Install the parts in this order: MCP Server first, then Crux core, then the Crux plugin. Each step builds on the one before.

Step 1 — Install the Redmineflux MCP Server

  1. Copy redmineflux-mcp.zip to your server and unzip it:
    unzip redmineflux-mcp.zip
    cd redmineflux-mcp
  2. Run the installer:
    sudo ./install.sh
    It copies the server to /opt/redmineflux-mcp, creates a dedicated service user, creates the settings file and installs the system service.
  3. Open the settings file:
    sudo nano /opt/redmineflux-mcp/.env
  4. Set these values:
    Setting Value
    REDMINE_URL Your Redmineflux address, for example https://redmine.yourcompany.com
    REDMINE_API_KEY The MCP server key (the mcp-bot user’s key)
    REDMINEFLUX_READ_ONLY false. Required for Crux: agents need it to make the changes people approve.

    Leave every other setting as it is.

  5. Start the server:
    sudo systemctl enable --now redmineflux-mcp
  6. Check the log:
    journalctl -u redmineflux-mcp -f
    A line like Redmineflux MCP v1.0.0 … Detected plugins: … means the server reached Redmineflux and is ready.

Step 2 — Install Crux core

  1. Copy redmineflux-crux-core.zip to the same server and unzip it:
    unzip redmineflux-crux-core.zip
    cd redmineflux-crux-core
  2. Run the installer:
    sudo ./install.sh
    It copies core to /opt/redmineflux-crux-core, creates a dedicated service user, creates the settings file with a unique security key (CRUX_SECRET), and installs the system service.
  3. Open the settings file:
    sudo nano /opt/redmineflux-crux-core/.env
  4. Set these values:
    Setting Value
    REDMINEFLUX_URL Your Redmineflux address, for example https://redmine.yourcompany.com
    REDMINEFLUX_API_KEY The Crux core key (an administrator’s key)
    CRUX_PROJECT The identifier of the project Ask Crux uses by default (shown in Project → Settings)
    CRUX_MCP_URL Keep http://127.0.0.1:8080/mcp when the MCP Server runs on this same server
    CRUX_REDMINE_PUBLIC_URL Optional. The address people open in their browser, if it differs from REDMINEFLUX_URL. Crux uses it for links in its answers.

    Leave every other setting as it is.

  5. Start core:
    sudo systemctl enable --now redmineflux-crux-core
  6. Check that it is running:
    curl http://127.0.0.1:8787/api/health
    A reply with "ok": true means core is running.

Never change CRUX_SECRET after setup. It protects the AI provider keys you will add in Step 4. If it changes, those keys can no longer be read and must be added again.

Step 3 — Install the Redmineflux Crux plugin

  1. Make sure Redmineflux is installed and running.
  2. Extract the plugin archive.
  3. Upload the plugin folder to redmine/plugins/redmineflux_crux.
  4. Do not rename the plugin folder.
  5. Install dependencies:
    bundle install
  6. Run the plugin migration.
    For production: RAILS_ENV=production bundle exec rake redmine:plugins:migrate NAME=redmineflux_crux
    For development: RAILS_ENV=development bundle exec rake redmine:plugins:migrate NAME=redmineflux_crux
  7. Restart Redmineflux.

After Redmineflux starts, the plugin connects to Crux core on its own within a few seconds. A Crux entry appears in the top menu for administrators.

Note:

If the Crux pages show missing styles or buttons that don’t respond after installation, run the following command and then restart Redmineflux:

RAILS_ENV=production bundle exec rake assets:precompile

Step 4 — Connect and add an AI key

  1. Log in to Redmineflux as an administrator and click Crux in the top menu.
  2. Open Crux Settings (the gear icon in the Crux side bar on the left). The Crux service address must be http://localhost:8787, which is the default when core runs on the Redmineflux server. Click Test connection. It must say Crux is connected.
  3. Go to Administration → Crux — providers & keys, add your AI provider and paste its API key.

Step 5 — Turn on Crux for your projects and roles

  1. For each project that should use Crux, open Project → Settings → Modules, tick Redmineflux Crux and save.
  2. Open Administration → Roles and permissions, choose a role, and give it the Crux permissions it needs (see Roles and Permissions).

Step 6 — Verify

  1. Click the round chat button at the bottom right of any Redmineflux page, or open Crux → Ask Crux.
  2. Ask: “What can you help me with?”
  3. Then ask about real data, for example: “Show me my open issues.”

If you get an answer with your own data, setup is complete.

Roles and Permissions

Crux permissions are given per role, under Administration → Roles and permissions → [Role] → Redmineflux Crux. The Redmineflux Crux module must also be turned on in each project.

Permission What it allows
Use Ask Crux The Ask Crux page, the chat bubble, the Improve with Crux wand on issues, and @-mentioning an agent in an issue comment
View Crux The Crux dashboard, each project’s Crux tab, and the Agents and Pipelines pages
Approve Crux gates Approving a pipeline stage that needs a person’s sign-off
Manage Crux agents Adding, editing, pausing and retiring agents
Manage Crux pipelines Creating and editing pipelines

Tip: Administrators have every Crux permission automatically. Providers & keys, Logs, Frozen rules and Crux Settings are available to administrators only.

Crux never gives anyone more access than they already have. When a person asks an agent to read or change something, the agent works with that person’s own Redmineflux permissions.

Configuration

Crux Settings

Open Crux Settings (the gear icon in the Crux side bar) as an administrator to set:

  • Crux service address: where Crux core runs, with Test connection
  • Top menu: which Crux entries appear in the top menu, and the menu caption
  • Chat bubble: its position, size, icon, greeting, suggested questions and accent colour
  • Agents in the chat picker: which agents people can choose in Ask Crux. Leave it empty to show all.

AI Providers and Keys

Open Administration → Crux — providers & keys to add, test or remove AI provider keys. For OpenRouter keys, the $ button shows the credit balance:

  • how much Crux can still spend right now;
  • the money left in the account;
  • the key’s spending limit, and what has been spent today, this week and this month.

Frozen Rules (optional)

Open Administration → Crux — frozen rules to stop agents from changing chosen tickets, trackers, projects or fields. A frozen rule blocks agent changes at every level, even after approval.

The Built-in Agents

Crux comes with ready-made agents. In Ask Crux, Crux picks the right agent for each question automatically. People can also choose an agent themselves, or address it by name, for example “Timesheet Agent, who hasn’t submitted their timesheet?”. Each plugin’s agent is named after its plugin, so it is easy to tell which agent does what.

Agents for a Redmineflux plugin work only when that plugin is installed, because they use its tools. Crux handles this for you:

  • An agent whose plugin isn’t installed is not offered in Ask Crux.
  • On the Agents page it shows “Needs Redmineflux …” with a Learn more link to that plugin.
  • If someone asks for it anyway, Crux answers that the plugin isn’t installed. No AI credits are used.

For example, if you have only the Timesheet plugin, you get the Timesheet Agent plus every agent marked “Redmineflux only” below, and the other plugin agents appear on the Agents page as “Needs …”.

Agent Handles Needs
Project Manager Project status, issues, members, versions, wiki and news Redmineflux only
Project Setup Agent Creating and setting up new projects Redmineflux only
Crux Guide Questions about how Crux works Redmineflux only
Reviewer Whether an issue meets its acceptance criteria Redmineflux only
Test Author A test plan or acceptance tests for an issue Redmineflux only
Docs Writer Release notes for a version, and wiki pages Redmineflux only
Monitor What needs attention in a project: urgent, overdue or stuck issues Redmineflux only
Alert Triage Whether a reported problem is a duplicate, and how severe it is Redmineflux only
Root-Cause Analyst The probable cause of a bug Redmineflux only
Auto-Fixer A plan to fix a bug, as subtasks or a Work Package (it writes no code) Redmineflux only
Design Agent User flows, screens and open questions for a feature Redmineflux only
Research Everything Redmineflux already holds on a topic, with sources Redmineflux only
Improver Breaking an issue into subtasks, or rewriting its description Redmineflux only
Timesheet Agent Timesheets, submissions and approvals Timesheet plugin
CRM Agent CRM pipeline, deals, contacts and companies CRM plugin
Helpdesk Agent Helpdesk tickets, customers and SLAs Helpdesk plugin
Testcase Agent Test cases, test runs and results Testcase Management plugin
Agile Board Agent Sprints, backlog and the agile board Agile Board plugin
Workload Agent Team workload, capacity and leave Workload plugin
Budget Agent Project budgets and approved hours Budget and Audit plugin
Invoice Agent Invoices, payments and team rates Invoice plugin
Knowledgebase Agent Knowledge base search and articles Knowledgebase plugin
DevOps Agent Pull requests, builds and deployments DevOps plugin
Code Reviewer Reviewing pull requests, commits and builds DevOps plugin

Using Crux Day to Day

Ask Crux and the chat bubble

  • The chat bubble, the round button on every Redmineflux page, opens a small chat window so you can ask about the page you are on.
  • The Ask Crux page is the full chat. Your chats are listed on the left, where you can search, rename and pin them.
  • Type / for commands, or @ to choose an agent.
  • Under each answer, Keep saves it to Kept answers. Share lets a teammate read the chat.

Approving changes

When you ask for a change, for example “Create a bug for the login page”, Crux shows a confirmation card with exactly what it will do. Nothing changes in Redmineflux until you click to approve it.

Dashboard

Crux → Dashboard shows what needs your attention, such as approvals and failed runs, along with the agents, work in progress, live activity and issues that are ready for agents. Each project with the module turned on has its own Crux tab.

Agents

Crux → Agents lists every agent with its skills, recent runs and spend. Chat starts a chat with that agent.

Improve with Crux and @-mentions

  • Improve with Crux appears on an issue page. It suggests a breakdown into subtasks or a clearer description. Nothing changes until you confirm.
  • @-mention an agent by starting an issue comment with @crux or an agent’s ID, for example @helpdesk. Crux replies as a comment. It never changes the issue’s fields.

Spending

Every AI answer is recorded with its cost in the Run ledger. Each person can set a personal daily spend reminder in the Ask Crux header. It shows a note when the amount is passed and never blocks a message. Separately, an administrator can set a daily cap per person in Crux Settings → Chat budget; once a person reaches it, their chat messages are refused until the next day (UTC).

Everyday Server Commands

Task MCP Server Crux core
Is it running? sudo systemctl status redmineflux-mcp sudo systemctl status redmineflux-crux-core
Live log journalctl -u redmineflux-mcp -f journalctl -u redmineflux-crux-core -f
Restart (after editing .env) sudo systemctl restart redmineflux-mcp sudo systemctl restart redmineflux-crux-core
Version /opt/redmineflux-mcp/redmineflux-mcp --version /opt/redmineflux-crux-core/crux-core --version

Backups

All of Crux’s own data is in /opt/redmineflux-crux-core/data/: chats, Work Packages, run history and the saved AI provider keys. Back up this folder together with /opt/redmineflux-crux-core/.env. The saved keys can only be read with the same CRUX_SECRET.

The MCP Server keeps no data of its own. Back up /opt/redmineflux-mcp/.env to keep its settings.

Updating

  1. MCP Server and Crux core: unzip the new package and run sudo ./install.sh again. Your .env settings and Crux data are kept. Then restart the service.
  2. Crux plugin: replace the redmine/plugins/redmineflux_crux folder with the new version, run the plugin migration again (Step 3) and restart Redmineflux.

Troubleshooting

Problem: Crux pages say “Crux is unavailable right now”

Cause: Redmineflux can’t reach Crux core.

Solution:

  1. Check that core is running: sudo systemctl status redmineflux-crux-core
  2. Open Crux Settings and click Test connection. The address must be http://localhost:8787 when core runs on the Redmineflux server.
  3. If you installed core after Redmineflux was already running, restart Redmineflux once.

Problem: Ask Crux says “Crux isn’t connected to an AI model yet”

Cause: No AI provider key has been added.

Solution: Add a key under Administration → Crux — providers & keys.

Problem: “The … account has run out of credit”

Cause: The AI provider account has no credit left.

Solution: Add credit in your AI provider account, or add a different key. The $ button under Providers & keys shows how much is left.

Problem: An agent says a tool isn’t available

Cause: The MCP Server isn’t running, CRUX_MCP_URL is wrong, or the plugin that the tool belongs to isn’t installed.

Solution:

  1. Check the MCP Server: sudo systemctl status redmineflux-mcp
  2. Check CRUX_MCP_URL in /opt/redmineflux-crux-core/.env. It should be http://127.0.0.1:8080/mcp.
  3. Check the MCP log line Detected plugins:. Only installed Redmineflux plugins get tools.

Problem: Agents can read data but can’t make changes

Cause: The MCP Server is in read-only mode.

Solution: Set REDMINEFLUX_READ_ONLY=false in /opt/redmineflux-mcp/.env, then run sudo systemctl restart redmineflux-mcp.

Problem: A person doesn’t see Crux, or a Crux page says they aren’t allowed

Cause: The module or the permission is missing.

Solution: Turn on Redmineflux Crux in the project’s Settings → Modules, and give the person’s role the matching permission (see Roles and Permissions).

Problem: Saved AI keys stopped working after a reinstall

Cause: CRUX_SECRET changed.

Solution: Restore the previous /opt/redmineflux-crux-core/.env, or add the keys again.

Problem: Crux pages look broken after an update

Cause: The browser or Redmineflux is still using the previous styles and scripts.

Solution: Run RAILS_ENV=production bundle exec rake assets:precompile, restart Redmineflux, then refresh the page with Ctrl+F5.

Frequently Asked Questions (FAQs)

Q1: Which parts do I need to install?

All three: the Redmineflux MCP Server, Crux core and the Redmineflux Crux plugin. Install them in that order.

Q2: Does Crux need Docker or Python?

No. The MCP Server and Crux core are ready-to-run compiled programs for Linux. The Crux plugin installs like any other Redmineflux plugin.

Q3: Can Crux change data without asking?

No. Every change is shown to the person first as a confirmation card and runs only after they approve it. Administrators can also block agent changes on chosen tickets, trackers, projects or fields with Frozen rules.

Q4: Can people see more through Crux than in Redmineflux?

No. Crux and its agents work with the permissions of the person who asked.

Q5: Which AI providers are supported?

Crux works with Anthropic, OpenAI, Google Gemini and OpenRouter. Add the provider and its key under Administration → Crux — providers & keys. AI usage is billed by your provider to your own account.

Q6: Does Redmineflux receive my data?

No. Crux core and the MCP Server run on your own server. Your data is sent only to the AI provider whose key you add, and only for the question being answered.

Q7: Why don’t I see an agent for one of my plugins?

An agent for a Redmineflux plugin needs that plugin installed and enabled. Check Administration → Plugins and the Detected plugins: line in the MCP Server log.

Q8: Can I control what Crux spends?

Yes. Set a spending limit on the AI provider key itself, for example in OpenRouter. Crux shows the remaining balance under Providers & keys, records every run with its cost, and lets each person set a daily spend reminder.

Q9: Can the three parts run on different servers?

Yes, but the recommended setup is one server. If you separate them, update CRUX_MCP_URL in core’s .env and the Crux service address in Crux Settings. Keep the ports reachable only from the servers that need them.

Q10: Where do I get help?

Contact the Redmineflux support team at redmineflux.com/contact-us. Include the output of crux-core --version, redmineflux-mcp --version and the recent log of the service that has the problem.

Conclusion

Redmineflux Crux brings AI agents into the place where your team already works. With the MCP Server, Crux core and the Crux plugin installed, people can ask questions about their projects in plain language, get answers built from their own Redmineflux data, and make changes safely: every change is shown first and runs only after a person approves it.

Need a hand?Write to support@redmineflux.com – we answer within one business day, Monday to Friday.
Contact support