by adapoet
Exposes Fabric patterns as tools for AI coding agents and assistants, enabling pattern execution directly within AI‑driven tasks and augmenting their capabilities.
Fabric MCP Server makes the extensive collection of Fabric patterns available as individual tools that can be invoked by MCP‑compatible AI agents. By turning each pattern into a callable tool, the server lets AI assistants perform complex prompt‑engineering, analysis, and content‑generation workflows without leaving the chat environment.
npm install, and build with npm run build.node build/index.js) or use the supplied MCP configuration in your AI agent.summarize, extract_wisdom). The assistant will call the corresponding tool on the server and return the result.analyze_claims to automatically evaluate code change claims.extract_wisdom to pull key insights from long documents.create_mermaid_visualization to produce diagram text for Mermaid.summarize for concise overviews of articles, tickets, or specifications.Q: Do I need a special runtime to run the server?\nA: Only Node.js (>=14) is required; the project is pure TypeScript compiled to JavaScript.
Q: Can I use the server with other AI platforms?\nA: Yes. Any AI assistant that supports the Model Context Protocol can consume the tools after adding the appropriate MCP configuration.
Q: How are new Fabric patterns added?\nA: Adding a new pattern to the Fabric repository automatically makes it available; no code changes in the server are needed.
Q: What if the server fails to start?\nA: Verify that npm install completed without errors, that the build/index.js file exists, and that Node.js is on your PATH. Check console output for error details.
The fabric-mcp-server is a Model Context Protocol (MCP) server designed to expose Daniel Miessler's Fabric patterns as tools for integration with AI coding agents and assistants. This integration enhances AI capabilities by leveraging AI-driven pattern execution from the Fabric repository. The server works with various AI platforms including Claude Desktop, Cline, and other MCP-compatible AI agents.
The Model Context Protocol (MCP) is a specification that facilitates communication between AI systems and external tools or resources. It standardizes the way AI models interact with various capabilities such as databases, APIs, and file systems. MCP servers, like fabric-mcp-server, implement this protocol to make tools and resources accessible to AI models, thereby expanding their functional scope.
The fabric-mcp-server exposes a wide range of Fabric patterns as tools. Some examples include:
analyze_claimssummarizeextract_wisdomcreate_mermaid_visualizationTo see the full list of available patterns, you can list the directories in the [fabric/patterns](https://github.com/danielmiessler/Fabric/tree/main/data/patterns) directory.
fabric-mcp-server repository to your local system.fabric-mcp-server directory and run npm install.npm run build to compile the TypeScript code.To use the fabric-mcp-server with AI agents:
The specific configuration steps vary depending on which AI agent you're using. See the sections below for detailed instructions.
To use fabric-mcp-server with Claude Desktop:
Complete Installation: Follow the installation steps above to build the project.
Configure Claude Desktop: Add the MCP server configuration to your Claude Desktop settings. The configuration file is typically located at:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAdd Server Configuration: Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"fabric-mcp-server": {
"command": "node",
"args": [
"<path-to-fabric-mcp-server>/build/index.js"
],
"env": {}
}
}
}
Replace <path-to-fabric-mcp-server> with the actual path to the fabric-mcp-server directory on your system.
To use fabric-mcp-server with Cline in VS Code:
Complete Installation: Follow the installation steps above to build the project.
Configure Cline Settings: Add the MCP server configuration to your Cline settings file. The file path varies by operating system:
C:\Users\<username>\AppData\Roaming\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonAdd Server Configuration: Use the following configuration:
{
"fabric-mcp-server": {
"command": "node",
"args": [
"<path-to-fabric-mcp-server>/build/index.js"
],
"env": {},
"disabled": false,
"autoApprove": [],
"transportType": "stdio",
"timeout": 60
}
}
Replace <path-to-fabric-mcp-server> with the actual path to the fabric-mcp-server directory on your system. For example:
"C:\\path\\to\\fabric-mcp-server\\build\\index.js""/path/to/fabric-mcp-server/build/index.js"To maximize the benefits of fabric-mcp-server with Cline, add use fabric-mcp-server at the end of your prompts or consider adding the following rule to your .clinerules file:
# Fabric MCP Server Rule
1. **List Fabric Patterns**: When a new task is created, list all pattern names from the Fabric repository.
2. **Prompt for Pattern Selection**: Ask the user to select one of the following options:
a) Enter a pattern name from the list to use the `fabric-mcp-server` tool with the specified pattern.
b) Choose not to use `fabric-mcp-server` for the task.
This rule streamlines the tool selection process for new tasks in Cline.
fabric-mcp-server is correctly configured in your AI agent's settings.Contributions to fabric-mcp-server are welcome. Please refer to the CONTRIBUTING.md file for guidelines on how to contribute.
fabric-mcp-server is released under the MIT License.
Please log in to share your review and rating for this MCP.
{
"mcpServers": {
"fabric-mcp-server": {
"command": "npx",
"args": [
"-y",
"fabric-mcp-server"
],
"env": {}
}
}
}Discover more MCP servers with similar functionality and use cases
by danny-avila
Provides a customizable ChatGPT‑like web UI that integrates dozens of AI models, agents, code execution, image generation, web search, speech capabilities, and secure multi‑user authentication, all open‑source and ready for self‑hosting.
by ahujasid
BlenderMCP integrates Blender with Claude AI via the Model Context Protocol (MCP), enabling AI-driven 3D scene creation, modeling, and manipulation. This project allows users to control Blender directly through natural language prompts, streamlining the 3D design workflow.
by pydantic
Enables building production‑grade generative AI applications using Pydantic validation, offering a FastAPI‑like developer experience.
by GLips
Figma-Context-MCP is a Model Context Protocol (MCP) server that provides Figma layout information to AI coding agents. It bridges design and development by enabling AI tools to directly access and interpret Figma design data for more accurate and efficient code generation.
by mcp-use
Easily create and interact with MCP servers using custom agents, supporting any LLM with tool calling and offering multi‑server, sandboxed, and streaming capabilities.
by sonnylazuardi
This project implements a Model Context Protocol (MCP) integration between Cursor AI and Figma, allowing Cursor to communicate with Figma for reading designs and modifying them programmatically.
by lharries
WhatsApp MCP Server is a Model Context Protocol (MCP) server for WhatsApp that allows users to search, read, and send WhatsApp messages (including media) through AI models like Claude. It connects directly to your personal WhatsApp account via the WhatsApp web multi-device API and stores messages locally in a SQLite database.
by idosal
GitMCP is a free, open-source remote Model Context Protocol (MCP) server that transforms any GitHub project into a documentation hub, enabling AI tools to access up-to-date documentation and code directly from the source to eliminate "code hallucinations."
by Klavis-AI
Klavis AI provides open-source Multi-platform Control Protocol (MCP) integrations and a hosted API for AI applications. It simplifies connecting AI to various third-party services by managing secure MCP servers and authentication.