scoutbook

scoutbook

Enables Claude Code to access a team's handbook (markdown repository) through listing, reading, and searching documents, helping standardize processes and troubleshooting.

Category
Visit Server

README

scoutbook

Servidor MCP local que serve o handbook de um time (um repositório de markdown) ao Claude Code. O objetivo é dar ao Claude de cada time acesso ao "como a gente faz X aqui": estruturar CI/CD, fazer deploy, padrão de projeto, troubleshooting antes de abrir um card, etc.

O scoutbook é um motor genérico: ele não sabe nada sobre o seu time. Você aponta ele para um diretório de .md (o repo do handbook daquele time) e ele expõe três ferramentas ao Claude:

  • list_handbook — lista todos os documentos (título, resumo, tags).
  • read_handbook_doc — lê um documento pelo id (caminho relativo).
  • search_handbook — busca por palavras-chave e devolve trechos relevantes.

Cada time tem seu próprio repo de handbook; roda-se uma instância do scoutbook por handbook.

Arquitetura

src/
  core/           # núcleo puro, sem MCP — testável isolado
    handbook.ts   # descoberta, leitura (cache por mtime) e busca por keyword
    frontmatter.ts# parser minimalista de frontmatter, sem dependências
  index.ts        # adapter MCP (stdio) que expõe o core como tools
handbook/         # conteúdo de EXEMPLO (troque pelo repo do seu time)

A busca hoje é por keyword (sem acento, case-insensitive), com ranking simples (título > tags > corpo). O core foi desenhado para trocar essa estratégia por busca semântica no futuro sem mexer no adapter.

Setup

npm install
npm run build

Para desenvolver com reload:

npm run dev            # usa ./handbook por padrão
npm run dev /caminho/para/outro/handbook

Configuração do diretório do handbook

Resolvido nesta ordem:

  1. primeiro argumento da CLI (node dist/index.js /caminho/do/handbook)
  2. env SCOUTBOOK_HANDBOOK_DIR
  3. ./handbook (relativo ao CWD) — usado pelo conteúdo de exemplo

Conectando ao Claude Code

Copie .mcp.json.example para .mcp.json no repo do time (ou configure globalmente) e ajuste os caminhos absolutos:

{
  "mcpServers": {
    "scoutbook": {
      "command": "node",
      "args": ["/caminho/abs/para/scoutbook/dist/index.js"],
      "env": {
        "SCOUTBOOK_HANDBOOK_DIR": "/caminho/abs/para/o/repo/handbook-do-time"
      }
    }
  }
}

Formato dos documentos

Markdown puro funciona. Frontmatter é opcional e deixa o list/search mais ricos:

---
title: Como fazer deploy
tags: [deploy, producao]
summary: Passo a passo do deploy padrão do time.
---

# Como fazer deploy
...

Sem frontmatter, o título cai para o primeiro # heading (ou o nome do arquivo) e o resumo para o primeiro parágrafo.

Roadmap

  • Sync do git (fase 2): manter o diretório do handbook atualizado com o repo do time (git pull no diretório apontado; depois, gerenciar o clone a partir de uma URL).
  • Busca semântica opcional.
  • Exposição também como MCP resources para anexo manual.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured