Logo van fabric-mcp-server

fabric-mcp-server

Community
augmentedivan

The fabric-mcp-server is an MCP server that integrates Fabric patterns with AI coding agents and assistants, exposing them as tools for AI-driven task execution and enhancing capabilities.

Uitgeveraugmentedivan
Repositoryfabric-mcp-server
TaalJavaScript
Forks
4
Sterren
18
Beschikbare tools
0
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    fabric-mcp-server biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    18 sterren en 4 forks in de gekoppelde repository.

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 Claude Desktop
  8. Configuration for VS Code with Cline
  9. Tips for Using with Different AI Agents
  10. Troubleshooting
  11. Contributing
  12. License

Introduction

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.

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 MCP-compatible AI agents.
  • Pattern Execution: Users can select and execute Fabric patterns directly within AI assistant tasks.
  • Enhanced Capabilities: Integrates AI-driven pattern execution to augment AI assistant functionality.
  • Cross-Platform Compatibility: Works with Claude Desktop, Cline, and other MCP-compatible AI agents.

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](https://github.com/danielmiessler/Fabric/tree/main/data/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 AI agents:

  1. Ensure the server is installed and running.
  2. Configure the MCP server in your AI agent's settings file.
  3. Create a new task or conversation and select a Fabric pattern to use.

The specific configuration steps vary depending on which AI agent you're using. See the sections below for detailed instructions.

Configuration for Claude Desktop

To use fabric-mcp-server with Claude Desktop:

  1. Complete Installation: Follow the installation steps above to build the project.

  2. Configure Claude Desktop: Add the MCP server configuration to your Claude Desktop settings. The configuration file is typically located at:

    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  3. Add Server Configuration: Add the following to your claude_desktop_config.json:

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.

  1. Restart Claude Desktop: Restart Claude Desktop to apply the changes.

Configuration for VS Code with Cline

To use fabric-mcp-server with Cline in VS Code:

  1. Complete Installation: Follow the installation steps above to build the project.

  2. 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
  3. Add Server Configuration: Use the following configuration:

json
{
  "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 VS Code: Restart VS Code or reload the Cline extension to apply the changes.

Tips for Using with Different AI Agents

For Claude Desktop Users

  • Simply mention that you'd like to use a Fabric pattern in your conversation
  • Ask Claude to list available patterns if you're unsure which one to use
  • The patterns will be automatically available as tools once configured

For Cline Users

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:

markdown
# 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.

For Other MCP-Compatible Agents

  • Consult your specific AI agent's documentation for MCP server configuration
  • The basic server configuration should be similar to the examples above
  • Ensure your agent supports the MCP protocol and tool execution

Troubleshooting

  • Ensure the fabric-mcp-server is correctly configured in your AI agent's settings.
  • Verify that the server is running and reachable.
  • Check the console output for any error messages.
  • Make sure the path to the build/index.js file is correct and accessible.
  • Verify that Node.js is installed and available in your system PATH.

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.

Installatie

TypingMind
{
  "mcpServers": {
    "fabric-mcp-server": {
      "command": "node",
      "args": [
        "<path-to-fabric-mcp-server>/build/index.js"
      ]
    }
  }
}

Gebruik fabric-mcp-server MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra fabric-mcp-server is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg fabric-mcp-server toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van fabric-mcp-server.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "fabric-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "fabric-mcp-server"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van fabric-mcp-server in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van fabric-mcp-server in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je fabric-mcp-server gebruiken om me hiermee te helpen?
fabric-mcp-server
Zeker. Ik heb het gelezen.
Dit vond ik met fabric-mcp-server.

Veelgestelde vragen

Waarvoor wordt de MCP-server fabric-mcp-server gebruikt?

fabric-mcp-server is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik fabric-mcp-server MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je fabric-mcp-server gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom fabric-mcp-server MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als fabric-mcp-server verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik fabric-mcp-server MCP met TypingMind?

fabric-mcp-server werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt fabric-mcp-server MCP in TypingMind?

fabric-mcp-server biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om fabric-mcp-server MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als fabric-mcp-server authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇