fable MCP sunucusu
Commit 14 Eki 2026AI istemcilerinin özel mimari planlama, kod eleştirisi ve karmaşık muhakeme görevleri için Anthropic Claude Fable 5.1 kullanmasını sağlar.
Ayrıca bilinen adı codeChap/mcp-server-fable, mcp-server-fable
- Yıldızlar
- 0
- Araçlar
- 13
- İndirmeler, 30 gün
- —
- En son sürüm
- 0.1.0
- Son commit
- 14 Eki 2026
- Lisans
- —
fable MCP nedir?
fable bir MCP sunucusudur. AI istemcilerinin özel mimari planlama, kod eleştirisi ve karmaşık muhakeme görevleri için Anthropic Claude Fable 5.1 kullanmasını sağlar. 13 araç sunar; örneğin plan, critique, ask.
Özet, projenin README dosyasından oluşturuldu
fable MCP sunucusu hakkında
Mimarlar ve geliştiriciler, üst düzey muhakeme ve planlama için Anthropic Claude Fable 5.1'i mevcut iş akışlarına entegre etmek amacıyla bu sunucuyu kullanabilirler. Her sohbet etkileşimi için pahalı modeller kullanmak yerine, bu araç karmaşık mimari kararları ve kod incelemelerini yürütme aşaması için Sonnet veya Haiku gibi daha ekonomik modellere devretmeden önce Fable'a delege etmenize olanak tanır.
Sunucu, JSON-RPC 2.0 kullanarak stdio üzerinden çalışır; Claude Desktop, Cursor, Windsurf ve Claude Code dahil olmak üzere tüm MCP istemcileriyle uyumludur. Yerel bir TOML dosyası aracılığıyla yapılandırılmış bir Anthropic API anahtarı gerektirir ve en az 30 günlük veri saklama süresine sahip bir organizasyon gerektirir. Fable API'sini kullandığı için, temperature ayarları yerine efor seviyeleri gibi özel gereksinimleri yönetir ve her çağrı için doğru USD maliyet raporlaması sağlar.
Kullanıcılar modelle üç özel araç aracılığıyla etkileşime girer: uygulama adımlarını oluşturmak için plan, kapsam odaklı kod incelemeleri yapmak için critique ve genel muhakeme sorguları için ask. plan aracı, bir yürütücü modele olduğu gibi aktarılabilecek kesin dosya yolları ve kabul kriterlerini içeren, numaralandırılmış ve net çıktılar üretmek için özel olarak tasarlanmıştır.
Neler yapabilirsiniz
- 1Uygulama planları oluşturunDaha ucuz bir model tarafından yürütülmek üzere belirli bir kodlama hedefi için ayrıntılı, adım adım teknik bir yol haritası oluşturun.
- 2Derinlemesine kod incelemeleri yapınGüvenlik veya eşzamanlılık gibi belirli alanlara odaklanarak bir kod farkının (diff) veya tasarımın kapsamlı bir incelemesini gerçekleştirin.
- 3Karmaşık muhakeme görevlerini yürütünDerin düşünme gerektiren ve isteğe bağlı olarak modelin muhakeme sürecinin bir özetini içerebilen üst düzey sorular sorun.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
fable MCP araçları 13
README dosyasından algılandıplancritiqueaskgoalcontexteffortmax_tokenscontentfocuspromptsystem_promptmessages
| plan | — | |
| critique | — | |
| ask | — | |
| goal | — | |
| context | — | |
| effort | — | |
| max_tokens | — | |
| content | — | |
| focus | — | |
| prompt | — | |
| system_prompt | — | |
| messages | — |
13 aracın tümünü gösterDaha az araç göster
show_reasoning
| show_reasoning | — |
Yapılandırma
RUST_LOG
| Ad | Açıklama | Sunucu |
|---|---|---|
| RUST_LOG | — |
Otomatik kontroller
Çalıştırıldı 14 Kas 2026Tam rapor →Henüz doğrulanmadı. Bir sunucunun 80 puana, ciddi bir bulgu olmamasına ve kontrol edebilmemiz için yeterli veriye ihtiyacı vardır. Kontroller nasıl çalışır · Daha fazla puan için nelerin düzeltileceği
- Kaynak deposu bağlantılı ve erişilebilircodechap/mcp-server-fable is public and reachablegithub.com/codechap/mcp-server-fable ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyorKontrol edilmedi
- Derleme kökeni (Sigstore onayı)Kontrol edilmedi
- Açık kaynak lisansı (OSI)No licenseBulgu
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-10-14github.com/codechap/mcp-server-fable ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilKontrol edilmedi
- Pakette veya bağımlılıklarında kritik uyarı yokKontrol edilmedi
- Modele yönelik gizli talimat yok13 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişNo tool named like delete, drop or execGeçti
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorKontrol edilmedi
mcp-server-fable
An MCP (Model Context Protocol) server for Anthropic Claude Fable 5.1 — Anthropic's most capable, most expensive model ($10 / $50 per 1M input / output tokens, ~2× Opus). Built in Rust, it exposes Fable as specialized MCP tools (plan, critique, ask) so any MCP client can use them.
Fable is not a day-to-day chat model here. This server is built for the one thing that justifies the price: using Fable to plan and critique, then handing the result to a cheaper model (Sonnet / Haiku / Opus) to execute. It works in Claude Code, Claude Desktop, Cursor, custom agents, and any other environment that supports MCP servers over stdio.
Communicates via stdio using JSON-RPC 2.0. Structurally it mirrors mcp-server-claude-chat, but is deliberately adapted to Fable's API surface and purpose-built for the plan-then-execute pattern.
Why mcp-server-fable (vs. Claude Code's built-in advisor)?
Claude Code has a powerful native advisor feature (/advisor fable or the advisor tool). It lets a fast executor model (typically Sonnet or Haiku) dynamically ask Fable for guidance on hard decisions inside a single session.
This MCP server takes a complementary approach that is useful in more situations:
- Explicit tools with handoff-optimized prompts —
planandcritiqueuse fixed, carefully written system prompts designed so the output can be passed verbatim to a cheaper model. Plans are numbered, unambiguous, include exact paths/signatures, edge cases, acceptance criteria, and out-of-scope notes. Critiques are deliberately coverage-first (report everything; filter downstream). - Works everywhere MCP works — Not limited to Claude Code. Use it in Claude Desktop, Cursor, Windsurf, custom agent frameworks, VS Code MCP extensions, scripts, or any future tool that supports the Model Context Protocol.
- You control the orchestration — Call Fable for planning or review exactly when you (or your multi-agent system) decide, instead of relying on the model to escalate.
- Clean composability — Treat Fable as a reusable specialist service alongside your other MCP servers. Perfect for modern "expensive model for judgment, cheap model for execution" workflows.
- Correct Fable-specific behavior — Proper
effortlevels, refusal handling (no silent fallback), long timeouts, and accurate per-call cost reporting at Fable rates.
Many teams are converging on the same pattern the community discovered: use Fable narrowly for architecture, planning, and review, then execute with cheaper models. This server gives you first-class, portable tools for the "Fable parts" of that pattern.
See the "Technical details" section below for the specific Fable API differences that also required a dedicated implementation.
Subscription vs. API credits
This server uses the Anthropic API with an API key (API credits) — the only supported, terms-compliant way to drive Claude from a third-party tool. A Claude Pro/Max subscription is not usable here. Point base_url at an Anthropic-compatible gateway if you run one.
Technical details: Fable API differences
Fable's Messages API differs from the Opus-era shape (this is why a dedicated server was needed rather than reusing a general Claude chat wrapper):
- No sampling parameters —
temperature/top_p/top_kare rejected with a 400. There is notemperaturetool argument. - Adaptive thinking only — reasoning is always on; depth is controlled by
effort(low/medium/high/xhigh/max), not a token budget. The raw chain of thought is never returned;askcan request a readable summary viashow_reasoning. - Refusals stop, cleanly — this is a dedicated Fable server. Fable's safety classifiers (cyber / bio / model-distillation) can decline a request; that comes back as a successful response with
stop_reason: "refusal", surfaced with its category and explanation rather than as an answer. It is never silently retried on a different model. - 30-day data retention required — Fable is not available to zero-data-retention orgs; such orgs get a 400 on every request.
Every response also prints an estimated USD cost (at Fable's sticker rates), since cost-consciousness is the whole point.
Tools
| Tool | Description |
|---|---|
plan |
Flagship. Turn a goal (+ optional context) into an executor-ready implementation plan: numbered steps, exact paths/signatures, edge cases, acceptance criteria, out-of-scope notes — written to be handed to a cheaper model and executed verbatim. |
critique |
Coverage-first review of code, a diff, or a design. Reports every finding with severity + confidence for downstream filtering. Optional focus. |
ask |
Raw one-shot query to Fable. Multi-turn history, system prompt, effort, optional reasoning summary. |
plan
| Name | Type | Required | Description |
|---|---|---|---|
goal |
string | yes | What to build or fix |
context |
string | no | Relevant code, file tree, constraints, error output, prior attempts |
effort |
string | no | low/medium/high/xhigh/max (default high) |
max_tokens |
integer | no | Max tokens to generate (server default otherwise) |
critique
| Name | Type | Required | Description |
|---|---|---|---|
content |
string | yes | Code, diff, or design to review |
focus |
string | no | Area to weight, e.g. security, concurrency |
effort |
string | no | low/medium/high/xhigh/max (default high) |
max_tokens |
integer | no | Max tokens to generate |
ask
| Name | Type | Required | Description |
|---|---|---|---|
prompt |
string | yes | The user message |
system_prompt |
string | no | System prompt |
messages |
string | no | History as a JSON array of {role, content} (roles user/assistant only) |
effort |
string | no | low/medium/high/xhigh/max (default medium) |
max_tokens |
integer | no | Max tokens to generate |
show_reasoning |
boolean | no | Return a summary of Fable's reasoning in a [thinking] block |
Prerequisites
- Rust (edition 2024)
- An Anthropic API key from console.anthropic.com, on an org with ≥30-day data retention
The server expects a config file at ~/.config/mcp-server-fable/config.toml containing at minimum your api_key. See config.toml.example.
api_key = "sk-ant-..."
# Optional overrides:
# base_url = "https://api.anthropic.com/v1"
# default_model = "claude-fable-5-1"
# default_max_tokens = 8192
# default_effort = "high" # low | medium | high | xhigh | max
The server fails fast at startup if the config is missing, api_key is empty, or default_effort (if set) is invalid.
Build
cargo build --release # produces target/release/fable
cargo build # debug build
cargo run # run in dev mode
RUST_LOG=debug cargo run
cargo test # unit tests (response formatting, cost, refusal, effort, message building)
Installation & MCP Configuration
1. Build the server
cargo build --release
# The binary will be at: target/release/fable
Use the full absolute path to target/release/fable in all configuration below.
2. AI-assisted installation (recommended modern method)
Copy the block below and paste it directly to your AI coding assistant (Claude Code, Cursor, Grok, etc.). The AI will handle cloning (if needed), building, path resolution, and registration for you.
Add the mcp-server-fable MCP server for me.
Repository: https://github.com/<your-username>/mcp-server-fable (update this URL if you have a fork)
Steps to perform:
1. If the repo isn't cloned locally yet, clone it and cd into it.
2. Build the release binary:
cargo build --release
3. Determine the absolute path to the built binary (target/release/fable).
4. Set up the config directory and file:
mkdir -p ~/.config/mcp-server-fable
cp config.toml.example ~/.config/mcp-server-fable/config.toml
Then edit the config and add your Anthropic API key (api_key = "sk-ant-...").
5. Register it as an MCP server named "fable".
For Claude Code, run:
claude mcp add fable -- <ABSOLUTE_PATH_TO>/target/release/fable
For Claude Desktop or other MCP clients, add this under the "mcpServers" key (use the real absolute path):
{
"fable": {
"command": "<ABSOLUTE_PATH_TO>/target/release/fable"
}
}
After setup, test that the `plan` tool is available and working.
3. Manual configuration
Claude Desktop or any MCP client (~/.config/Claude/claude_desktop_config.json or equivalent):
{
"mcpServers": {
"fable": {
"command": "/absolute/path/to/mcp-server-fable/target/release/fable"
}
}
}
Claude Code (one-liner):
claude mcp add fable -- /absolute/path/to/mcp-server-fable/target/release/fable
Replace the path with your actual absolute path to the release binary.
Usage
Once it's registered, an MCP client calls the tools by name — the flagship is plan.
From an MCP client (e.g. Claude Code)
Ask the model to use it, handing over the goal plus whatever context the executor will need:
Use the fable plan tool. goal: "Add a
--jsonflag to the CLI that prints results as JSON". context: "Rustclapapp; output currently goes throughprintln!insrc/main.rs". effort: high
Claude Code issues a tools/call for plan; Fable returns a numbered, executor-ready plan — exact paths, signatures, edge cases, acceptance criteria — which you then hand to a cheaper model (Sonnet / Haiku) to implement verbatim.
Raw JSON-RPC over stdio
The same call without a client — a tools/call request the server reads on stdin:
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{
"name":"plan",
"arguments":{
"goal":"Add a --json flag to the CLI that prints results as JSON",
"context":"Rust clap app; output currently via println! in src/main.rs",
"effort":"high"
}}}
plan and critique return their content followed by a token + estimated-cost footer. Here is an actual response (from a tiny ask probe) showing that footer:
BINARY-OK
[stop_reason: end_turn]
[tokens: 21 input + 9 output = 30 total]
[cost: ≈ $0.0007 (fable rates)]
Because the server only ever calls Fable, that cost line is always at Fable's $10 / $50 per-1M rates — accurate by construction, not by convention.
Project Structure
src/
main.rs - entry point, config loading, stdio transport setup
server.rs - MCP tool definitions (plan, critique, ask) + fixed prompts
api.rs - Anthropic HTTP client, Effort enum, Messages types, refusal/cost formatter
params.rs - tool parameter types with serde + JSON Schema derives
config.rs - TOML config loading + effort validation
License
MIT
fable MCP soruları
fable MCP hangi araçları sunar?
13 araç sunar; bunlar arasında plan, critique, ask, goal, context yer alır.
Bu sunucu hangi modelleri kullanabilir?
Bu sunucu, özel planlama ve eleştiri araçları sağlamak amacıyla özellikle Anthropic Claude Fable 5.1 için oluşturulmuştur.
Claude Pro aboneliğimi bu sunucuyla kullanabilir miyim?
Hayır, bir API anahtarı (API kredileri) ile Anthropic API kullanmanız gerekir. Claude Pro/Max aboneliği burada kullanılamaz.
Sunucu maliyet bilgisi sağlıyor mu?
Evet, her yanıt Fable'ın özel oranlarına dayalı tahmini bir USD maliyeti içerir.