mcp-server

mcp-server is a skill for Claude Code from mendixlabs/mxcli. It costs 101 tokens per session (2,978 once invoked), scanned A, original, Apache-2.0.

A guide for publishing a Mendix application as an MCP server, a service that lets external AI agents call the app's tools and prompts. It describes runtime setup, authentication, and the required microflows, which are Mendix workflows.

In plain words
What is it for?
Use it to configure startup microflows or Published MCP service documents, register tools and prompts, authenticate calls, and migrate an existing Mendix setup.
Why use it?
It clarifies the different configuration paths and contracts needed for an MCP server to work across supported module versions.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to configure startup microflows or Published MCP service documents, register tools and prompts, authenticate calls, and migrate an existing Mendix setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mendixlabs/mxcli/mcp-server
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mendixlabs/mxcli --skill mcp-server
Clone the repo
git clone --depth 1 https://github.com/mendixlabs/mxcli

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-server

README.md
[![agentmods](https://agentmods.dev/badge/skills/mendixlabs/mxcli/mcp-server/github.svg)](https://agentmods.dev/skills/mendixlabs/mxcli/mcp-server)
Your own site
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/mcp-server"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/mcp-server/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-server

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/mcp-server"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/mcp-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,978 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.02978
Opus 5.5 $0.00040 $0.01191
Sonnet 5.5 $0.00020 $0.00596
Haiku 4.5 $0.00010 $0.00298

Measured 20d ago against content hash fea2cd2137a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-server scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/mendix/mcp-server/SKILL.md · 234 lines

How it starts

The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Find it fast

sed -n '<from>,<to>p' SKILL.md one section rather than reading the file; ./mxcli syntax <topic> answers how do I write this for a fraction of either.

lines section
43-174 Runtime configuration
175-203 Gotchas
204-233 Reading and migrating an existing setup

Publishing an MCP Server

An app publishes an MCP server through the MCP Server marketplace module. Two ways to configure it exist:

Runtime configuration Model configuration
Where it lives A microflow that runs at startup and calls the module's Java actions A Published MCP service document (Agent Editor), edited in Studio Pro
Module versions MCP Server 3.x and later (measured 3.0.0, 4.0.0, 4.2.2, 5.4.0) MCP Server 5.x with Agent Editor 2.6+ (measured 5.4.0 / 2.6.0)
Prompts Yes (AddPrompt) No: the document holds tools only
MDL call java action MCPServer.*, below create published mcp service (agents skill)

The two are the same mechanism. At startup AgentEditorCommons reads every Published MCP service document and calls MCPServer.CreateMCPServer and MCPServer.AddTool with its values (AgentDocumentUtils.initPublishedMCPService), exactly as a runtime-configured app does from its own microflow. So a server behaves the same either way, and moving between them is a 1:1 mapping (see the end of this skill).

Runtime configuration is plain microflow logic, so everything mxcli writes for microflows applies: describe microflow reads an existing setup back, check --references validates it, exec writes it. Choose it when the server's tools or prompts depend on data or settings known only at runtime, when it needs prompts, or when the app is on an MCP Server version before 5.

Runtime configuration

Four microflows: one authenticates a request, one per tool, one per prompt, and one starts the server and registers the tools and prompts.

Read the full file on GitHub · 234 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago First seen · 234 lines · 101 tokens per session scan A fea2cd2137a6

Subscribe to this mod's changes

mcp-server is a skill published in the GitHub repository mendixlabs/mxcli (145 stars, last pushed yesterday), licensed Apache-2.0. It adds 101 tokens to every session and 2,978 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-09.

Related

mcp-server compared with skills from other repositories

mcp-server next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-servermendixlabs/mxcliSkill145yesterdayApache-2.0A101Claude Code
golang-manual-disoulcodex/agenticSkill1010d agoMITA97Claude Code, Codex
terraform-infrastructuresoulcodex/agenticSkill1010d agoMITA96Claude Code, Codex
microservices-architecturesoulcodex/agenticSkill1010d agoMITA61Claude Code, Codex
nosql-database-designsoulcodex/agenticSkill1010d agoMITA71Claude Code, Codex
health-check-endpointssoulcodex/agenticSkill1010d agoMITA58Claude Code, Codex
serverless-architecturesoulcodex/agenticSkill1010d agoMITA62Claude Code, Codex