An MCP server for llm-rules package
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-server-llm-rules": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This extension enables direct integration of the llm-rules engine into the Zed editor via the MCP protocol. It allows Zed to read rules from the same location as Cursor.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
Just a Better Chatbot. Powered by Agent & MCP & Workflows.
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Server Llm Rules and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
This extension enables direct integration of the llm-rules engine into the Zed editor via the MCP protocol. It allows Zed to read rules from the same location as Cursor.
Important: The extension determines which rules to load based on your current working directory—specifically, where you launched Zed. To ensure that Cursor rules are discovered at the root of your project (for example, in .cursor/rules/), you must open Zed from the project root.
For example, run:
zeditor /path/to/your/project
If you open Zed in a different directory, only rules available in that subtree will be discovered and loaded.
The llm-rules library discovers Cursor rule files (typically in .cursor/rules/*.mdc) and exposes them to Zed and other MCP clients as dynamic tools. Each rule file must have YAML frontmatter at the top, which encodes rule metadata. This metadata is extracted and used to generate tool descriptions and annotations that guide the LLM on proper application of each rule.
The LLM applies the rules based on the context of the file being edited and the tool descriptions provided by the MCP. No user input is needed.
Each rule .mdc file must begin with YAML frontmatter, for example:
---
description: Require all new APIs to include docstrings and Markdown docs.
globs: "src/**/*.py docs/**/*.md"
alwaysApply: true
---
Body of the rule here...
The main properties are:
src/**/*.js. Used to help the LLM match rules to files being edited.These three properties (description, globs, alwaysApply) are encoded into the tool's exposed metadata, so tools like Zed can filter, present, and automatically suggest or enforce rules as relevant.
cursor_rule_<filename>.This approach ensures the LLM receives just enough structured metadata about each rule to enforce or suggest best practices according to project and file context, leveraging rule "frontmatter" as the configuration mechanism.