Logotipo de fabric-mcp-server

fabric-mcp-server

Comunidad
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.

Editoraugmentedivan
Repositoriofabric-mcp-server
IdiomaJavaScript
Forks
4
Estrellas
18
Herramientas disponibles
0
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    fabric-mcp-server ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    18 estrellas y 4 forks en el repositorio enlazado.

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.

Instalación

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

Usa el MCP de fabric-mcp-server con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado fabric-mcp-server, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade fabric-mcp-server como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de fabric-mcp-server.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "fabric-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "fabric-mcp-server"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de fabric-mcp-server y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de fabric-mcp-server.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar fabric-mcp-server para ayudarme con esta tarea?
fabric-mcp-server
Claro. Lo he leído.
Esto he encontrado usando fabric-mcp-server.

Preguntas frecuentes

¿Para qué sirve el servidor MCP fabric-mcp-server?

fabric-mcp-server es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP fabric-mcp-server con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar fabric-mcp-server con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de fabric-mcp-server con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con fabric-mcp-server conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP fabric-mcp-server a TypingMind?

fabric-mcp-server funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP fabric-mcp-server en TypingMind?

fabric-mcp-server ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP fabric-mcp-server?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si fabric-mcp-server requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇