Fabric MCP Server
An MCP server that exposes Fabric patterns as tools for Cline, enabling AI-driven pattern execution directly within Cline tasks.
Tools
recommend_tool
Recommends the best Fabric pattern tool for a given task
README
fabric-mcp-server
Table of Contents
- Introduction
- What is Model Context Protocol (MCP)?
- Features
- Tools
- Installation
- Usage
- Configuration for Usage with VS Code
- Tips for Using it with Cline
- Troubleshooting
- Contributing
- License
Introduction
The fabric-mcp-server is a Model Context Protocol (MCP) server designed to expose Fabric patterns as tools for integration with Cline. This integration enhances Cline's capabilities by leveraging AI-driven pattern execution from the Fabric repository.
What is Model Context Protocol (MCP)?
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.
Features
- Exposes Fabric Patterns as Tools: The server makes all Fabric patterns available as individual tools within Cline.
- Pattern Execution: Users can select and execute Fabric patterns directly within Cline tasks.
- Enhanced Capabilities: Integrates AI-driven pattern execution to augment Cline's functionality.
Tools
The fabric-mcp-server exposes a wide range of Fabric patterns as tools. Some examples include:
analyze_claimssummarizeextract_wisdomcreate_mermaid_visualization- And many more...
To see the full list of available patterns, you can list the directories in the fabric/patterns directory.
Installation
- Clone the Repository: Clone the
fabric-mcp-serverrepository to your local system. - Install Dependencies: Navigate into the
fabric-mcp-serverdirectory and runnpm install. - Build the Project: Run
npm run buildto compile the TypeScript code.
Usage
To use the fabric-mcp-server with Cline:
- Ensure the server is installed and running.
- Configure the MCP server in your Cline settings file.
- Create a new task in Cline and select a Fabric pattern to use.
Configuration for Usage with VS Code
-
Clone the Repository: Clone the
fabric-mcp-serverrepository to your local system. -
Install Dependencies: Navigate into the
fabric-mcp-serverdirectory and runnpm install. -
Build the Project: Run
npm run build. -
Configure Cline Settings: Add the MCP server configuration to your Cline settings file. The file path varies by operating system:
- Windows:
C:\Users\<username>\AppData\Roaming\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json - macOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - Linux:
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Use the following configuration:
- Windows:
"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:
- Windows:
"C:\\path\\to\\fabric-mcp-server\\build\\index.js" - macOS/Linux:
"/path/to/fabric-mcp-server/build/index.js"
- Restart VSCode: Restart VSCode or reload the Cline extension to apply the changes.
Tips for Using it with Cline
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.
Troubleshooting
- Ensure the
fabric-mcp-serveris correctly configured in your Cline settings. - Verify that the server is running and reachable.
- Check the console output for any error messages.
Contributing
Contributions to fabric-mcp-server are welcome. Please refer to the CONTRIBUTING.md file for guidelines on how to contribute.
License
fabric-mcp-server is released under the MIT License.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。