Sponsored by Deepsite.site

fabric-mcp-server

Created By
MCP-Mirror7 months ago
Mirror of
Content

fabric-mcp-server

Table of Contents

  1. Introduction
  2. What is Model Context Protocol (MCP)?
  3. Features
  4. Tools
  5. Installation
  6. Usage
  7. Configuration for Usage with VS Code
  8. Tips for Using it with Cline
  9. Troubleshooting
  10. Contributing
  11. 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_claims
  • summarize
  • extract_wisdom
  • create_mermaid_visualization
  • And many more...

To see the full list of available patterns, you can list the directories in the fabric/patterns directory.

Installation

  1. Clone the Repository: Clone the fabric-mcp-server repository to your local system.
  2. Install Dependencies: Navigate into the fabric-mcp-server directory and run npm install.
  3. Build the Project: Run npm run build to compile the TypeScript code.

Usage

To use the fabric-mcp-server with Cline:

  1. Ensure the server is installed and running.
  2. Configure the MCP server in your Cline settings file.
  3. Create a new task in Cline and select a Fabric pattern to use.

Configuration for Usage with VS Code

  1. Clone the Repository: Clone the fabric-mcp-server repository to your local system.

  2. Install Dependencies: Navigate into the fabric-mcp-server directory and run npm install.

  3. Build the Project: Run npm run build.

  4. 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:

"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"
  1. 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-server is 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.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
WindsurfThe new purpose-built IDE to harness magic
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Amap Maps高德地图官方 MCP Server
Tavily Mcp
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Serper MCP ServerA Serper MCP Server
CursorThe AI Code Editor
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Playwright McpPlaywright MCP server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors