
Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
between your team and your AI coding agents. Define your rules once. Enforced everywhere. Every session.
Обзор
between your team and your AI coding agents. Define your rules once. Enforced everywhere. Every session.
README
Показан фрагмент оригинального README. Открыть оригинал.
MarkdownLM MCP Server
MarkdownLM is the persistent memory and governance layer between your team and your AI coding agents. Define your rules once. Enforced everywhere. Every session.
Note:
The MarkdownLM knowledge base supports the following categories for all rules, patterns, and decisions:
architecture: Layering, boundaries, system designstack: Frameworks, libraries, versionstesting: Test frameworks, coverage, patternsdeployment: CI/CD, platforms, scriptssecurity: Auth, validation, secretsstyle: Naming, formatting, organizationdependencies: Approved/banned packageserror_handling: Exceptions, logging, monitoringbusiness_logic: Domain rules, workflow constraints, business invariants, pricing logic, subscription rules, permission modelsgeneral: Anything elseWhen using this MCP server, always specify a category.
categoryis a required field onquery_knowledge_base.
How it works
- Your team documents architecture rules, stack decisions, and patterns in MarkdownLM.
- This MCP server gives AI coding agents three focused tools to query and validate against that knowledge.
- Agents validate code against your rules before suggesting changes — violations never reach PRs.
Setup
1. Get your API key
- Log in to MarkdownLM
- Go to Settings → API & MCP
- Generate an API key
2. Configure your AI tool
Pick your tool below. All use the same npm package — one codebase, every platform.
Claude Code (CLI)
claude mcp add markdownlm -e MARKDOWNLM_API_KEY=mdlm_your_key_here -e MARKDOWNLM_API_URL=https://markdownlm.com -- npx -y markdownlm-mcp
Or manually edit ~/.claude/claude_code_config.json:
{
"mcpServers": {
"markdownlm": {
"command": "npx",
"args": ["-y", "markdownlm-mcp"],
"env": {
"MARKDOWNLM_API_KEY": "mdlm_your_key_here",
"MARKDOWNLM_API_URL": "https://markdownlm.com"
}
}
}
}
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": {
"markdownlm": {
"command": "npx",
"args": ["-y", "markdownlm-mcp"],
"env": {
"MARKDOWNLM_API_KEY": "mdlm_your_key_here",
"MARKDOWNLM_API_URL": "https://markdownlm.com"
}
}
}
}
Cursor
.cursor/mcp.json in your project root (project-scoped) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"markdownlm": {
"command": "npx",
"args": ["-y", "markdownlm-mcp"],
"env": {
"MARKDOWNLM_API_KEY": "mdlm_your_key_here",
"MARKDOWNLM_API_URL": "https://markdownlm.com"
}
}
}
}
Windsurf
~/.codeium/windsurf/mcp_config.json:
Установка
npx -y markdownlm-mcpКонфигурация
{
"mcpServers": {
"markdownlm": {
"command": "npx",
"args": ["-y", "markdownlm-mcp"],
"env": {
"MARKDOWNLM_API_KEY": "mdlm_your_key_here",
"MARKDOWNLM_API_URL": "https://markdownlm.com"
}
}
}
}