
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
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"
}
}
}
}