Koncept Mcp Server

io.github.yourtechtribe-labs由 GitHub 账号 yourtechtribe-labs 发布v0.2.0-alpha.7更新于 Oct 24, 2026

Query a curated YAML semantic concept graph for codebase invariants and cross-cutting facts.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

一个本地 MCP 服务器,让助手查询代码库中精心维护的 YAML 概念图,获取语义不变量与横切事实。

可以做什么
查询精心维护的 YAML 概念图,获取代码库的语义不变量与横切事实,例如跨越无导入关系文件的规则。按文件呈现相关概念,便于助手在编辑前先阅读。README 描述四个 MCP 工具,以及配套 CLI 用于初始化、校验、列出和关联概念,包括强制性的不变量检查。
适用场景
适用于代码库中存在结构性代码图无法体现的横切规则或约定,并希望助手在改动前先查阅这些规则的场景。适合愿意用 YAML 维护概念文件的团队。
运行要求
以本地 stdio 进程运行,通过 npx 从 npm 包启动,并将项目路径作为参数传入。README 的配置还使用配套 CLI 包以及存放 YAML 文件的 .koncept/concepts 目录。未声明认证、环境变量或请求头。
安装前请注意
README 标明项目处于 pre-alpha 阶段,并警告 schema 与工具接口在正式版前可能变动。概念文件从项目目录读取,依赖前应先审阅。README 提到一种 shell 命令检查类型,仅通过 CLI 运行,不在 MCP 服务器中执行。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Koncept Mcp Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

koncepto

Semantic concept graph MCP server for codebases — what your code means, not just what it does.

[Status] [License] [pnpm] [OpenSSF Scorecard]

What

Code graphs (Aider repomap, GitNexus, Sourcegraph) capture structural relations: who imports who, who calls who. They miss semantic invariants — the cross-cutting concepts that live in code not related by imports:

  • "Fix B" lives in 7 files but isn't a function or a class
  • "All UI counting workload must exclude manual-override participants"
  • "Sector value strings must match SectorAssignment.sector keys exactly"

koncepto is the curated semantic layer. Concepts in YAML, queryable via MCP tools, read at Step 0 before editing.

Status

Pre-alpha (v0.1.0-alpha.3 on npm). Schema and tool surface may break before 0.1.0 final. See roadmap.

Dogfooded against this repo itself: 5 concepts in .koncept/concepts/ cover the schema, the registry, the MCP tool contract, the monorepo shape, and the kebab-id naming convention. pnpm dogfood = koncepto verify against its own registry.

Quickstart

bash
# Install in your projectpnpm add -D @yourtechtribe-labs/koncept-cli@alpha
# Bootstrapnpx koncepto init
# Write a concept (YAML)$EDITOR .koncept/concepts/my-concept.yaml
# Verifynpx koncepto verify
# Register MCP server (Claude Code)claude mcp add --scope user koncepto -- \  npx -y @yourtechtribe-labs/koncept-mcp-server@alpha "$PWD"

Enforced invariants

An invariant is advisory by default — surfaced to agents via koncept_for_file, but never evaluated. Give it a check and it becomes an enforced gate that koncepto verify fails on:

yaml
invariants:  - id: invalidate-projection-cache    description: A standalone sync that invalidates the banking cache must also      invalidate the projection cache, or the /cashflow opening balance goes stale.    severity: high    check:      kind: implication        # per participant file: if it matches `if`, it must also match `then`      over: { role: writer }      if: "BankingCacheService"      then: "CacheInvalidationService|on_full_sync"

Static kinds (implication, symbol_present, forbidden, grep) run on koncepto verify by default (fast, read-only; --no-checks to skip). The shell escape hatch (kind: command) runs only on koncepto check. This turns a "completion-contract" concept into both the checklist and its enforcement gate — the loose end can't be skipped under momentum.

Architecture

3 packages under pnpm workspace:

  • @yourtechtribe-labs/koncept-core — Zod schema, YAML parser, indexer
  • @yourtechtribe-labs/koncept-mcp-server — MCP stdio server (4 tools)
  • @yourtechtribe-labs/koncept-cli — init, verify, list, link

License

MIT — see LICENSE.

来源:README.md,提交 6c804a1

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.0-alpha.7最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分