Λογότυπο Codedb MCP

Codedb MCP

Κοινότητα
killop

fast code database mcp 20000x faster against rg

Εκδότηςkillop
Αποθετήριοcodedb-mcp
ΓλώσσαRust
Forks
6
Αστέρια
95
Διαθέσιμα εργαλεία
0
Τύπος μεταφοράςstdio
Σύνδεσμοι
  • Συνδέστε εργαλεία σε ροές εργασίας AI

    Το Codedb MCP παρέχει δυνατότητες MCP που μπορούν να χρησιμοποιηθούν από συμβατές εφαρμογές-πελάτες AI και πράκτορες AI.

  • 0 διαθέσιμα εργαλεία

    Περιηγηθείτε παρακάτω στις ενέργειες που μπορούν να κληθούν, μαζί με τα ονόματα και τις περιγραφές τους, όταν παρέχονται από τον διακομιστή.

  • Ρυθμίσεις έτοιμες για αντιγραφή

    Χρησιμοποιήστε τα αποσπάσματα εγκατάστασης για να ρυθμίσετε αυτόν τον διακομιστή στην εφαρμογή-πελάτη MCP που προτιμάτε.

  • Δείκτες ενδιαφέροντος για τον ανοιχτό κώδικα

    95 αστέρια και 6 διακλαδώσεις στο συνδεδεμένο αποθετήριο.

Project Overview

codebase-mcp turns a local repository into a persistent MCP code intelligence service. It keeps tree-sitter indexed source data, symbols, references, dependencies, graph metadata, and exact lexical indexes under the target repo's .codedb-mcp directory.

Warm MCP calls are designed to be millisecond-level inside a persistent server process. See Benchmark Snapshot and MCP Tool Benchmark Matrix for warm latency and rg comparisons.

Feature Overview

AreaWhat It Provides
Fast MCP toolsOne declarative property-graph language for clustering, dependencies, callers, call paths, state, and control evidence, plus exact bodies/outlines/ranges.
Module discoveryDependency-connected file components plus dependency-weighted label propagation, with terms and paths used as explainable labels and evidence.
Code Module AtlasA packaged meet-blog-style 3D viewer with one star per source file, module/file lists, dependency edges, and file focus/details.
DeepWikiLocal repository documentation generated from MCP evidence and the active agent's reasoning, with business-module-first pages and cited source files.
Codex token observationA bundled transcript observer that reads Codex JSONL sessions, measures codedb tool output tokens, and flags high-output lookup patterns.
Local deploymentExplicit .codedb-mcp/codedb-mcp.toml, project-local storage, bundled skills, and no hidden environment-variable behavior.

MCP Tools

The server keeps a tree-sitter indexed, project-local code database under .codedb-mcp and exposes five atomic MCP tools:

  • codedb_graph_query, a Cypher-like MATCH / SHORTEST / WHERE / RETURN / ORDER BY / LIMIT language with scalar/property comparisons, communities, rankable file metrics, typed directed edges, finite paths, call-site arguments, parameter bindings, branch effects, guards, and shared-state joins;
  • codedb_symbol for one exact definition/body;
  • codedb_outline for one exact file;
  • codedb_read for one exact source range;
  • codedb_status for explicit health/freshness checks.

Caller, call-path, dependency, flow-atlas, lexical, composite, and administrative wrappers remain CLI/internal. codedb_bundle is not exposed.

Codex Token Observation

The codedb-mcp skill includes a lightweight Codex transcript observer:

powershell
node skills\codedb-mcp\scripts\codex-observe.mjs --project u3dclient --since 24h --top 12

It scans ~/.codex/sessions line by line, filters sessions by project cwd, and reports model token counts, tool-output token estimates, codedb call totals, high-output calls, broad reads/searches, non-codedb source lookups, and missed compact-context opportunities. It is a diagnostic script only; it does not modify transcripts or the MCP runtime.

Code Module Atlas

Code Module Atlas demo

Watch the MP4 demo

The atlas page is generated by the skills/code-module-atlas skill. It calls the local MCP module-atlas export, converts the result into the bundled meet-blog-style 3D viewer dataset, and shows one star node per source file.

Module boundaries are computed from the dependency-connected file graph first. Inside each connected component, the Rust module planner uses dependency-weighted label propagation; paths and distinctive terms are used for names, evidence, and oversized-component splitting, not as the primary grouping rule. The page then provides a module list, a file list for the selected module, file-to-file dependency edges, and file focus/details.

powershell
node skills\code-module-atlas\scripts\build-module-atlas.mjs u3dclient
cd skills\code-module-atlas\assets\viewer
npm run dev -- --port 5174 --strictPort

DeepWiki

The skills/deepwiki skill builds local DeepWiki-style documentation from MCP evidence and the active agent's reasoning. It starts from dependency-aware module candidates, then writes business-module-first pages with cited files, entry points, flows, dependencies, and risk notes. It does not require a separate model API.

The intended distribution model is setup-guide first: give an agent setup-for-agent.md, let it create .codedb-mcp and run an index check, then ask the human whether this specific agent should register the MCP server. No model download is required. The codedb-mcp skill is for using the tools after setup, not for installing them.

Benchmark Snapshot

Benchmark target: u3dclient.

The agent benchmarks below are the last completed pre-property-query baseline from Windows on 2026-07-23. They remain historical controls and are not presented as results for the new codedb_graph_query planner; the consolidated MCP/RG rerun is pending. MCP has no natural-language task router, source-call quota, or forced output clamp; the agent submits explicit graph patterns.

Current index status with the Unity C# benchmark config:

  • Indexed runtime files: 16,153.
  • Chunks: 27,772.
  • Outlines: 16,153.
  • Indexed symbols: 375,816.
  • Graph: 17,018 nodes, 98,804 edges, and 1,259 cached communities.
  • Storage: u3dclient\.codedb-mcp.
  • Cache v32 sidecars: generation-named compact index.*.bin, fingerprints.*.bin, offset-addressed outlines.*.bin / outlines_index.*.bin, lazy word_index.bin/word_hits.bin, lazy text_search_index.bin, lazy callers.bin, lazy deps.*.bin, persistent graph.bin, and manifest-last commits. v32 rebuilds C# field facts used by receiver and shared-state resolution.

Startup-to-main-interface trace, one completed MCP/no-MCP pair with the same English prompt and model:

VariantEffective tokensTimeSource-tool callsTool output chars
codedb-mcp122,851414.6s41 MCP calls244,291
shell / rg224,922732.8s47 commands742,368

For this lifecycle trace, codedb-mcp reduced effective tokens by 45.4%, elapsed time by 43.4%, and tool-output characters by 67.1%. The answer connected launch, the AOT/hot-update state handoff, framework initialization, login/full-data readiness, city/scene transition, the exact main-panel open, and the final OnShow readiness body.

Broader feature-analysis reference runs used the same English prompts and model. MCP rows are completed non-regressing runs from the graph-only series; the RG controls were run together with codedb disabled. They demonstrate current quality and cost, not a deterministic SLA: repeated wide runs still show agent-level convergence variance.

Scenariocodedb-mcpshell / rgEffective-token changeTool-output change
World-map marching228,915 tokens / 796.4s / 161 calls / 479,094 chars253,905 tokens / 787.5s / 102 commands / 1,023,944 chars9.8% lower53.2% lower
Hero attributes and power207,282 tokens / 569.6s / 129 calls / 514,907 chars227,248 tokens / 656.9s / 104 commands / 668,652 chars8.8% lower23.0% lower
Alliance rally/create/join171,449 tokens / 454.0s / 113 calls / 397,873 chars196,057 tokens / 619.1s / 37 commands / 851,689 chars12.6% lower53.3% lower

Accuracy review found the completed MCP answers materially covered the requested end-to-end behavior and distinguished active runtime code from comments/legacy paths. The main remaining issue is call count and convergence variance on broad multi-branch questions. A final consolidated rerun with the same model could not complete because the Codex account began rejecting gpt-5.6-sol as unsupported; those failed runs are excluded rather than reported as zero-token wins.

Index and cache baseline:

ScenarioTimePeak WS / privateNotes
Cold rebuild13.818s226.9 / 220.2 MBhistorical pre-v28 result; rerun pending for the graph-only cache
Cache-hit index open0.741s107.8 / 106.1 MBunchanged files/config, manifest cache hit
Status open0.454s14.4 / 8.1 MBcount/status command with existing cache
Trigram text sidecar size107.7 MBn/asorted trigram lookup plus contiguous file-id postings

Incremental cache maintenance on the same u3dclient runtime C# config:

ScenarioTimeCache resultNotes
Add 1,000 small .cs files1.508s warm applylive-incrementalparses only new files and updates the compact cache path
Modify 1,000 small .cs files1.544s warm applylive-incrementalreuses parsed file content for dependency refresh
Delete 1,000 small .cs files0.504s warm applylive-incrementalfilters current files and dependency sidecars without a full rebuild

MCP Tool Benchmark Matrix

The table is intentionally three columns so it fits GitHub README pages without horizontal scrolling. Rows marked "after load" exclude the first lazy sidecar load in the same process. codedb_text_search rows use same-query warm samples after one warmup call; a first unseen full-result text query still pays the candidate-file line scan, usually around 15-30ms on u3dclient.

Tool / PurposeMCP benchmarkrg comparison
codedb_graph_queryTyped property-graph evidence chainsproperty-query benchmark rerun pending; correctness smoke covers shortest call/dispatch paths, call-site guards, argument-to-parameter binding, branch PREVENTS/REACHES, and shared-state producer joinsno equivalent single rg command
codedb_indexBuild/rebuild local indexcold rebuild 13.818s; peak 226.9 / 220.2 MBnone
codedb_statusHealth, counts, scan stateone-shot status open 0.454s; cache hitnone
codedb_versionServer/package versiontrivial response; no project index loadnone
codedb_treeIndexed tree with language, lines, symbols8.782mspartial file list only
codedb_outlineOne-file symbol outlinesampled files 0.088-0.351ms; 100-call p95 0.214ms after first loadnone
codedb_symbolSymbol definition lookup2.021msregex approximates text only
codedb_text_searchTrigram full-text and regex searchsame-query warm exact PoolManager 0.202ms, Joystick 0.442ms; scoped NetworkListenerManager 0.103ms; Alliance regex 0.148msequivalent rg: 5.007s, 5.859s, 77.011ms, and 103.702ms; codedb is about 24,840x / 13,250x / 748x / 701x faster on these warm text routes
codedb_searchSymbol/word-trigram lexical rankinghistorical timings pending graph-only rerunregex route delegates to codedb_text_search
codedb_contextGraph atlas or scoped graph evidencehistorical timings pending graph-only rerunreplaces broad search/outline/deps setup loops
codedb_contextBudgeted source-context excerptsPoolManager 7.050ms with max_chars=10000; business phrase 29.037ms with max_chars=12000; sampled output about 2.5k-3.0k tokensreplaces repeated read calls; output is capped by max_chars
codedb_wordExact identifier inverted index101.526ms including lazy word sidecar accesspartial word grep only
codedb_callersDefinition-anchored referencesPoolManager 12.722ms avg, 8ms steady samples; Joystick 17.968msno semantic anchor
codedb_hotRecently modified indexed files2.116msnone
codedb_depsDirect/reverse/transitive file depsdepends_on 0.096ms; imported_by first sidecar path 170.495ms, then sub-ms samplesnone
codedb_readIndexed file or line-range read0.562mspartial file print only
codedb_editRead-only compatibility stubtrivial error responsenone
codedb_changesFiles changed since sequence7.849msnone
codedb_snapshotJSON snapshot of files/symbols/deps1.213snone
codedb_remoteRemote compatibility stubtrivial error responsenone
codedb_projectsProjects loaded in server process0.013msnone
codedb_findFuzzy file/path lookupvalidation samples 20-26ms; matrix sample 47.150msno fuzzy ranking
codedb_queryfind/search/filter/limit/outline pipelinevalidation samples 9-60ms; matrix sample 63.546msno equivalent single tool
codedb_globGlob over indexed pathsAlliance .cs glob 4.465msrg --files -g 52.961ms; codedb is 11.9x faster
codedb_lsImmediate indexed directory children1.421mspartial file list only
codedb_module_atlasModule/file atlas JSON exportwarm export 7.278s; full sampled export 7.960s, peak 286.2 / 289.1 MB, 18,852 file points, 1,742 modulesnone

Java smoke benchmark on gameserver:

ScenarioFilesChunksSymbolsTimePeak memory
Historical cold build before graph-only cache v286,94013,966245,2383.939s212.7 / 212.4 MB
Cache-hit index open6,94013,966245,2380.394s73.7 / 69.3 MB

Multi-language smoke coverage includes C#, Java, Rust, Python, Lua, TypeScript, C, and C++ parser paths: 8 files, 8 chunks, 14 symbols, 0.069s, peak 2.0 / 0.5 MB. Rust smoke check on this repository: 32 indexed files, 1,183 chunks, 2,214 symbols, 0.372s index time, peak 170.9 / 162.1 MB; codedb_outline, codedb_search, and codedb_deps all returned Rust results.

Recommended Setup Flow

  1. Give the target agent setup-for-agent.md.
  2. The agent creates <repo-root>\.codedb-mcp.
  3. The agent writes <repo-root>\.codedb-mcp\codedb-mcp.toml from the demo config and shows the human the scan scope.
  4. The human can edit extensions, root_paths, include_paths, exclude_paths, and skip_dirs before first indexing.
  5. The agent runs an index check; no model download is required.
  6. The agent asks whether this specific agent should register MCP. If yes, it uses its own MCP mechanism.
  7. Restart or reload the agent MCP session and check /mcp.

The MCP command shape is:

text
<package-root>\skills\codedb-mcp\assets\codebase-mcp.exe --config <repo-root>\.codedb-mcp\codedb-mcp.toml mcp <repo-root>

This project intentionally keeps installation explicit: setup prepares local project files, while the agent/user chooses when and where to register MCP.

What It Does

  • Exposes one read-only graph query language plus exact symbols, outlines, atomic source ranges, and status. Callers, dependencies, call paths, clustering, shared state, and control flow are graph patterns rather than separate MCP wrappers.
  • Indexes configured source languages through one explicit config file: <repo-root>/.codedb-mcp/codedb-mcp.toml.
  • Stores generated data inside the target repo under .codedb-mcp. Delete that directory to remove local cache and generated wiki/index data.
  • Uses a unified tree-sitter parser layer, not Roslyn/JDT. C#, Java, Rust, Python, Lua, JavaScript, TypeScript/TSX, C, and C++ all emit the same FileEntry/Symbol model. C#/Java typed callers and dependencies remain the strongest path because their namespace/package import rules are implemented on top of that shared AST output.
  • Uses BM25/word-trigram lexical hits and exact identifier indexes for explicit CLI/internal search; MCP discovery is structural through Community/File graph queries rather than a query model.
  • Builds graph-backed evidence for flow/callpath tools and exposes codedb_module_atlas output from a dependency-connected file graph with label propagation, dependency cohesion, key symbols, and c-TF-IDF-like labels.
  • Uses a filesystem-event queue in MCP mode and applies queued changes every 5s by default, so large edit bursts avoid full source-tree scans.

Technology Architecture

  1. Explicit project-local config: all behavior comes from .codedb-mcp/codedb-mcp.toml. There are no environment-variable switches for indexing behavior.
  2. Project-local storage: cache payloads, manifests, and generated output live under .codedb-mcp. Deleting that directory removes all generated data for the repo.
  3. Scanner: walks the repo with explicit extensions, max file size, project .gitignore behavior, scan roots, include paths, exclude globs, and skip dirs. Nested Git worktrees/submodules under the target root are scanned as normal source directories. Unity runtime scans can be limited to Assets, Packages, and Library/PackageCache while excluding **/Editor/**.
  4. Unified language layer: extension dispatch selects a tree-sitter grammar for C#, Java, Rust, Python, Lua, JavaScript, TypeScript/TSX, C, or C++. The parser emits the same FileEntry/Symbol model for every language and visits declarations without descending into large method bodies.
  5. Code-aware references: C#/Java namespace/package imports, qualified names, aliases, static using, annotations, and attribute suffixes feed typed callers and dependency edges. Rust and the other non C#/Java languages currently provide indexed search, outlines, imports/includes/use declarations, Lua require() imports, and graph nodes, but not Roslyn/JDT-level semantic binding.
  6. Search indexes: cold indexing builds chunk metadata, symbol-definition hits, and dependency references. codedb_text_search adds a codedb-style trigram sidecar with sorted lookup entries and contiguous file-id postings for fast exact/regex text search. codedb_search uses BM25 plus exact symbol/word evidence; it does not load a query model.
  7. Memory-shaped incremental cache: cache v32 follows the bounded-content-cache lesson from justrach/codedb: full file bodies, chunk preview text, repeated chunk file paths, repeated language/kind strings, word-index hits, caller results, forward/reverse dependencies, and graph objects are not all resident by default. Tools read exact lines, offset-addressed outlines, trigram postings, word hits, caller sidecars, dependencies, or graph data on demand. Watcher refreshes are event-queued, parse only changed files, reuse old dependency sidecars, and let lazy search sidecars rebuild when their source fingerprint changes.
  8. Graph layer: combines dependency communities and rankable file metrics with lazy semantic providers for precise calls, interface dispatch, call sites, arguments, parameter bindings, conditions, control actions, preprocessor guards, and shared-state reads/writes. The read-only Cypher-like planner separates matching, recursive expansion, filtering, projection, comparison, and ordering; MATCH SHORTEST uses bidirectional connector search.
  9. Module atlas layer: codedb_module_atlas first splits files by dependency-connected components, then does dependency-weighted label propagation inside each component. Path and token terms are used for naming, evidence, and oversized-component splitting, not as the primary grouping rule. It exports Embedding Atlas-ready JSON.
  10. MCP runtime: implemented with the Rust rmcp SDK over stdio. Tools operate against a warm in-process index and expose atomic graph/source operations for progressive evidence gathering.
  11. Setup guide and skills package: setup-for-agent.md owns installation guidance. skills/codedb-mcp is standalone for tool usage and includes the executable, config template, MCP reference, and tool guidance. skills/deepwiki builds local DeepWiki-style docs from MCP evidence plus the active agent's reasoning. skills/code-module-atlas calls codedb_module_atlas and packages the local meet-blog-style module/file graph webpage.

Configuration

Default config path:

text
<repo-root>/.codedb-mcp/codedb-mcp.toml

The repo includes a working example at .codedb-mcp/codedb-mcp.toml and a distributable template at skills/codedb-mcp/assets/codedb-mcp.toml.template.

Important defaults:

toml
[scan]
extensions = ["cs", "java", "rs", "py", "pyw", "lua", "js", "jsx", "mjs", "cjs", "ts", "tsx", "c", "h", "cc", "cpp", "cxx", "hpp", "hh", "hxx"]
max_file_bytes = 50000000
respect_gitignore = true
root_paths = []
include_paths = ["Library/PackageCache"]
exclude_paths = []

[logging]
enabled = false
file = ".codedb-mcp/codedb-mcp.log"
queue_capacity = 8192
flush_interval_ms = 500

[storage]
enabled = true
dir = ".codedb-mcp"

There are no environment-variable toggles. Edit the config file explicitly. root_paths can limit scanning to source roots such as Assets, Packages, and Library/PackageCache; include_paths adds extra roots even when a parent is skipped; exclude_paths accepts globs such as **/Editor/** for Unity runtime-only scans. respect_gitignore=true reads project .gitignore files, but nested Git worktrees/submodules inside the target root are still indexed unless excluded by skip_dirs, exclude_paths, or file extension rules. [logging] is disabled by default; when enabled, MCP tool calls and file-watch digest batches are written through a bounded non-blocking queue and background writer. Tool lines include elapsed_ms, status, and failure_reason for failures. Watcher digest lines include queued event counts, changed/deleted counts, digest status, elapsed time, and cache stats. Queue overflow drops log lines instead of slowing indexing or MCP.

Build And CLI

Build:

powershell
cargo build --release

Run MCP directly:

powershell
target\release\codebase-mcp.exe --config u3dclient\.codedb-mcp\codedb-mcp.toml mcp u3dclient

Quick CLI checks:

powershell
target\release\codebase-mcp.exe --config u3dclient\.codedb-mcp\codedb-mcp.toml index u3dclient
target\release\codebase-mcp.exe --config u3dclient\.codedb-mcp\codedb-mcp.toml search "network listener manager" u3dclient -k 5
target\release\codebase-mcp.exe --config u3dclient\.codedb-mcp\codedb-mcp.toml --root u3dclient tool codedb_status "{}"

MCP mode answers the protocol handshake before the initial index finishes, then builds the default project index in the background. Early tool calls may wait for that first build. Watching is enabled by default through [watch] enabled = true and poll_interval_seconds = 5; filesystem events are queued and applied as one serialized batch on each tick. The same tick checks the config file hash. If scan scope, extensions, include/exclude paths, max file size, gitignore behavior, or storage settings change while MCP is running, codedb-mcp keeps serving the old index, performs one full background reindex, then atomically swaps to the new index and rebuilds watcher roots. Parse or reindex failure keeps the old index. Cache commits are manifest-last and generation-based: if the process is killed mid-index, the previous manifest still points to the previous usable cache, partial new sidecars are ignored, and stale unreferenced generation files are cleaned on the next startup. Lazy sidecars such as text search, word hits, and callers are source-validated and rebuilt on demand instead of synchronously deleted during reload. Use --no-watch for static benchmark runs.

Batch Examples

codedb_search accepts queries:

json
{
  "max_results": 3,
  "queries": [
    "PoolManager",
    {
      "query": "Joystick",
      "path_glob": "Assets/Plugins/3rdPlugins/Joystick Pack/**"
    },
    {
      "query": "NetworkListenerManager",
      "regex": true,
      "compact": true
    }
  ]
}

codedb_callers accepts targets:

json
{
  "max_results": 10,
  "targets": [
    {
      "name": "PoolManager",
      "definition_path": "Assets/Scripts/HotFix/3rdExtend/Runtime/PoolManager/PoolManager.cs",
      "definition_line": 26
    },
    {
      "name": "Joystick",
      "definition_path": "Assets/Plugins/3rdPlugins/Joystick Pack/Scripts/Runtime/Base/Joystick.cs",
      "definition_line": 8
    }
  ]
}

codedb_read accepts paths:

json
{
  "compact": true,
  "paths": [
    "Assets/Scripts/HotFix/3rdExtend/Runtime/PoolManager/PoolManager.cs",
    {
      "path": "Assets/Plugins/3rdPlugins/Joystick Pack/Scripts/Runtime/Base/Joystick.cs",
      "line_start": 1,
      "line_end": 40
    }
  ]
}

codedb_module_atlas exports dependency-connected module/file atlas JSON:

powershell
target\release\codebase-mcp.exe --config u3dclient\.codedb-mcp\codedb-mcp.toml --root u3dclient tool codedb_module_atlas "{`"path_prefix`":`"Assets/Scripts`",`"limit`":40,`"min_files`":2}"

Skills

The skills/ directory is intended to be copied as a standalone package.

  • setup-for-agent.md: installation guide for agents. It writes project-local scan/storage config and runs an index check without downloading a model.
  • skills/codedb-mcp: includes assets/codebase-mcp.exe, a config template, MCP registration reference, tool guidance, and scripts/codex-observe.mjs for Codex transcript token diagnostics. It does not own setup.
  • skills/deepwiki: creates DeepWiki-style local documentation using local codedb_* tools plus the active agent's reasoning. It emphasizes business module boundaries over folder-only or community-only grouping.
  • skills/code-module-atlas: creates a local 3D module/file atlas webpage by calling codedb_module_atlas, then adapting the bundled meet-blog-style viewer. Generated repo-specific JSON stays ignored.

Acknowledgements

Χρησιμοποιήστε το MCP Codedb MCP με πολλά μοντέλα AI

Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας. Έτσι, μόλις συνδεθεί το Codedb MCP, μπορείτε να το χρησιμοποιείτε με διαφορετικά μοντέλα AI στο TypingMind, αντί να το ρυθμίζετε ξεχωριστά για κάθε μοντέλο. Αυτή η ενσωμάτωση MCP εκτελείται τοπικά στη συσκευή σας μέσω του συνδέσμου MCP του TypingMind.

Οδηγός ρύθμισης για τη χρήση του τοπικού συνδέσμου

Επιλέξτε αυτή τη μέθοδο όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές ή ιδιωτικούς πόρους στον υπολογιστή σας.

1

Ανοίξτε τις ρυθμίσεις MCP

Στο TypingMind, μεταβείτε στις «Ρυθμίσεις», έπειτα στις «Σύνθετες ρυθμίσεις» και στο «Model Context Protocol» και επιλέξτε «Ρύθμιση συνδέσμου».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Κάντε κλικ στο εικονίδιο «Ρυθμίσεις».
  3. Μεταβείτε στις «Σύνθετες ρυθμίσεις».
  4. Ανοίξτε την ενότητα Model Context Protocol.
  5. Κάντε κλικ στην επιλογή «Ρύθμιση συνδέσμου» και επιλέξτε «Αυτή η συσκευή».
Οθόνη ρύθμισης συνδέσμου MCP του TypingMind με επιλεγμένη την επιλογή «Αυτή η συσκευή»
2

Εκτελέστε την εντολή του συνδέσμου

Επιλέξτε «Αυτή η συσκευή», αντιγράψτε την εντολή από το TypingMind και εκτελέστε την στο Τερματικό. Διατηρήστε τη διεργασία σε λειτουργία όσο χρησιμοποιείτε το MCP.

  1. Αντιγράψτε την εντολή ρύθμισης που εμφανίζεται στο TypingMind.
  2. Ανοίξτε το Τερματικό στο macOS ή το Windows Terminal στα Windows.
  3. Επικολλήστε και εκτελέστε την εντολή.
  4. Εγκρίνετε την εγκατάσταση του πακέτου, αν το Τερματικό σάς ζητήσει επιβεβαίωση για να συνεχίσει.
  5. Διατηρήστε ανοιχτό το παράθυρο του Τερματικού και τη διεργασία σε λειτουργία όσο χρησιμοποιείτε εργαλεία MCP.
3

Προσθέστε το Codedb MCP ως διακομιστή

Όταν η κατάσταση του συνδέσμου είναι «Έτοιμος», κάντε κλικ στο «Αλλαγή servers» και επικολλήστε τις ρυθμίσεις του διακομιστή MCP.

  1. Περιμένετε μέχρι η κατάσταση του συνδέσμου να εμφανιστεί ως «Έτοιμος».
  2. Κάντε κλικ στο «Αλλαγή servers».
  3. Επικολλήστε τις ρυθμίσεις του διακομιστή MCP Codedb MCP.
  4. Αποθηκεύστε τη λίστα διακομιστών.
  5. Κάντε ανανέωση αν θέλετε να επιβεβαιώσετε ότι ο σύνδεσμος παραμένει έτοιμος για χρήση.
Ρυθμίσεις MCP του TypingMind με ενεργό διακομιστή και το κουμπί «Αλλαγή servers»
{
  "mcpServers": {
    "codedb-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Χρησιμοποιήστε τη σύνδεση με διαφορετικά μοντέλα

Αποθηκεύστε τη λίστα διακομιστών, ανοίξτε τα «Πρόσθετα», ενεργοποιήστε τα εργαλεία MCP του Codedb MCP και έπειτα επιλέξτε οποιοδήποτε υποστηριζόμενο μοντέλο AI στο TypingMind. Χρησιμοποιήστε τα εργαλεία στη συνομιλία ή αναθέστε τα σε έναν πράκτορα AI.

  1. Ανοίξτε τη σελίδα «Πρόσθετα» στο TypingMind.
  2. Ενεργοποιήστε τα εργαλεία MCP του Codedb MCP.
  3. Ξεκινήστε μια συνομιλία και επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  4. Χρησιμοποιήστε τα εργαλεία MCP στη συνομιλία ή αντιστοιχίστε τα σε έναν πράκτορα AI.
  5. Μεταβείτε σε άλλο μοντέλο AI όποτε χρειάζεται, χωρίς να συνδέσετε ξανά το MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω Codedb MCP;
Codedb MCP
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του Codedb MCP.

Συχνές ερωτήσεις

Σε τι χρησιμεύει ο διακομιστής MCP Codedb MCP;

Το Codedb MCP είναι ένας διακομιστής MCP που επιτρέπει σε συμβατές εφαρμογές AI να συνδέονται με εξωτερικά εργαλεία και πληροφορίες πλαισίου. Στο TypingMind, μπορείτε να προσθέσετε αυτόν τον διακομιστή MCP μία φορά και να κάνετε τα εργαλεία του διαθέσιμα στον χώρο εργασίας AI σας.

Μπορώ να χρησιμοποιήσω το Codedb MCP MCP με πολλά μοντέλα AI στο TypingMind;

Ναι. Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας, ώστε να μπορείτε να χρησιμοποιείτε το Codedb MCP με διαφορετικά μοντέλα AI, όπως τα Claude, ChatGPT, Gemini ή άλλα μοντέλα που έχετε ρυθμίσει στο TypingMind, χωρίς να ρυθμίζετε τον διακομιστή MCP ξεχωριστά για κάθε μοντέλο.

Γιατί να χρησιμοποιήσετε τον σύνδεσμο MCP Codedb MCP με το TypingMind;

Το TypingMind είναι ένα από τα καλύτερα περιβάλλοντα συνομιλίας με μεγάλα γλωσσικά μοντέλα, καθώς συγκεντρώνει πολλά μοντέλα AI, προτροπές, πρόσθετα, πράκτορες AI, κλειδιά API και εργαλεία MCP σε έναν χώρο εργασίας. Συνδέοντας το Codedb MCP, μπορείτε να χρησιμοποιείτε τα εργαλεία MCP του με τα μοντέλα που προτιμάτε, διατηρώντας οργανωμένη τη ροή εργασίας των συνομιλιών σας στο TypingMind.

Πώς συνδέω το Codedb MCP MCP στο TypingMind;

Το Codedb MCP λειτουργεί μέσω του τοπικού συνδέσμου MCP του TypingMind. Αυτή είναι η καλύτερη επιλογή όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές υπολογιστή, εργαλεία γραμμής εντολών ή ιδιωτικούς πόρους στον υπολογιστή σας.

Ποια εργαλεία παρέχει το Codedb MCP MCP στο TypingMind;

Το Codedb MCP διαθέτει δυνατότητες MCP που μπορείτε να ενεργοποιήσετε από τη σελίδα Πρόσθετα του TypingMind και να χρησιμοποιήσετε σε συνομιλίες ή να αναθέσετε σε πράκτορες AI.

Χρειάζεται να κοινοποιήσω τα κλειδιά API μου στο TypingMind για να χρησιμοποιήσω το Codedb MCP MCP;

Όχι. Το TypingMind δίνει προτεραιότητα στην τοπική λειτουργία και σας επιτρέπει να διατηρείτε τον έλεγχο των παρόχων μοντέλων, των κλειδιών API, των προτροπών και των ρυθμίσεων MCP σας. Αν το Codedb MCP απαιτεί έλεγχο ταυτότητας, προσθέστε τις απαιτούμενες κεφαλίδες, τις ρυθμίσεις OAuth ή τις τοπικές ρυθμίσεις για τον συγκεκριμένο διακομιστή MCP κατά τη δημιουργία της σύνδεσης.

Σχετικοί διακομιστές MCP

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇