Fabric MCP Server
Allows fetching YouTube video transcripts and analyzing videos using Fabric patterns.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Fabric MCP Server List all fabric patterns"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Fabric MCP Server
Model Context Protocol (MCP) server for Fabric - Daniel Miessler's AI-powered content processing framework.
This MCP server allows Claude (via Claude Desktop or Warp CLI) to use Fabric's extensive collection of AI patterns for content analysis, summarization, learning, coding, security analysis, and more.
Quick Start
Install Fabric (if not already installed):
See the official Fabric installation guide for detailed instructions.
Install yt-dlp (optional, for YouTube transcripts):
# macOS brew install yt-dlp # Linux/Windows pip install yt-dlpDownload and Install:
Download
fabric-mcp.mcpbfrom ReleasesDouble-click the file
Click "Install" in Claude Desktop
Restart Claude Desktop
Try it: Ask Claude: "List all fabric patterns"
Related MCP server: Fabric MCP Server
Features
š Direct CLI Integration: Uses Fabric CLI directly (no REST API server needed)
š§ 19 Pre-configured Tools: Direct access to commonly-used Fabric patterns plus combined analysis tools
šÆ Generic Pattern Runner: Run any Fabric pattern with
run_fabric_patternšŗ YouTube Support: Fetch video transcripts directly (requires yt-dlp)
š Pattern Discovery: List all available patterns dynamically
š File & URL Analysis: Process files and web content with Fabric patterns
š„ Health Check: Verify dependencies and configuration
Prerequisites
1. Install Fabric
If you don't have Fabric installed, follow the official Fabric installation guide.
2. Install yt-dlp (Optional)
Required only if you want to fetch YouTube transcripts:
# macOS
brew install yt-dlp
# Linux
pip install yt-dlp
# Or: sudo apt install yt-dlp (on Ubuntu/Debian)
# Windows
pip install yt-dlp3. Verify Installation
# Test Fabric
fabric --version
fabric --listpatterns
# Test yt-dlp (optional)
yt-dlp --versionInstallation
Option 1: Download and Install (Recommended) š
The easiest way to install:
Download the latest
fabric-mcp.mcpbfrom ReleasesDouble-click the downloaded file
Claude Desktop will open and prompt you to install
Click Install
Restart Claude Desktop
Done!
The .mcpb file is a self-contained bundle that includes everything needed.
Option 2: Build from Source
If you want to build from source:
git clone https://github.com/mpzarde/fabric-mcp.git
cd fabric-mcp
npm install
npm run buildThen either:
Build the
.mcpbbundle:./build-mcpb.sh(createsfabric-mcp.mcpbyou can install)Configure manually: See Configuration section below for manual setup
Configuration
For Claude Desktop
Note: If you installed using the
.mcpbbundle (Option 1), Claude Desktop configures this automatically. This section is only needed for manual builds.
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"fabric": {
"command": "node",
"args": ["/absolute/path/to/fabric-mcp/dist/index.js"]
}
}
}Replace /absolute/path/to/fabric-mcp/ with your actual project path.
Optional environment variables (if needed):
"env": {
"FABRIC_PATH": "/custom/path/to/fabric",
"YTDLP_PATH": "/custom/path/to/yt-dlp"
}For Warp CLI
Note: Manual configuration is required for Warp. Build from source or extract the
.mcpbbundle first.
Add to your Warp MCP configuration file:
macOS/Linux: ~/.warp/mcp_config.json
{
"mcpServers": {
"fabric": {
"command": "node",
"args": ["/absolute/path/to/fabric-mcp/dist/index.js"]
}
}
}Replace /absolute/path/to/fabric-mcp/ with your actual project path.
Optional environment variables (if needed):
"env": {
"FABRIC_PATH": "/custom/path/to/fabric",
"YTDLP_PATH": "/custom/path/to/yt-dlp"
}Restart Claude/Warp
After configuration:
Claude Desktop: Restart the application
Warp: Restart the terminal or run
warp mcp reload
Available Tools
Core Tools
health_check- Check if Fabric, yt-dlp, and other dependencies are installed and configuredlist_fabric_patterns- List all available Fabric patternsrun_fabric_pattern- Run any Fabric pattern with custom inputget_youtube_transcript- Fetch transcript from YouTube video
Combined Analysis Tools
These tools streamline common workflows by fetching content and applying patterns in one step. Benefits:
ā No truncation: Complete content is passed directly to Fabric
ā More efficient: Single tool call instead of multiple
ā Better results: Fabric processes the full content without context window limits
analyze_youtube_video- Fetch YouTube transcript and apply a pattern in one stepanalyze_file- Read a file and apply a pattern in one stepanalyze_url- Fetch URL content and apply a pattern in one step
Pre-configured Pattern Tools
These patterns are exposed as dedicated tools with the fabric_ prefix:
Content Analysis
fabric_extract_wisdom- Extract key insights and quotes from contentfabric_summarize- Create concise summariesfabric_analyze_claims- Analyze and fact-check claimsfabric_analyze_paper- Analyze academic papers
Learning
fabric_create_quiz- Generate quiz questionsfabric_to_flashcards- Convert content to flashcards
Development
fabric_summarize_git_diff- Summarize git diffs for reviewsfabric_create_coding_project- Generate project structure from ideasfabric_explain_code- Explain code in simple terms
Security & Operations
fabric_analyze_logs- Analyze log filesfabric_analyze_incident- Analyze security incidents
Writing
fabric_improve_writing- Improve writing quality
Usage Examples
With Claude Desktop
Extract wisdom from a YouTube video:
User: Can you extract the key insights from this video?
https://www.youtube.com/watch?v=dQw4w9WgXcQ
Claude: [Uses get_youtube_transcript + fabric_extract_wisdom]Summarize an article:
User: Summarize this article: [paste article text]
Claude: [Uses fabric_summarize]Create flashcards from lecture notes:
User: Convert these lecture notes into flashcards: [paste notes]
Claude: [Uses fabric_to_flashcards]Analyze a git diff:
User: Review this git diff and summarize the changes:
[paste git diff output]
Claude: [Uses fabric_summarize_git_diff]Combined Analysis Tools
For efficiency, use the combined tools that fetch and analyze in one step:
User: Extract wisdom from this YouTube video:
https://www.youtube.com/watch?v=example
Claude: [Uses analyze_youtube_video with pattern='extract_wisdom']User: Summarize this article:
https://example.com/article
Claude: [Uses analyze_url with pattern='summarize']User: Explain the code in /path/to/script.py
Claude: [Uses analyze_file with pattern='explain_code']Chaining Patterns
Claude can chain multiple patterns together:
User: Get the transcript from this video, extract the wisdom,
then create flashcards from it.
https://www.youtube.com/watch?v=example
Claude:
[1. Uses get_youtube_transcript]
[2. Uses fabric_extract_wisdom on transcript]
[3. Uses fabric_to_flashcards on extracted wisdom]Use Cases
Based on Daniel Miessler's Fabric patterns:
Content Processing
YouTube video ā extract wisdom / summarize
Article / blog post ā summarize, analyze claims
Podcast transcript ā extract wisdom, pull quotes
Writing & Development
Idea ā essay (via
create_coding_projector similar patterns)Code diff ā PR description (via
summarize_git_diff)Meeting notes ā user stories (via
run_fabric_patternwithagility_story)
Learning
Any content ā flashcards (via
to_flashcards)Dense docs ā glossary with analogies
Video/article ā quiz (via
create_quiz)
Security Analysis
Malware samples ā analysis (via
analyze_malware)Log files ā threat interpretation (via
analyze_logs)Security scans ā rules (via
run_fabric_pattern)
Troubleshooting
Check server health
Ask Claude: "Run a health check" - this will verify:
Fabric installation and version
Fabric configuration (API keys, patterns)
yt-dlp installation (for YouTube support)
Provide installation instructions if anything is missing
Common Issues
Fabric not found
Error: Failed to spawn fabric: ENOENT
Solutions:
Install Fabric following the official installation guide
Verify installation:
which fabricandfabric --versionIf using a custom Fabric location, set
FABRIC_PATHin your MCP config
Pattern not found
Error: Pattern not found: pattern_name
Solutions:
Ask Claude to list all patterns: "List all fabric patterns"
Update patterns:
fabric --updatepatternsCheck spelling - use underscores (e.g.,
extract_wisdomnotextractWisdom)
YouTube transcripts not working
Error: Failed to fetch YouTube transcript
Solutions:
Install yt-dlp:
brew install yt-dlp(macOS) orpip install yt-dlpVerify:
yt-dlp --versionIf using custom location, set
YTDLP_PATHin your MCP config
MCP server not appearing in Claude
Solutions:
Verify config file location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%/Claude/claude_desktop_config.json
Check JSON syntax with a validator
Ensure path to
dist/index.jsis absoluteRestart Claude Desktop completely
Check logs:
~/Library/Logs/Claude/mcp-server-fabric.log
Pattern execution timeout
Error: Fabric command timed out
Solutions:
Large patterns may take time (default: 5 minutes)
Check your Fabric API keys and quota
Try with a smaller input first
Development
Build
# Build TypeScript only
npm run build
# Build complete .mcpb bundle
./build-mcpb.shWatch mode
npm run watchTesting locally
# Build the project
npm run build
# Test the MCP server
node dist/index.js
# Server will run on stdio and wait for MCP protocol messages
# Or use the health check to verify dependencies
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"health_check","arguments":{}}}' | node dist/index.jsArchitecture
āāāāāāāāāāāāāāāāāāā
ā Claude/Warp ā
āāāāāāāāāā¬āāāāāāāāā
ā MCP Protocol (stdio)
ā¼
āāāāāāāāāāāāāāāāāāā
ā MCP Server ā ā This project
ā (Node.js) ā
āāāāāāāāāā¬āāāāāāāāā
ā Direct CLI calls
ā¼
āāāāāāāāāāāāāāāāāāā
ā Fabric CLI ā
ā (fabric cmd) ā
āāāāāāāāāā¬āāāāāāāāā
ā
ā¼
āāāāāāāāāāāāāāāāāāā
ā AI Patterns ā
ā OpenAI/etc. ā
āāāāāāāāāāāāāāāāāāāThe MCP server:
Exposes Fabric patterns as MCP tools
Calls Fabric CLI directly with pattern names and input
Returns results back to Claude/Warp
No REST API server needed - uses CLI interface
Resources
yt-dlp: https://github.com/yt-dlp/yt-dlp
MCP Documentation: https://modelcontextprotocol.io
MCP SDK: https://github.com/modelcontextprotocol/typescript-sdk
License
MIT
Contributing
Contributions welcome! Please open an issue or PR.
Credits
Fabric by Daniel Miessler
MCP by Anthropic
Available Tools
19 toolsanalyze_fileA
Read a file and analyze it with a Fabric pattern in one step. This ensures the complete file content is processed without truncation. Useful for analyzing documents, code files, logs, etc.
Inputs: pattern (required), file_path (required).
analyze_urlA
Fetch content from a URL and analyze it with a Fabric pattern in one step. Works with articles, documentation, blog posts, etc. This ensures complete content is processed without truncation.
Inputs: url (required), pattern (required).
analyze_youtube_videoA
Fetch a YouTube transcript and analyze it with a Fabric pattern in one step. This ensures the complete transcript is processed without truncation. Use this instead of calling get_youtube_transcript and then a pattern separately.
Inputs: url (required), pattern (required).
fabric_analyze_claimsB
Analyze and fact-check claims made in content
Inputs: input (required).
fabric_analyze_incidentC
Analyze security incidents or system failures
Inputs: input (required).
fabric_analyze_logsC
Analyze log files for issues and patterns
Inputs: input (required).
fabric_analyze_paperC
Analyze academic papers or technical documents
Inputs: input (required).
fabric_create_coding_projectB
Generate project structure and planning from an idea
Inputs: input (required).
fabric_create_quizB
Generate quiz questions from content for learning
Inputs: input (required).
fabric_explain_codeC
Explain code in simple terms
Inputs: input (required).
fabric_extract_wisdomA
Extract key insights, quotes, and wisdom from any content (articles, videos, podcasts)
Inputs: input (required).
fabric_improve_writingC
Improve writing quality and clarity
Inputs: input (required).
fabric_summarizeB
Create a concise summary of content
Inputs: input (required).
fabric_summarize_git_diffA
Summarize git diff output for code reviews
Inputs: input (required).
fabric_to_flashcardsC
Convert content into flashcards for studying
Inputs: input (required).
get_youtube_transcriptB
Fetch transcript from a YouTube video URL
Inputs: url (required).
health_checkA
Check if Fabric, yt-dlp, and other dependencies are installed and configured correctly. Provides installation instructions if needed.
Inputs: no named parameters.
list_fabric_patternsA
List all available Fabric patterns
Inputs: no named parameters.
run_fabric_patternA
Run any Fabric pattern with custom input. Use this for patterns not covered by specific tools.
Inputs: input (required), pattern (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 19 tools
Each tool has a clear primary purpose, but run_fabric_pattern overlaps with the specific fabric_* tools, and analyze_youtube_video duplicates the combination of get_youtube_transcript and a pattern. These overlaps are mostly resolved by explicit guidance, leaving minor ambiguity.
Naming is mixed: some tools use the fabric_ prefix (fabric_create_coding_project, fabric_summarize) while others do not (health_check, analyze_file). Verbs are clear and readable, but the lack of a uniform prefix or verb-object structure across all tools makes the set less predictable.
With 19 tools, the server is slightly heavy. Many specific fabric_* pattern wrappers could be handled by the generic run_fabric_pattern, making the count feel padded. However, the wide range of content analysis tasks justifies the number to some extent.
The generic run_fabric_pattern ensures any Fabric pattern can be executed, covering missing specific patterns. Health check and list_fabric_patterns support the operational lifecycle, and content ingestion via transcript, file, and URL is comprehensive. No obvious dead ends exist.
Maintenance
Related MCP Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
AI Visibility and Content Intelligence tools for Claude and MCP-compatible agents.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Related MCP Servers
AlicenseAqualityDmaintenanceEnables integration of Chronulus AI Forecasting & Prediction Agents with Claude, allowing users to access AI-powered forecasting and prediction capabilities directly through Claude's interface.9111PythonMIT- FlicenseAqualityFmaintenanceProvides access to 227+ expert-crafted Fabric AI patterns for tasks like summarizing, analyzing, and extracting wisdom, all through Claude Desktop with no API keys needed.44-
- AlicenseAqualityCmaintenanceEnables Claude and Cursor to access agent memory, shared knowledge graphs, and decision audit through MCP.12MIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude to learn a user's writing style from personal samples and retrieve style context, exemplars, and profiles for rewriting and code-comment guidance through MCP.5 npmMIT