Fabric MCP Server

by adapoet

Integrations

  • Provides the ability to create Mermaid visualizations through the create_mermaid_visualization pattern, enabling diagram generation within the tools framework.

ファブリックMCPサーバー

目次

  1. 導入
  2. モデルコンテキストプロトコル (MCP) とは何ですか?
  3. 特徴
  4. ツール
  5. インストール
  6. 使用法
  7. VS Code で使用するための設定
  8. Clineと併用する際のヒント
  9. トラブルシューティング
  10. 貢献
  11. ライセンス

導入

fabric-mcp-server Cline との統合ツールとして Fabric パターンを公開するために設計された Model Context Protocol (MCP) サーバーです。この統合により、Fabric リポジトリからの AI 駆動型パターン実行を活用することで、Cline の機能が強化されます。

モデルコンテキストプロトコル (MCP) とは何ですか?

モデルコンテキストプロトコル(MCP)は、AIシステムと外部ツールやリソース間の通信を容易にする仕様です。AIモデルがデータベース、API、ファイルシステムなどの様々な機能と連携する方法を標準化します。fabric fabric-mcp-serverなどのMCPサーバーは、このプロトコルを実装することで、AIモデルがツールやリソースにアクセスできるようにし、AIモデルの機能範囲を拡張します。

特徴

  • Fabric パターンをツールとして公開: サーバーは、すべての Fabric パターンを Cline 内の個別のツールとして使用できるようにします。
  • パターン実行: ユーザーは、Cline タスク内で直接 Fabric パターンを選択して実行できます。
  • 拡張機能: AI 駆動型パターン実行を統合して、Cline の機能を拡張します。

ツール

fabric-mcp-server幅広い Fabric パターンをツールとして公開します。例としては以下が挙げられます。

  • analyze_claims
  • summarize
  • extract_wisdom
  • create_mermaid_visualization
  • その他にも多数...

利用可能なパターンの完全なリストを表示するには、 fabric/patternsディレクトリ内のディレクトリを一覧表示します。

インストール

  1. リポジトリのクローンを作成する: fabric-mcp-serverリポジトリをローカル システムにクローンします。
  2. 依存関係のインストール: fabric-mcp-serverディレクトリに移動し、 npm installを実行します。
  3. プロジェクトのビルド: npm run buildを実行して TypeScript コードをコンパイルします。

使用法

Cline でfabric-mcp-server使用するには:

  1. サーバーがインストールされ、実行されていることを確認します。
  2. Cline 設定ファイルで MCP サーバーを構成します。
  3. Cline で新しいタスクを作成し、使用するファブリック パターンを選択します。

VS Code で使用するための設定

  1. リポジトリのクローンを作成する: fabric-mcp-serverリポジトリをローカル システムにクローンします。
  2. 依存関係のインストール: fabric-mcp-serverディレクトリに移動し、 npm installを実行します。
  3. プロジェクトをビルドしますnpm run build実行します。
  4. Cline設定の構成:MCPサーバーの設定をCline設定ファイルに追加します。ファイルパスはオペレーティングシステムによって異なります。
    • 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

    次の構成を使用します。

"fabric-mcp-server": { "command": "node", "args": [ "<path-to-fabric-mcp-server>/build/index.js" ], "env": {}, "disabled": false, "autoApprove": [], "transportType": "stdio", "timeout": 60 }

<path-to-fabric-mcp-server> 、システム上のfabric-mcp-serverディレクトリへの実際のパスに置き換えます。例:

  • Windows : "C:\\path\\to\\fabric-mcp-server\\build\\index.js"
  • macOS/Linux : "/path/to/fabric-mcp-server/build/index.js"
  1. VSCode を再起動します。変更を適用するには、VSCode を再起動するか、Cline 拡張機能を再ロードします。

Clineと併用する際のヒント

Cline でfabric-mcp-serverの利点を最大限に活用するには、プロンプトの最後にuse fabric-mcp-serverを追加するか、次のルールを.clinerulesファイルに追加することを検討してください。

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

このルールは、Cline での新しいタスクのツール選択プロセスを合理化します。

トラブルシューティング

  • Cline 設定でfabric-mcp-serverが正しく構成されていることを確認します。
  • サーバーが実行中であり、アクセス可能であることを確認します。
  • コンソール出力にエラーメッセージがないか確認してください。

貢献

fabric-mcp-serverへの貢献を歓迎します。貢献方法に関するガイドラインについては、 CONTRIBUTING.mdファイルを参照してください。

ライセンス

fabric-mcp-server MIT ライセンスの下でリリースされています。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Fabric パターンを Cline のツールとして公開し、Cline タスク内で直接 AI 駆動型パターン実行を可能にする MCP サーバー。

  1. 目次
    1. 導入
      1. モデルコンテキストプロトコル (MCP) とは何ですか?
        1. 特徴
          1. ツール
            1. インストール
              1. 使用法
                1. VS Code で使用するための設定
                  1. Clineと併用する際のヒント
                    1. トラブルシューティング
                      1. 貢献
                        1. ライセンス

                          Related MCP Servers

                          • -
                            security
                            F
                            license
                            -
                            quality
                            A TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools for AI systems to interact with.
                            Last updated -
                            9
                            TypeScript
                          • A
                            security
                            A
                            license
                            A
                            quality
                            A tool that helps manage and synchronize MCP server configurations across different AI assistant clients (Cline, Roo Code, WindSurf, Claude), automating the process of retrieving, listing, adding, and removing server configurations from client configuration files.
                            Last updated -
                            6
                            6
                            1
                            JavaScript
                            MIT License
                            • Apple
                          • -
                            security
                            A
                            license
                            -
                            quality
                            An MCP server implementation that standardizes how AI applications access tools and context, providing a central hub that manages tool discovery, execution, and context management with a simplified configuration system.
                            Last updated -
                            9
                            Python
                            MIT License
                          • -
                            security
                            A
                            license
                            -
                            quality
                            A Model Context Protocol (MCP) server that wraps the dbt CLI tool, enabling AI coding agents to interact with dbt projects through standardized MCP tools. Developed by Mammoth Growth.
                            Last updated -
                            8
                            Python
                            MIT License
                            • Linux
                            • Apple

                          View all related MCP servers

                          ID: mle6oralcx