From a46479a795db29ee8522b11284c6b4020488d657 Mon Sep 17 00:00:00 2001 From: milu777 Date: Thu, 30 Jul 2026 14:18:57 +0800 Subject: [PATCH] Pin MCP dependency below version 2 --- README.md | 18 +++++++++++++++--- pyproject.toml | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 936d46f..02b3aea 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,11 @@ Add to your MCP client config: "mendix-docs": { "type": "stdio", "command": "uvx", - "args": ["mendix-doc-mcp"] + "args": [ + "--with", + "mcp<2", + "mendix-doc-mcp" + ] } } } @@ -53,7 +57,11 @@ Add to your MCP client config: "mcpServers": { "mendix-docs": { "command": "uvx", - "args": ["mendix-doc-mcp"] + "args": [ + "--with", + "mcp<2", + "mendix-doc-mcp" + ] } } } @@ -65,7 +73,11 @@ Add to your MCP client config: { "mendix-docs": { "command": "uvx", - "args": ["mendix-doc-mcp"] + "args": [ + "--with", + "mcp<2", + "mendix-doc-mcp" + ] } } ``` diff --git a/pyproject.toml b/pyproject.toml index a7f6e6e..c8eb00c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" license = "Apache-2.0" requires-python = ">=3.10" dependencies = [ - "mcp[cli]>=1.27", + "mcp[cli]>=1.27,<2", "python-frontmatter>=1.1", "pydantic>=2.0", "click>=8.0",