Logo OntoIndex

OntoIndex

Tổ chức
ontograph

Code Graph mcp solutions for AI agents with ontology and sentence. Supports extra large codebases

Nhà phát hànhontograph
Kho mãontoindex
Ngôn ngữTypeScript
Bản fork
8
Sao
41
Công cụ có sẵn
0
Phương thức truyền tảistdio, streamable-http
Danh mục
Giấy phépAGPL-3.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    OntoIndex cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    41 sao và 8 bản fork từ kho mã được liên kết.

OntoIndex

Graph-powered code intelligence for AI agents. OntoIndex builds a local code graph for a repository and exposes it through a CLI, an MCP server, an HTTP API, and a browser UI.

The default path is local: install, analyze, setup, connect MCP, serve, and generate wiki output against a repository you control. Browser-hosted surfaces are optional clients on top of that local graph.

Important: OntoIndex has no official cryptocurrency, token, or coin. Any token using the OntoIndex name is not affiliated with this project or its maintainers.

License: AGPL-3.0-or-later GitHub

Abstract

AI coding agents often work from small slices of a codebase. That is fast, but fragile: a model can edit a function without seeing callers, rename a symbol without downstream impact analysis, or miss coupling that sits outside the current prompt.

OntoIndex reduces that uncertainty by precomputing a repository graph. The graph records files, symbols, imports, calls, inheritance, routes, tools, documentation sections, communities, and execution flows. Agents can then ask graph-level questions before editing: where is this symbol used, what process does it participate in, what tests are nearby, and what changes are risky?

The index is local-first. Repository data is stored in .ontoindex/, while the global registry under ~/.ontoindex/ only tracks indexed repository metadata and paths.

What It Provides

AreaCapability
Code graphFiles, folders, functions, classes, methods, interfaces, properties, routes, tools, docs sections, and process nodes
RelationshipsCONTAINS, DEFINES, CALLS, IMPORTS, EXTENDS, IMPLEMENTS, MEMBER_OF, STEP_IN_PROCESS, HANDLES_ROUTE, and related edges
SearchBM25, graph search, optional semantic retrieval, optional zvec vector backend, reciprocal-rank fusion, and process-grouped results
Agent safetyImpact analysis, diff-to-symbol mapping, pre-commit audit, review helpers, target test evidence, and target-repository validation
InterfacesCLI, MCP stdio server, HTTP API, generated wiki, generated skills, and React/Vite web UI
Multi-repo workNamed repository registry, repo labels, group contracts, and cross-repo context surfaces

Installation

Third-party Prerequisites

OntoIndex runs on Node.js and uses native parser packages for some languages. Install the following before installing OntoIndex.

RequirementLinuxWindows
Node.jsNode.js 22.12.0 through 25.x plus npmNode.js 22.12.0 through 25.x plus npm 11.6.0+
Gitgit CLI for repository metadata and diff analysisGit for Windows
Native build toolspython3, make, and g++ for optional native parser buildsPython 3 and Microsoft C++ Build Tools from Visual Studio Build Tools
Shellbash for the install script examplesPowerShell 5.1 or PowerShell 7
Optional containersDocker Engine and Docker ComposeDocker Desktop

Linux example:

bash
node --version
npm --version
git --version
python3 --version
make --version
g++ --version

Windows PowerShell example:

powershell
node --version
npm --version
git --version
python --version
npm config get msvs_version

Install the Latest GitHub Release

Linux and macOS:

bash
wget -qO- https://raw.githubusercontent.com/ontograph/ontoindex/master/scripts/install-ontoindex-latest.sh | bash
ontoindex --version

If wget is unavailable, curl -fsSL https://raw.githubusercontent.com/ontograph/ontoindex/master/scripts/install-ontoindex-latest.sh | bash works as a fallback.

Windows PowerShell:

powershell
iwr -useb https://raw.githubusercontent.com/ontograph/ontoindex/master/scripts/install-ontoindex-latest.ps1 | iex
ontoindex --version

Windows note:

  • OntoIndex no longer supports Node.js 20 in the current release line because commander@15 requires Node.js 22.12.0 or newer.
  • Node.js 24 and 25 use OntoIndex's vendored tree-sitter runtime source, patched to compile native bindings with C++20 when prebuilds are unavailable.
  • With Node.js 22 LTS, use npm 11.6.0 or newer on Windows.
  • Older npm releases can bundle node-gyp builds that fail to detect Visual Studio 2026 Build Tools.
  • Upgrade with npm.cmd install -g npm@11.6.3 before retrying the installer.

From a local checkout:

PlatformCommand
Linux/macOS./scripts/install-ontoindex-latest.sh
Windows PowerShellpowershell -ExecutionPolicy Bypass -File .\scripts\install-ontoindex-latest.ps1

The installers fetch the latest GitHub release, locate the ontoindex-*.tgz asset, and install it with npm install -g. If ONTOINDEX_LOCAL_ASSET points to a tarball, or an ontoindex-*.tgz file already exists in the current directory or beside the script, the Linux/macOS installer uses that local tarball first instead of going back to GitHub. If a global install is not writable, the installers fall back to a user npm prefix.

The default installer is not an offline bundle of every third-party package. It ships OntoIndex sources and vendored parser sources, then lets npm resolve runtime dependencies such as LadybugDB, ONNX Runtime, and image/vector helpers for the current platform. A non-fatal npm deprecation warning from a transitive package can appear while upstream packages catch up. For air-gapped hosts, use an internal npm registry mirror or a prepared npm cache.

On Linux x64, the installer also prefetches LadybugDB fts and vector extension binaries from the OntoIndex GitHub extension-cache release. On Windows x64, the PowerShell installer prefetches the same binaries from the LadybugDB extension host into the local cache. At runtime, OntoIndex tries that cache before asking LadybugDB to download extensions during INSTALL fts / INSTALL VECTOR.

If a Windows install previously failed partway through and left a broken ontoindex.cmd shim, repair the global install state before retrying:

powershell
npm.cmd uninstall -g ontoindex
if (Test-Path "$env:APPDATA\npm\node_modules\ontoindex") { Remove-Item "$env:APPDATA\npm\node_modules\ontoindex" -Recurse -Force }
if (Test-Path "$env:APPDATA\npm\ontoindex.cmd") { Remove-Item "$env:APPDATA\npm\ontoindex.cmd" -Force }
if (Test-Path "$env:APPDATA\npm\ontoindex.ps1") { Remove-Item "$env:APPDATA\npm\ontoindex.ps1" -Force }

Installer configuration:

PurposeLinux/macOSWindows PowerShell
Use another release repositoryONTOINDEX_GITHUB_REPO=owner/repo ./scripts/install-ontoindex-latest.sh$env:ONTOINDEX_GITHUB_REPO='owner/repo'; .\scripts\install-ontoindex-latest.ps1
Use a local downloaded tarballONTOINDEX_LOCAL_ASSET="$PWD/ontoindex-2.1.4.tgz" ./scripts/install-ontoindex-latest.sh—
Use a user npm prefixONTOINDEX_NPM_PREFIX="$HOME/.local" ./scripts/install-ontoindex-latest.sh$env:ONTOINDEX_NPM_PREFIX="$env:APPDATA\npm"; .\scripts\install-ontoindex-latest.ps1
Force user prefixONTOINDEX_NPM_PREFIX="$HOME/.local" ./scripts/install-ontoindex-latest.sh.\scripts\install-ontoindex-latest.ps1 -ForceUserPrefix
Require FTS/vector cache prefetchONTOINDEX_REQUIRE_LADYBUG_EXTENSIONS=1 ./scripts/install-ontoindex-latest.sh$env:ONTOINDEX_REQUIRE_LADYBUG_EXTENSIONS='1'; .\scripts\install-ontoindex-latest.ps1
Skip FTS/vector cache prefetchONTOINDEX_SKIP_LADYBUG_EXTENSIONS=1 ./scripts/install-ontoindex-latest.sh$env:ONTOINDEX_SKIP_LADYBUG_EXTENSIONS='1'; .\scripts\install-ontoindex-latest.ps1

Install with npm

Use this path when npm publication is available in your environment.

PlatformCommand
Linux/macOSnpm install -g ontoindex@2.1.4 && ontoindex --version
Windows PowerShellnpm.cmd install -g ontoindex@2.1.4; ontoindex --version

Install from a Release Tarball URL

Use this when you want an immutable GitHub release asset.

PlatformCommand
Linux/macOSnpm install -g https://github.com/ontograph/ontoindex/releases/download/v2.1.4/ontoindex-2.1.4.tgz && ontoindex --version
Windows PowerShellnpm.cmd install -g https://github.com/ontograph/ontoindex/releases/download/v2.1.4/ontoindex-2.1.4.tgz; ontoindex --version

First Run

Run OntoIndex from the repository you want to index. Start with the local CLI flow, then connect MCP or serve as needed; wiki generation is part of the same local workflow.

If embeddings already exist, ontoindex analyze preserves them; use ontoindex analyze --embeddings when you want to refresh semantic vectors during a rebuild.

TaskLinux/macOSWindows PowerShell
Index current repositoryontoindex analyzeontoindex analyze
Semantic query scoped to backend filesontoindex query "search ranking" --include-path ontoindex/src/mcp/localontoindex query "search ranking" --include-path ontoindex/src/mcp/local
Semantic query with explanationsontoindex query "search ranking" --include-explanationsontoindex query "search ranking" --include-explanations
Generate repo skills for Claude and Codexontoindex analyze --skills --skills-target claude,codexontoindex analyze --skills --skills-target claude,codex
Configure supported MCP clientsontoindex setupontoindex setup
Start MCP server manuallyontoindex mcpontoindex mcp
Diagnose MCP configurationontoindex mcp-doctor --repo <label-or-path> --project-cwd "$PWD" --jsonontoindex mcp-doctor --repo <label-or-path> --project-cwd "$PWD" --json
Start local HTTP backendontoindex serveontoindex serve
Generate a wikiontoindex wiki . --out local_docs/wikiontoindex wiki . --out local_docs/wiki
Check index statusontoindex statusontoindex status

--skills-target accepts claude, codex, cursor, opencode, or all. The default is claude, which writes generated project skills under .claude/skills/generated/; codex writes them under .agents/skills/generated/.

When the OntoIndex executable is launched from a helper checkout or global tool path, set the target repository explicitly so the MCP server cannot silently serve the wrong repository.

Linux/macOS:

bash
cd /path/to/target/repo
export ONTOINDEX_MCP_PROJECT_CWD="$PWD"
export ONTOINDEX_MCP_REPO="$PWD"
ontoindex setup
ontoindex mcp --repo my-project

Windows PowerShell:

powershell
Set-Location C:\path\to\target\repo
$env:ONTOINDEX_MCP_PROJECT_CWD = (Get-Location).Path
$env:ONTOINDEX_MCP_REPO = (Get-Location).Path
ontoindex setup
ontoindex mcp --repo my-project

At startup, OntoIndex prints both the executable working directory and the target project path. If ONTOINDEX_MCP_REPO or --repo points outside ONTOINDEX_MCP_PROJECT_CWD, startup fails unless ONTOINDEX_MCP_ALLOW_REPO_MISMATCH=1 is set.

ontoindex mcp-doctor --repo <label-or-path> --project-cwd <path> --json resolves the same repo selector and reports READY, DEGRADED, or MISCONFIGURED; when it detects a mismatch, it includes a restart command for the target project scope.

MCP Client Call Shape

OntoIndex MCP tools use the client-provided namespace plus tool name. For Ontocode-style clients, the canonical call identity is:

text
namespace="mcp__ontoindex", name="inspect"

If a client reports unsupported call: mcp__ontoindex__inspect, the call was rejected by that client's tool router before it reached the OntoIndex MCP server. Fix the client/router call-shape normalization or call the tool as name="inspect" with namespace="mcp__ontoindex".

MCP Setup

ontoindex setup configures supported MCP clients automatically. Manual examples are useful for debugging or for clients that do not support automatic setup.

ClientLinux/macOSWindows PowerShell
Claude Codeclaude mcp add ontoindex -- ontoindex mcpclaude mcp add ontoindex -- ontoindex mcp
Codexcodex mcp add ontoindex -- ontoindex mcpcodex mcp add ontoindex -- ontoindex mcp
Ontocodeontocode mcp add ontoindex -- ontoindex mcpontocode mcp add ontoindex -- ontoindex mcp
Any MCP clientcommand: ontoindex, args: ["mcp"]command: ontoindex, args: ["mcp"]

Cursor example:

json
{
  "mcpServers": {
    "ontoindex": {
      "command": "ontoindex",
      "args": ["mcp"]
    }
  }
}

OpenCode example:

json
{
  "mcp": {
    "ontoindex": {
      "type": "local",
      "command": ["ontoindex", "mcp"]
    }
  }
}

Common Agent Workflows

GoalLinux/macOSWindows PowerShell
Search for a flowontoindex query "authentication flow"ontoindex query "authentication flow"
Inspect symbol contextontoindex ctx validateUserontoindex ctx validateUser
Check blast radiusontoindex impact validateUser --include-tests --depth 2ontoindex impact validateUser --include-tests --depth 2
Review current diffontoindex review diffontoindex review diff
Audit before commitontoindex detect-changesontoindex detect-changes
Rebuild from scratchontoindex analyze --forceontoindex analyze --force

Core MCP surfaces include:

Tool familyUse
Search and contextFind relevant symbols, files, routes, and processes
Impact analysisEstimate upstream and downstream blast radius before edits
Diff reviewMap changed hunks to graph symbols and execution flows
Docs evidenceCheck requirements traceability, docs drift, and readiness
Refactor supportUse graph-aware rename and safety checks instead of plain find-and-replace
Systems auditInspect resource flow, path boundaries, error topology, concurrency, and taint-style signals

Functional Architecture

OntoIndex has three entry points over the same local graph backend.

ComponentPathResponsibility
CLI layerontoindex/src/cli/User-facing commands such as analyze, mcp, serve, query, impact, review, docs, and audit
Ingestion pipelineontoindex/src/core/ingestion/File scanning, Tree-sitter parsing, import/call/type resolution, route/tool/ORM extraction
Pipeline phasesontoindex/src/core/ingestion/pipeline-phases/Ordered graph build phases from scan to process extraction
Graph storageontoindex/src/core/lbug/LadybugDB schema, graph loading, query execution, and embedding persistence
Registryontoindex/src/storage/.ontoindex/ metadata, global registry, stale-index checks
Searchontoindex/src/core/search/BM25, semantic retrieval, intent routing, ranking, and repository-map context
MCP backendontoindex/src/mcp/MCP resources, facade tools, gn_* workflows, and local backend dispatch
HTTP backendontoindex/src/server/Express API used by the browser UI and local bridge mode
Web UIontoindex-web/src/Graph explorer, repository browser, backend connection, and AI chat UI
Shared contractsontoindex-shared/src/Shared API types, language identifiers, and constants

Indexing Pipeline

The graph build is a typed phase DAG:

text
scan -> structure -> [markdown, cobol] -> parse -> [routes, tools, orm]
  -> crossFile -> mro -> communities -> processes

Key steps:

  1. Scan files with repository ignore rules.
  2. Parse supported languages with Tree-sitter providers.
  3. Resolve imports, calls, receivers, constructors, type hints, inheritance, and method-resolution-order edges.
  4. Enrich the graph with routes, MCP/RPC tools, ORM queries, markdown sections, communities, and execution flows.
  5. Persist nodes and relations into LadybugDB under .ontoindex/.
  6. Expose the same graph through CLI, MCP, HTTP, web UI, generated wiki pages, and generated skills.

Supported language depth varies, but the shared model covers TypeScript, JavaScript, Python, Java, Kotlin, C#, Go, Rust, PHP, Ruby, Swift, C, C++, Dart, and protobuf-related parser support.

Optional Web UI

The hosted UI is optional and can connect to a local backend at http://localhost:4747.

TaskLinux/macOSWindows PowerShell
Start local backendontoindex serveontoindex serve
Open hosted UIxdg-open https://ontoindex.vercel.appStart-Process https://ontoindex.vercel.app

To run the web UI from source:

PlatformCommand
Linux/macOScd ontoindex-shared && npm install && npm run build && cd ../ontoindex-web && npm install && npm run dev
Windows PowerShellSet-Location ontoindex-shared; npm install; npm run build; Set-Location ..\ontoindex-web; npm install; npm run dev

The browser-only mode can inspect uploaded ZIPs in memory. For larger repositories, start ontoindex serve and let the UI use the local index.

Docker

TaskLinux/macOSWindows PowerShell
Start stackdocker compose up -ddocker compose up -d
Backend URLhttp://localhost:4747http://localhost:4747
Web UI URLhttp://localhost:4173http://localhost:4173

Images:

ImagePurpose
ghcr.io/ontograph/ontoindex:2.1.4CLI, MCP server, and ontoindex serve backend
ghcr.io/ontograph/ontoindex-web:2.1.4Web UI

Comparison With Related Tools

This table compares functional scope, not benchmark speed.

CapabilityOntoIndexGitNexusGraphifyCodeGPT Deep Graph MCPcode-graph-mcp / Optave / CodeGraphContextSerenaGraphiti MCP
Primary roleLocal agent code-intelligence and safety layerHistorical donor and predecessorBroad project knowledge graph and reportsMCP access to hosted CodeGPT/DeepGraph dataLightweight local code graph serversSymbolic code agent with memoryTemporal entity/relation memory
Local source indexingYesYesYesNo, hosted graphYesUses language tooling rather than the same persistent graph modelNo, stores facts/events
Persistent repository graph.ontoindex/ LadybugDB plus registryLegacy local graphExported graph/report artifactsHosted graphLocal AST/dependency storesProject memories and language-server stateNeo4j-backed temporal graph
MCP runtime60+ facade and gn_* toolsEarlier conceptsAdjacent, artifact-focusedHosted graph query toolsSearch/call/impact toolsAgent tools for symbols and editsEntity/relation memory tools
Impact analysisSymbol, route, diff, process, test-aware signalsPartial predecessor capabilityReport-orientedRelationship queries onlyPartial to strong, depending on projectReference-based symbolic checksNot source-code focused
Refactor safetyGraph-aware rename and verification guidancePartial predecessor capabilityNoNoMostly analysis-orientedStrong symbolic editsNo
Docs evidenceRequirements trace, drift checks, readiness reportsNo current public successor surfaceStrong mixed-document ingestionNoLimitedNotes and memoriesMemory facts, not repo docs drift
Best fitLocal editing and release workflows where agents need graph evidence before actingMigration contextHuman-readable project knowledge artifactsTeams already using CodeGPT-hosted graphsSmaller local AST/call graph MCP needsPrecise symbolic editingLong-lived non-code memory

Practical guidance:

  • Choose OntoIndex when an agent must edit or release from local evidence: impact, diff review, docs drift, audit workflows, and target-repository safeguards.
  • Choose Graphify when the main deliverable is a broad human-readable project knowledge graph across mixed artifacts.
  • Choose CodeGPT Deep Graph MCP when your graph already lives in CodeGPT/DeepGraph.
  • Choose smaller code-graph MCP servers when you only need AST/call/dependency lookup without a broader audit lifecycle.
  • Choose Serena for language-server style symbolic edits.
  • Choose Graphiti MCP for temporal memory over facts and events; it complements OntoIndex rather than replacing a source-code index.

Repository Layout

PathPurpose
ontoindex/CLI, indexing pipeline, MCP server, graph logic
ontoindex-web/React/Vite web UI
ontoindex-shared/Shared TypeScript types and constants
ontoindex-native/Optional native helpers
ontoindex-claude-plugin/Claude integration assets
ontoindex-cursor-integration/Cursor integration assets
eval/Evaluation harness

Development

Third-party development prerequisites are the same as installation, plus the package manager and compiler tools needed by native Node modules.

TaskLinux/macOSWindows PowerShell
Install root dependenciesnpm installnpm install
Build CLI/corecd ontoindex && npm install && npm run buildSet-Location ontoindex; npm install; npm run build
Run unit testscd ontoindex && npm run test:unitSet-Location ontoindex; npm run test:unit
Type-check web UIcd ontoindex-web && npx tsc -b --noEmitSet-Location ontoindex-web; npx tsc -b --noEmit
Build web UIcd ontoindex-web && npm run buildSet-Location ontoindex-web; npm run build
Run web testscd ontoindex-web && npm testSet-Location ontoindex-web; npm test

Useful references:

Security and Privacy

  • CLI and MCP indexing are local by default.
  • Repository indexes are stored in .ontoindex/.
  • The global registry stores repository paths and metadata under the user profile.
  • Browser-only mode keeps uploaded code in the browser session.
  • Enterprise deployments can be self-hosted.

Report security issues through SECURITY.md.

Source and Donor Acknowledgments

OntoIndex includes code originally developed as GitNexus. Copyright and attribution for GitNexus contributors are preserved in NOTICE.

The project also builds on open-source components and donated ecosystem work from upstream maintainers, including:

See NOTICE for preserved attribution and third-party component notices.

License

OntoIndex is licensed under AGPL-3.0-or-later. See LICENSE.

Cài đặt

TypingMind
{
  "mcpServers": {
    "ontoindex": {
      "command": "ontoindex",
      "args": [
        "mcp"
      ]
    }
  }
}

Dùng MCP OntoIndex với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối OntoIndex, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. Bạn có thể chạy MCP ngay trên thiết bị của mình hoặc kết nối qua URL của máy chủ MCP từ xa.

Cách 1: Dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm OntoIndex làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của OntoIndex.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "ontoindex": {
      "command": "npx",
      "args": [
        "-y",
        "ontoindex-monorepo"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của OntoIndex, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của OntoIndex.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng OntoIndex giúp tôi làm việc này không?
OntoIndex
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng OntoIndex.

Cách 2: Thêm URL máy chủ MCP

Dùng cách này khi OntoIndex đã được lưu trữ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập URL máy chủ MCP do nhà cung cấp cung cấp vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán URL máy chủ MCP do nhà cung cấp cung cấp vào trường URL máy chủ.
  2. Nhập tên kết nối cho OntoIndex.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối OntoIndex hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của OntoIndex trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của OntoIndex trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và dùng lại cùng kết nối MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng OntoIndex giúp tôi làm việc này không?
OntoIndex
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng OntoIndex.

Câu hỏi thường gặp

Máy chủ MCP OntoIndex dùng để làm gì?

OntoIndex là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP OntoIndex với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng OntoIndex với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP OntoIndex với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối OntoIndex, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP OntoIndex với TypingMind?

Bạn có thể kết nối OntoIndex trong TypingMind bằng trình kết nối MCP cục bộ hoặc bằng cách thêm URL máy chủ MCP từ xa. Dùng trình kết nối cục bộ khi máy chủ cần truy cập tệp, ứng dụng hoặc tài nguyên riêng trên thiết bị của bạn; dùng URL máy chủ khi máy chủ MCP được lưu trữ từ xa.

MCP OntoIndex cung cấp những công cụ nào trong TypingMind?

OntoIndex cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP OntoIndex không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu OntoIndex yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇