clew
Clew
Нить через лабиринт brownfield. хоп — это узел на этой нити (docs/hops.md).
Brownfield-сервисы уже работают. Кодирующие агенты по-прежнему платят за повторное открытие одного и того же многосервисного потока в каждой сессии. Clew сохраняет четыре графа, которые у вас уже есть — код, каталог, loadout, трассы — и соединяет их в путь, по которому можно идти.
Input → Branches → Output
measure → one P0 → capture → measure until reflectedgo install github.com/jeunessegamesee/clew/cmd/clew@v0.1.1Никакой лицензии Scale, никакого Neo4j, никакого OpenSearch.
Любой brownfield, три команды
clew init --root /path/to/repo # .clew.yaml + CLEW.md
clew stub --root /path/to/repo # IN+else for every gRPC / GraphQL / OpenAPI port
clew score --root /path/to/repo # P0 = missing IN; P1 = uncaptured branches
clew loadout --root /path/to/repo --in /package.Service/MethodЗаглушки позволяют ссылаться на каждый входящий порт. Деревья без when остаются P1 незахваченными. Углубляйте с помощью clew loop — не изобретайте ветви.
Related MCP server: PrecisionContextEngine
Сборка из исходников
go test ./...
go build -o clew ./cmd/clew
./clew score --root examples/shop --fail-p0
./clew loadout --root examples/shop --use-case place-order --payload '{"paymentMethod":"CARD"}'
./clew loop --root testdata/incomplete-shop./clew score --root examples/shop --by-service
./clew score --root examples/shop --fail-p1
./clew watch --root examples/shop --traces traces/live.jsonl --follow
./clew watch --root examples/shop --listen 127.0.0.1:4318
./clew mcpclew mcp — это stdio MCP-сервер (loadout, who_consumes, who_calls, next_p0, drift, score). Каждый инструмент имеет свою собственную схему ввода.
Файл адаптации
.clew.yaml — это то, как чужой репозиторий становится картой:
roots:
- .
- ../other-repo
services:
checkoutservice: src/checkoutservice # OTel service.name → hops folder
traces:
- traces/*.jsonУниверсальные двери (без парсера для каждого фреймворка): OpenAPI / proto / GraphQL, OTLP (clew watch) или clew ingest --file doors.json. Опциональный http: [auto] угадывает Actix/Spring/… и не является способом добавления нового стека.
Язык
Clew написан на Go. CBM остаётся графом кода. Мы объединяем HTTP/ASYNC/CROSS, OpenAPI/AsyncAPI и OTLP — мы не перестраиваем индексатор.
Формат карты
См. SPEC.md. Для каждого сервиса: docs/hops.md. Покрытие: clew score --fail-p0. После исполняемого файла: --fail-p1 замораживает незахваченные заглушки.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceProvides persistent architectural memory and structural cognition for AI coding agents, enabling efficient orientation, graph-aware context, and drift detection across codebase evolution.1,242290MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI coding agents to efficiently navigate and understand large codebases by providing tools for entry point location, call chain analysis, and impact assessment, reducing context consumption and model costs.3GPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants to perform high-speed structural codebase analysis and dynamic context management by mapping repositories as byte-streams and detecting architectural chaos.MIT
- AlicenseAqualityCmaintenanceEnables AI agents to map cross-repository dependencies, detect breaking changes in API contracts, and assess impact across services.10MIT
Related MCP Connectors
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Codebase intelligence for agents: 152 structured artifacts across 21 programs, one call.
Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jeunessegamesee/clew'
If you have feedback or need assistance with the MCP directory API, please join our Discord server