CKB 标志

CKB

社区
SimplyLiz

Code intelligence for AI assistants - MCP server, CLI, and HTTP API with symbol navigation, impact analysis, and architecture mapping

发布者SimplyLiz
代码仓库ckb
语言Go
复刻数
12
星标数
108
可用工具
25
传输类型stdio
分类
链接
  • 将工具接入 AI 工作流

    CKB 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 25 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 108 个 Star 和 12 个 Fork。

CKB — Code Knowledge Backend

Know your code. Change it safely. Ship with confidence.

npm version Website Documentation MCP Badge LIP LIP docs

CKB transforms your codebase into a queryable knowledge base. Ask questions, understand impact, find owners, detect dead code—all through CLI, API, or AI assistants.

Think of it as a senior engineer who knows every line of code, every decision, and every owner—available 24/7 to answer your questions.


Instant Answers to Hard Questions

QuestionWithout CKBWith CKB
"What breaks if I change this?"Grep and hopePrecise blast radius with risk score
"Who should review this PR?"Guess from git blameData-driven reviewer suggestions
"Is this code still used?"Delete and see what breaksConfidence-scored dead code detection
"What tests should I run?"Run everything (30 min)Run affected tests only (2 min)
"How does this system work?"Read code for hoursQuery architecture instantly
"Who owns this code?"Search CODEOWNERS manuallyOwnership with drift detection
"Are there exposed secrets?"Manual grep for patternsAutomated scanning with 26 patterns

What You Can Do

🔍 Understand — Semantic search, call graphs, usage tracing, architecture maps

⚡ Analyze — Impact analysis, risk scoring, hotspot detection, coupling analysis

🛡️ Protect — Affected test detection, breaking change warnings, PR risk assessment

🔐 Secure — Secret detection, credential scanning, security-sensitive code identification

👥 Collaborate — Ownership lookup, reviewer suggestions, architectural decisions (ADRs)

📊 Improve — Dead code detection, tech debt tracking, documentation coverage

🚀 Compound Operations — Single-call tools (explore, understand, prepareChange) reduce AI tool calls by 60-70%

🔗 Integrate — CLI, HTTP API, MCP for AI tools, CI/CD pipelines, custom scripts


Try It Now

bash
# See what's risky in your codebase
ckb hotspots --format=human

# Check what changed and what might break
ckb diff-summary --format=human

# Scan for exposed secrets
ckb audit --format=human

# Check architecture at a glance
ckb arch --format=human

# Check system status
ckb status

Works Everywhere

AI AssistantsCI/CDYour Tools
Claude Code, Cursor, Windsurf, VS Code, GrokGitHub Actions, GitLab CICLI, HTTP API, Scripts

83% token reduction with smart presets—load only the tools you need.

bash
# One command to connect to Claude Code
ckb setup

Building your own tools? Use CKB as a backend via CLI, HTTP API, or MCP. See the Integration Guide for examples in Node.js, Python, Go, and shell scripts.


Learn More

ResourceDescription
📖 Features GuideComplete feature list with examples
💬 Prompt CookbookReal prompts for real problems
🔌 Integration GuideUse CKB in your own tools and scripts
⚡ Impact AnalysisBlast radius, affected tests, PR risk
🔧 CI/CD IntegrationGitHub Actions, GitLab CI templates

Quick Start

Option 1: npm (Recommended)

bash
# Install globally
npm install -g @tastehub/ckb

# Or run directly with npx (no install needed)
npx @tastehub/ckb init

Option 2: Homebrew (macOS/Linux)

bash
brew install simplyliz/ckb/ckb

Use the fully-qualified name. Homebrew 6.0 requires third-party taps to be trusted before it loads them; installing this way grants that trust for this one formula. Tapping first and installing by short name fails with Refusing to load formula ... from untrusted tap.

Option 3: Build from Source

bash
git clone https://github.com/SimplyLiz/CodeMCP.git
cd CodeMCP
go build -o ckb ./cmd/ckb

Setup

bash
# 1. Initialize in your project
cd /path/to/your/project
ckb init   # or: npx @tastehub/ckb init

# 2. Generate SCIP index (optional but recommended)
ckb index  # auto-detects language and runs appropriate indexer

# 3. Connect to Claude Code
ckb setup  # creates .mcp.json automatically

# Or manually:
claude mcp add --transport stdio ckb -- npx @tastehub/ckb mcp

Token efficiency shown at startup:

CKB MCP Server v9.3.1
  Active tools: 25 / 110 (22%)
  Estimated context: ~4k tokens
  Preset: core

Now Claude can answer questions like:

  • "What calls the HandleRequest function?"
  • "How is ProcessPayment reached from the API?"
  • "What's the blast radius if I change UserService?"
  • "Who owns the internal/api module?"
  • "Is this legacy code still used?"

Why CKB?

Without CKBWith CKB
AI greps for patternsAI navigates semantically
"I found 47 matches for Handler""HandleRequest is called by 3 routes via CheckoutService"
Guessing at impactKnowing the blast radius with risk scores
Reading entire files for contextGetting exactly what's relevant
"Who owns this?" → search CODEOWNERSInstant ownership with reviewer suggestions
"Is this safe to change?" → hopeHotspot trends + impact analysis

Three Ways to Use It

InterfaceBest For
MCPAI-assisted development — Claude, Cursor, Windsurf, VS Code, OpenCode, Grok
CLIQuick lookups from terminal, scripting
HTTP APIIDE plugins, CI integration, custom tooling

How Indexing Works

CKB uses SCIP indexes to understand your code. Think of it like a database that knows where every function is defined, who calls it, and how everything connects.

The Basics

bash
# 1. Generate an index (auto-detects language)
ckb index

# 2. Check if your index is fresh
ckb status

Without an index, CKB still works using tree-sitter parsing (basic mode), but with an index you get:

  • Cross-file references ("who calls this function?")
  • Precise impact analysis
  • Call graph navigation

Language Support

Not all languages are equal. CKB classifies languages into quality tiers based on indexer maturity:

TierQualityLanguages
Tier 1Full support, all featuresGo
Tier 2Full support, minor edge casesTypeScript, JavaScript, Python
Tier 3Basic support, call graph may be incompleteRust, Java, Kotlin, C++, Ruby, Dart
Tier 4ExperimentalC#, PHP

Key limitations:

  • Incremental indexing is Go-only. Other languages require full reindex.
  • TypeScript monorepos may need --infer-tsconfig flag
  • C/C++ requires compile_commands.json
  • Python works best with activated virtual environment

Run ckb doctor --tier standard to check if your language tools are properly installed.

See Language Support for indexer installation, known issues, and the full feature matrix.

Keeping Your Index Fresh

Your index becomes stale when you make commits. CKB offers several ways to stay current:

MethodCommandWhen to Use
Manualckb indexOne-off updates, scripts
Watch modeckb index --watchAuto-refresh during development
MCP watchckb mcp --watchAuto-refresh in AI sessions
CI webhookPOST /api/v1/refreshTrigger from CI/CD

Quick start for AI sessions:

bash
ckb mcp --watch  # Auto-reindexes every 30s when stale

Check staleness:

bash
ckb status
# Shows: "5 commits behind HEAD" or "Up to date"

For Go projects, CKB uses incremental indexing—only changed files are processed, making updates fast.

See the Index Management Guide for complete documentation.

Features

FeatureDescription
Compound Operationsexplore, understand, prepareChange — single-call tools that reduce AI overhead by 60-70%
Code NavigationSemantic search, call graphs, trace usage, find entrypoints
Impact AnalysisBlast radius, risk scoring, affected tests, breaking changes (compareAPI)
ArchitectureModule overview, ADRs, dependency graphs, explain origin
OwnershipCODEOWNERS + git blame, reviewer suggestions, drift detection
Code QualityDead code detection (findDeadCode), coupling analysis, complexity
SecuritySecret detection, credential scanning, allowlists
DocumentationDoc-symbol linking, staleness detection, coverage metrics
Multi-RepoFederation, API contracts, remote index serving
RuntimeOpenTelemetry integration, observed usage, production dead code
StreamingSSE streaming for findReferences, searchSymbols with real-time progress
AutomationDaemon mode, watch mode, webhooks, incremental indexing

📖 Full Features Guide — Detailed documentation with examples

📋 Changelog — Version history

PR Review

CKB review runs 21 quality checks in 5 seconds — secrets, breaking changes, dead code, complexity, test gaps, bug patterns, and more. Zero tokens, zero API calls.

When your AI assistant (Claude Code, Cursor, Windsurf) reviews a PR, it calls CKB first and gets structured analysis in ~1k tokens. Then it only reads the files that matter — saving 50-80% of tokens on large PRs.

bash
ckb review --base=main              # Human-readable review
ckb review --base=main --ci         # CI mode (exit codes)
ckb review --base=main --post=123   # Post as PR comment

Works in CI without any LLM:

yaml
- run: npx @tastehub/ckb review --base=main --ci --format=sarif > review.sarif
Without CKBWith CKB
LLM tokens on 100-file PR~200k~50k
Files LLM readsall~10 (CKB-flagged)
Secrets/breaking/dead-code checkednoyes (all files)

📖 How it helps AI review · Benchmarks · CI Integration · Quickstart

CLI

bash
ckb status           # System health (with remediation suggestions)
ckb search Handler   # Find symbols
ckb diff-summary     # Analyze what changed
ckb hotspots         # Risky areas
ckb arch             # Architecture overview
ckb ownership        # File/path ownership
ckb mcp              # Start MCP server

Compound Operations (via MCP):

bash
# These tools combine multiple queries into single calls
explore      # Area exploration: symbols, dependencies, hotspots
understand   # Symbol deep-dive: refs, callers, explanation
prepareChange # Pre-change analysis: impact, tests, risk
batchGet     # Fetch up to 50 symbols at once
batchSearch  # Run up to 10 searches at once

📖 User Guide — All CLI commands and options

HTTP API

bash
# Start the HTTP server
ckb serve --port 8080

# Example calls
curl http://localhost:8080/health
curl http://localhost:8080/status
curl "http://localhost:8080/search?q=NewServer"
curl http://localhost:8080/architecture
curl "http://localhost:8080/ownership?path=internal/api"
curl http://localhost:8080/hotspots

# Index Server Mode (v7.3) - serve indexes to remote clients
ckb serve --port 8080 --index-server --index-config config.toml

# Index server endpoints
curl http://localhost:8080/index/repos
curl http://localhost:8080/index/repos/company%2Fcore-lib/meta
curl "http://localhost:8080/index/repos/company%2Fcore-lib/symbols?limit=100"
curl "http://localhost:8080/index/repos/company%2Fcore-lib/search/symbols?q=Handler"

# Upload endpoints (with compression + auth)
curl -X POST http://localhost:8080/index/repos \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ckb_xxx" \
  -d '{"id":"my-org/my-repo","name":"My Repo"}'

gzip -c index.scip | curl -X POST http://localhost:8080/index/repos/my-org%2Fmy-repo/upload \
  -H "Content-Encoding: gzip" \
  -H "Authorization: Bearer ckb_xxx" \
  --data-binary @-

# Token management (index server admin)
ckb token create --name "ci-upload" --scope upload    # Create API key
ckb token list                                         # List all tokens
ckb token revoke ckb_xxx                              # Revoke a token
ckb token rotate ckb_xxx                              # Rotate (new secret, same ID)

MCP Integration

CKB works with any MCP-compatible AI coding tool.

bash
# Auto-configure for current project
npx @tastehub/ckb setup

# Or add globally for all projects
npx @tastehub/ckb setup --global

Or manually add to .mcp.json:

json
{
  "mcpServers": {
    "ckb": {
      "command": "npx",
      "args": ["@tastehub/ckb", "mcp"]
    }
  }
}

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

json
{
  "mcpServers": {
    "ckb": {
      "command": "npx",
      "args": ["@tastehub/ckb", "mcp"]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json:

json
{
  "mcpServers": {
    "ckb": {
      "command": "npx",
      "args": ["@tastehub/ckb", "mcp"]
    }
  }
}

Add to your VS Code settings.json:

json
{
  "mcp": {
    "servers": {
      "ckb": {
        "type": "stdio",
        "command": "npx",
        "args": ["@tastehub/ckb", "mcp"]
      }
    }
  }
}

Add to opencode.json in project root:

json
{
  "mcp": {
    "ckb": {
      "type": "local",
      "command": ["npx", "@tastehub/ckb", "mcp"],
      "enabled": true
    }
  }
}
bash
# Auto-configure for current project
npx @tastehub/ckb setup --tool=grok

# Or add globally
npx @tastehub/ckb setup --tool=grok --global

Or manually add to .grok/settings.json (project) or ~/.grok/user-settings.json (global):

json
{
  "mcpServers": {
    "ckb": {
      "name": "ckb",
      "transport": "stdio",
      "command": "npx",
      "args": ["@tastehub/ckb", "mcp"]
    }
  }
}

Claude Desktop doesn't have a project context, so you must specify the repository path.

Automatic setup (recommended):

bash
cd /path/to/your/repo
ckb setup --tool=claude-desktop

Manual configuration — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{
  "mcpServers": {
    "ckb": {
      "command": "npx",
      "args": ["-y", "@tastehub/ckb", "mcp"],
      "env": {
        "CKB_REPO": "/path/to/your/repo"
      }
    }
  }
}

The CKB_REPO environment variable tells CKB which repository to analyze. Claude Desktop can only work with one repository at a time.

Use cmd /c wrapper in any config above:

json
{
  "mcpServers": {
    "ckb": {
      "command": "cmd",
      "args": ["/c", "npx", "@tastehub/ckb", "mcp"]
    }
  }
}

CKB exposes 110+ tools, but most sessions only need a subset. Use presets to reduce token overhead by up to 77%:

bash
# List all available presets with tool counts and token estimates
ckb mcp --list-presets

# Default: core preset (25 essential tools)
ckb mcp

# Workflow-specific presets
ckb mcp --preset=core        # 25 tools - search, explain, impact (default)
ckb mcp --preset=review      # 42 tools - core + diff, ownership, PR review
ckb mcp --preset=refactor    # 42 tools - core + coupling, dead code
ckb mcp --preset=federation  # 46 tools - core + cross-repo
ckb mcp --preset=docs        # 34 tools - core + doc-symbol linking
ckb mcp --preset=ops         # 43 tools - core + jobs, webhooks, metrics
ckb mcp --preset=full        # 110 tools - complete feature set

In MCP config:

json
{
  "mcpServers": {
    "ckb": {
      "command": "npx",
      "args": ["@tastehub/ckb", "mcp", "--preset=review"]
    }
  }
}

The AI can dynamically expand the toolset mid-session using the expandToolset tool.

Under the Hood

CKB orchestrates multiple code intelligence backends, using whatever is available and stacking their strengths — more backends running means richer answers:

  • Cartographer — Fast structural analysis (architecture, dependencies, blast-radius, coupling, directory rollup) that needs no index and works the moment CKB is installed. Compiled into the binary, so it ships in the npm and Homebrew builds by default.
  • SCIP — Precise, pre-indexed symbol data for exact definitions, references, and call graphs (run ckb index)
  • LSP — Real-time language server queries
  • Git — Blame, history, churn analysis, ownership
  • LIP — Semantic embedding daemon for nearest-neighbour search and re-ranking. Runs as a separate, optional daemon — install and start it alongside CKB.

Results are merged intelligently and compressed for LLM context limits. Every backend except Git is optional; CKB degrades gracefully to whatever is present.

LIP enhances semantic search, PR novelty detection, test discovery, file boundary analysis, and architecture coupling signals. When LIP is running alongside CKB, search quality improves significantly — especially for natural-language queries that don't match symbol names literally. See Hybrid Retrieval for details, or the LIP documentation.

Persistent knowledge survives across sessions:

  • Module Registry — Boundaries, responsibilities, tags
  • Ownership Registry — CODEOWNERS + git-blame with time decay
  • Hotspot Tracker — Historical snapshots with trend analysis
  • Decision Log — ADRs with full-text search

Who Should Use CKB?

  • Developers using AI assistants — Give your AI tools superpowers
  • Teams with large codebases — Navigate complexity efficiently
  • Anyone doing refactoring — Understand impact before changing
  • Code reviewers — See the full picture of changes
  • Tech leads — Track architectural health over time

Limitations (Honest Take)

CKB excels at:

  • Static code navigation—finding definitions, references, call graphs
  • Impact analysis for safe refactoring
  • Ownership lookup (CODEOWNERS + git blame)
  • Architecture and module understanding

CKB won't help with:

  • Dynamic dispatch / runtime behavior (use debugger)
  • Generated code that isn't indexed
  • Code generation, linting, or formatting
  • Cross-repo calls (use federation for this)

CKB is static analysis, not magic. Always verify critical decisions by reading the actual code.

📖 Practical Limits — Full guide on accuracy, blind spots, and when to trust results

Documentation

See the Full Documentation Wiki for:

Requirements

Using npm (recommended):

  • Node.js 16+
  • Git

Building from source:

  • Go 1.21+
  • Git

Optional (for enhanced analysis):

  • SCIP indexer for your language (scip-go, scip-typescript, etc.) — run ckb index to auto-install
  • LIP v2.3+ semantic embedding daemon (requires Rust/cargo) — strongly recommended for best search quality (docs, crates.io):
    bash
    cargo install lip-cli
    lip daemon --socket ~/.local/share/lip/lip.sock

License

Free for:

  • Personal use
  • Open source projects
  • Startups & small businesses under $25k annual revenue

Commercial license required for organizations with $25k+ annual revenue. See pricing for Team and Enterprise plans, or LICENSE for full terms.

安装

TypingMind
{
  "mcpServers": {
    "ckb": {
      "command": "npx",
      "args": [
        "@tastehub/ckb",
        "mcp"
      ]
    }
  }
}

可用工具

  • explore

    Use this FIRST when asked about a file, directory, or module — returns structure, key symbols, and change hotspots in one call. Best starting point for 'what is this?' or 'what's in this directory?' questions. For questions about a specific symbol, use understand instead.

  • understand

    Use this when asked about a specific symbol — returns full context (definition, references, call graph, explanation) in one call. Ideal for 'what does X do?' or 'how is X used?' questions. For file/directory-level questions, use explore instead.

  • prepareChange

    Use this BEFORE making a code change — returns blast radius, affected tests, coupled files, and risk score. Essential before modifying, renaming, deleting, or moving code. More comprehensive than analyzeImpact (includes tests + coupling). For analyzing changes already made, use analyzeChange instead.

  • batchGet

    Retrieve multiple symbols by ID in a single call. Max 50 symbols. With includeCounts, also returns referenceCount, callerCount, calleeCount per symbol.

  • batchSearch

    Perform multiple symbol searches in a single call. Max 10 queries.

  • searchSymbols

    Semantic code search returning symbol types, locations, and relationships—more accurate than text-based grep/find. Note: may not match class methods or record properties by bare name — use symbolExists for authoritative boolean lookups.

  • symbolExists

    Boolean oracle for LLM grounding: answers whether a bare symbol name has any declaration in the index. Uses exact-match (not FTS ranking) so class methods and object-property declarations are found reliably. Returns exists, matches count, distinct kinds, and receiver names for methods/properties. Cheaper than searchSymbols — no locations, no ranking.

  • getSymbol

    Get symbol metadata and location by stable ID

  • explainSymbol

    Get an AI-friendly explanation of a symbol including usage, history, and summary

  • explainFile

    Get lightweight orientation for a file including role, symbols, and key relationships

  • explainPath

    Explain why a path exists and what role it plays. Returns role classification (core, glue, legacy, test-only, config, unknown) with reasoning.

  • findReferences

    Find all references to a symbol with completeness information

  • getCallGraph

    Get a lightweight call graph showing callers and callees of a symbol

  • traceUsage

    Trace how a symbol is reached from system entrypoints. Returns causal paths, not just neighbors.

  • getArchitecture

    Get codebase architecture with module dependencies. For single-module projects, use granularity='directory' or 'file' for meaningful visualization.

  • getModuleOverview

    Get a high-level overview of a module including size and recent activity

  • getModuleResponsibilities

    Get responsibilities for modules. Returns what each module does, its capabilities, and how confident we are in this assessment. Extracted from README files, doc comments, and code analysis.

  • listKeyConcepts

    Discover main ideas/concepts in the codebase through semantic clustering. Helps understand domain vocabulary.

  • analyzeImpact

    Use this to check 'what breaks if I change X?' — returns callers, affected modules, and risk score for a single symbol. For full pre-change analysis with tests and coupling, use prepareChange instead. For analyzing a git diff of changes already made, use analyzeChange.

  • getHotspots

    Find files that deserve attention based on churn, coupling, and recency. Highlights volatile areas that may need review.

  • exportForLLM

    Export codebase structure in LLM-friendly format. Includes symbols, complexity, usage, and ownership.

  • getStatus

    Get CKB system status including backend health, cache stats, repository state, and usage hints for available capabilities.

  • switchProject

    Switch CKB to a different project directory. Use this when CKB is indexed for the wrong project. Accepts any git repository path — it does not need to be pre-registered.

  • planRefactor

    Plan a refactoring operation with combined risk assessment, impact analysis, test strategy, and ordered steps. Aggregates prepareChange + auditRisk + analyzeTestGaps into a single call.

  • expandToolset

    Switch to a larger toolset for a specific workflow. Call this when you need tools not in the current set. Presets (each includes all core tools plus): • review (40 tools): reviewPR, auditCompliance, scanSecrets, analyzeTestGaps, getAffectedTests, compareAPI, findDeadCode, findUnwiredModules, auditRisk, getOwnership — use for PR reviews, test coverage analysis, compliance audits, security • refactor (33 tools): analyzeCoupling, findCycles, suggestRefactorings, findDeadCode, findUnwiredModules, compareAPI, explainOrigin — use for refactoring, dependency analysis, dead code removal • federation (36 tools): federationSearch*, listContracts, analyzeContractImpact — use for multi-repo queries, cross-repo analysis • docs (27 tools): indexDocs, getDocsForSymbol, checkDocStaleness, getDecisions, recordDecision — use for documentation, ADRs • ops (33 tools): doctor, reindex, daemonStatus, listJobs, webhooks, telemetry — use for diagnostics, daemon management • full (94 tools): everything — use w

将 CKB MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 CKB 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 CKB 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 CKB MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "ckb": {
      "command": "npx",
      "args": [
        "-y",
        "@tastehub/ckb"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 CKB MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 CKB MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 CKB 帮我完成这项任务吗?
CKB
当然。我已阅读。
以下是我使用 CKB 得到的结果。

常见问题

CKB MCP 服务器有什么用途?

CKB 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 CKB MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 CKB,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 CKB MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 CKB 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 CKB MCP 连接到 TypingMind?

CKB 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

CKB MCP 在 TypingMind 中提供哪些工具?

CKB 提供 25 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 CKB MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 CKB 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

System Status
Architecture

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇