Logo Knowledge Base Server

Knowledge Base Server

Cộng đồng
willynikes2

Make every AI agent you use smarter. Persistent memory with SQLite FTS5, MCP server, Obsidian sync, and self-learning intelligence pipeline.

Nhà phát hànhwillynikes2
Kho mãknowledge-base-server
Ngôn ngữJavaScript
Bản fork
38
Sao
179
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Knowledge Base Server 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ở

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

knowledge-base-server

Make every AI agent you use smarter.

A persistent memory system that captures, classifies, synthesizes, and retrieves knowledge for AI agents. One brain, multiple agents, compounding intelligence. Production-proven with 200+ documents, three agents (Claude, Codex, Gemini), and daily use.

This is not just a search engine. It is an intelligence pipeline that turns raw information into refined, retrievable knowledge -- and gets smarter every session.


The Problem

AI agents are stateless. Every session starts from zero. You end up:

  • Copy-pasting context between sessions
  • Re-explaining your codebase, architecture, and preferences
  • Watching agents hallucinate because they lack YOUR information
  • Losing debugging insights that took hours to discover
  • Running multiple agents that can't share what they know

The smarter the model, the more painful the amnesia. Context is the bottleneck, not intelligence.

The Solution

knowledge-base-server sits between your knowledge and your AI agents. It ingests everything -- your Obsidian vault, code, documents, YouTube transcripts, X bookmarks, terminal sessions -- and serves it through MCP and REST APIs. Every agent you use reads from and writes to the same brain.

Your AI gets smarter every day. Every session builds on the last.

Obsidian Vault ------+
Code Repos ----------+
YouTube Transcripts --+---> [ KB Server ] ---> SQLite + FTS5 ---> [ MCP ] ---> Claude Code
X/Twitter Bookmarks -+         |                   |                          Codex CLI
Web Clippings -------+     Port 3838          Embeddings          [ REST ] --> Gemini CLI
Terminal Sessions ----+    Web Dashboard      Semantic Search                  ChatGPT
Bug Fix Captures -----+                                                       Any MCP Client

Obsidian is the source of truth -- the human layer where you organize, link, and curate knowledge. The KB server is the optimized retrieval layer that makes it AI-ready with minimal token usage.


How It Works: The Intelligence Pipeline

This is the core differentiator. Raw information flows through seven layers to become actionable intelligence:

1. Capture Layer

Ingest from everywhere:

  • Obsidian vault -- bidirectional sync, auto-indexes on changes
  • YouTube transcripts -- via yt-dlp or kb_capture_youtube
  • X/Twitter bookmarks -- browser export to markdown, auto-ingest
  • Web articles -- Obsidian Web Clipper or kb_capture_web
  • Terminal sessions -- kb_capture_session records what worked, failed, and why
  • Bug fixes -- kb_capture_fix records symptom, cause, and resolution
  • Code, PDFs, text -- 20+ file types with automatic type detection

Every source enters the system as a raw capture, ready for processing.

2. Classification Layer

The kb_classify tool runs AI classification on unprocessed content:

  • Assigns document type (research, idea, workflow, lesson, fix, decision, session)
  • Auto-generates tags and project routing
  • Writes structured summaries and key topics
  • Adds confidence scoring
  • Enforces frontmatter discipline on every note

Raw clippings become structured, searchable knowledge automatically.

3. Promotion Pipeline

Raw captures get refined into higher-value knowledge artifacts:

  • Captures in inbox get normalized into sources
  • Sources get promoted to insights, lessons, decisions, runbooks
  • The kb_promote tool extracts structured knowledge from raw material
  • Higher-value knowledge ranks higher in retrieval
  • The system distinguishes signal from noise automatically

4. Synthesis Layer

The kb_synthesize tool connects dots across sources:

  • Reads recent notes across all types and projects
  • Identifies recurring themes, patterns, and bottlenecks
  • Surfaces opportunities and workflow improvements
  • Generates cross-cutting insights that no single source contains
  • This is where raw information becomes actionable intelligence

5. Three-Tier Memory (Cold / Warm / Hot)

Not all knowledge is equal. The system uses three tiers to prevent context pollution:

TierWhat Lives HereWhen RetrievedExample
HotActive project context, recent sessions, current decisionsFirst, always"How did we fix auth yesterday?"
WarmAccumulated lessons, research, validated workflowsWhen relevant to query"What's our Docker networking pattern?"
ColdRaw captures, archived sources, old terminal logsOnly when deep-diving"What did that YouTube video say about caching?"

Why three tiers? Without tiering, a search for "authentication" returns every raw article you ever clipped alongside your actual auth architecture decision. The tiers ensure agents get signal, not noise. Hot knowledge is always fresh and relevant. Cold knowledge is preserved but doesn't pollute active context.

6. Token-Optimized Retrieval

Every token costs money and context window space. The retrieval system minimizes waste:

  • kb_context returns summaries and metadata WITHOUT full content -- 90%+ token savings
  • kb_search uses FTS5 with BM25 ranking, title boosting, and AND-first precision
  • kb_search_smart combines keyword and semantic search for conceptual queries
  • kb_read loads full content only when needed, after context identifies relevant docs
  • Agents get the right information in the fewest possible tokens

7. The Self-Learning Loop

This is the core innovation. The system compounds intelligence over time:

Sessions 1-10:    AI makes mistakes. You correct. Fixes get captured.
Sessions 10-50:   AI recognizes patterns. Starts getting things right more often.
Sessions 50-100:  AI knows your codebase, preferences, architecture patterns.
Sessions 100+:    One-shot clean code. Accumulated context covers everything.

The loop in detail:

  1. AI agent attempts a task
  2. Output gets evaluated (human judgment -- the irreplaceable element)
  3. Corrections and findings get captured (kb_capture_session, kb_capture_fix)
  4. KB server ingests the session data
  5. kb_synthesize organizes and connects to existing knowledge
  6. Agent instructions auto-update with lessons learned
  7. Next session starts with better context
  8. Repeat -- compounding improvement

This is NOT fine-tuning. NOT RLHF. It is self-modifying instructions through operational history. The model doesn't change. The context it receives does. And context is everything.


Features

Core

  • SQLite FTS5 full-text search with BM25 ranking and highlighted snippets
  • Semantic/vector search via local HuggingFace embeddings (Xenova/all-MiniLM-L6-v2) — no API keys needed
  • Hybrid search mode (kb_search_smart) combining keyword + semantic for conceptual queries
  • Web dashboard for browsing, searching, and managing documents
  • CLI for all operations (kb start, kb search, kb ingest, kb setup)
  • One-command MCP registration (kb register)
  • Interactive setup wizard (kb setup) with agent-compatible auto mode

Ingestion

  • 20+ file types: Markdown, text, code, PDFs, JSON, YAML, XML, CSV
  • Auto-ingest on first run (~/knowledgebase + Claude memory directories)
  • Duplicate detection via content hashing
  • Obsidian vault bidirectional sync with incremental indexing
  • YouTube transcript capture
  • X/Twitter bookmark ingestion
  • Web article capture with metadata

Intelligence

  • AI auto-classification (type, tags, summary, key topics, confidence)
  • Knowledge promotion pipeline (raw -> structured)
  • Cross-source synthesis (themes, patterns, opportunities)
  • Three-tier memory (cold/warm/hot) with tier-aware retrieval
  • Token-optimized context briefings (90%+ savings over full reads)
  • Session and fix capture for operational learning
  • Safety review for destructive actions (multi-model consensus)

Integration

  • MCP server (stdio for local, StreamableHTTP for remote)
  • REST API with OpenAPI 3.1 specification
  • ChatGPT Custom GPT Actions via OpenAPI import
  • OAuth 2.1 with OIDC discovery for remote access
  • API key authentication for scripts and automation
  • systemd service with auto-restart for production deployment

Security

  • bcrypt password hashing with HttpOnly session cookies
  • Dual auth: API keys (fast path) + OAuth Bearer tokens
  • Three separate API keys for Claude, OpenAI, and Gemini
  • Safety review tool checks KB history before destructive actions
  • No external dependencies for core functionality

Quickstart

Prerequisites

  • Node.js >= 18.0.0
  • That's it. No external databases, no Docker required, no cloud dependencies.

Install

bash
git clone https://github.com/willynikes2/knowledge-base-server.git
cd knowledge-base-server
npm install
npm link

First Run (Interactive Setup Wizard)

bash
kb setup

The wizard detects your environment, asks which AI agents you use, configures everything, and runs your first ingest. Takes about 60 seconds.

For agent-driven installation (no prompts):

bash
kb setup --auto --password=yourpass --vault=~/obsidian-vault --agents=claude,codex --deploy=systemd

Manual Setup

bash
KB_PASSWORD=yourpassword kb start    # Start server on port 3838
kb register                          # Register MCP with Claude Code
kb ingest ~/obsidian-vault           # Ingest your knowledge
kb search "docker networking"        # Search from terminal
kb status                            # Check stats

Connect to Claude Code

After kb register, Claude Code automatically has access to all KB tools. Test it:

> Search the knowledge base for recent bug fixes

Claude will use kb_search and return results from your accumulated knowledge.


Don't Want to Self-Host? Use Memstalker

Memstalker is the hosted version of knowledge-base-server. Same engine, zero infrastructure.

Self-Hosted (Free)Memstalker Hosted
CostFree foreverFrom $12/mo
SetupClone, install, configureSign up, connect your agents
InfrastructureYou run the VPSWe handle everything
Updatesgit pullAutomatic
Multi-device syncYou configureBuilt-in
BackupsYou manageAutomatic
All 16 MCP toolsYesYes
Obsidian integrationYesYes
REST API + ChatGPTYesYes

Self-host if: You want full control, have a VPS, and enjoy running your own infrastructure.

Use Memstalker if: You want persistent AI memory without managing servers. Connect your agents in minutes.

First 500 early adopters get Pro at $12/mo forever (normally $25): memstalker.com


MCP Tools

All 16 tools available via MCP (stdio and HTTP):

ToolDescription
kb_searchFull-text search with BM25 ranking and highlighted snippets
kb_search_smartHybrid keyword + semantic search for conceptual queries
kb_contextToken-efficient briefing -- summaries only, 90%+ savings. Use BEFORE kb_read
kb_readRead full document content by ID
kb_listList documents filtered by type or tag
kb_writeWrite a new note to the Obsidian vault
kb_ingestIngest raw text directly into the database
kb_classifyAuto-classify unprocessed notes (type, tags, summary)
kb_promotePromote raw source into structured knowledge
kb_synthesizeGenerate cross-source synthesis connecting recent knowledge
kb_capture_sessionRecord a debugging/coding session with findings
kb_capture_fixRecord a bug fix with symptom, cause, resolution
kb_capture_webCapture a web article with content and metadata
kb_capture_youtubeCapture a YouTube transcript with metadata
kb_vault_statusShow vault indexing stats by type and project
kb_safety_checkReview a destructive action against KB history

CLI Commands

kb setup              Interactive setup wizard (--auto for agent mode)
kb start              Start the dashboard + API server (default :3838)
kb stop               Stop the running server
kb mcp                Start MCP stdio server (used by AI tools)
kb register           Register MCP server with Claude Code
kb ingest <path>      Ingest a file or directory
kb search <query>     Search documents from terminal
kb status             Show stats and server status
kb classify           Auto-classify unprocessed vault notes
kb summarize          Generate AI summaries for unsummarized notes
kb capture-x          Ingest X/Twitter bookmarks from export
kb safety-check       Review a planned action against KB history

Architecture

                         +------------------+
                         |   AI Agents      |
                         | Claude | Codex   |
                         | Gemini | ChatGPT |
                         +--------+---------+
                                  |
                    MCP (stdio)   |   REST API (/api/v1/)
                    MCP (HTTP)    |   OpenAPI 3.1
                                  |
                         +--------+---------+
                         |    KB Server     |
                         |   Express :3838  |
                         +--------+---------+
                                  |
              +-------------------+-------------------+
              |                   |                   |
     +--------+-------+  +-------+--------+  +-------+--------+
     | SQLite + FTS5   |  |  Embeddings    |  |  Obsidian      |
     | documents       |  |  all-MiniLM    |  |  Vault Sync    |
     | vault_files     |  |  L6-v2 local   |  |  (bidirectional)|
     | embeddings      |  |  cosine sim    |  |  source of truth|
     +----------------+  +----------------+  +----------------+

Data directory: ~/.knowledge-base/

  • kb.db -- SQLite database with FTS5 index
  • files/ -- Ingested file copies
  • config.json -- Password hash and settings

Supported File Types

CategoryExtensions
Markdown.md
Text.txt, .log, .json, .yaml, .yml, .xml, .csv
Code.js, .ts, .jsx, .tsx, .py, .go, .rs, .java, .rb, .sh, .bash, .c, .cpp, .h, .hpp, .html, .css, .sql, .toml
PDF.pdf (with text extraction)
Config.env, .ini, .cfg, .conf

Content Ingestion Examples

Obsidian Vault

bash
# Set vault path in .env
OBSIDIAN_VAULT_PATH=~/obsidian-vault

# Or ingest manually
kb ingest ~/obsidian-vault

The vault indexer tracks file hashes for incremental updates -- only changed files get re-indexed.

YouTube Transcripts

bash
# Download transcript
yt-dlp --write-auto-sub --skip-download -o transcript https://youtube.com/watch?v=VIDEO_ID

# Or use the MCP tool directly from your AI agent:
# kb_capture_youtube with URL and transcript text

X/Twitter Bookmarks

bash
# Export bookmarks to markdown using twitter-web-exporter (browser extension)
# Then ingest:
kb ingest ~/bookmarks/x_bookmarks.md

# Or use the built-in capture command:
kb capture-x ~/path/to/x_bookmarks.md

Terminal Sessions

From your AI agent after a debugging session:

Use kb_capture_session to record:
- goal: "Fix authentication flow for email users"
- commands_worked: "docker exec postgres psql query"
- commands_failed: "curl returned 401 - missing jellyfin_user_id"
- root_causes: "Email login path didn't propagate jellyfin_user_id to frontend"
- fixes: "Added jellyfin_user_id to auth response schema"
- lessons: "Always check all auth paths when adding fields to user response"

Bug Fixes

Use kb_capture_fix to record:
- title: "Library page blank for email login users"
- symptom: "Library page shows empty, no media items loaded"
- cause: "jellyfin_user_id not included in email auth response"
- resolution: "Added field to shared auth schema, redeployed"

Multi-Agent Setup

Claude Code (MCP -- Native)

bash
kb register    # Writes to ~/.claude.json automatically

All 16 MCP tools become available in Claude Code immediately.

Codex / Other MCP Agents

Point your MCP client at the stdio transport:

json
{
  "mcpServers": {
    "knowledge-base": {
      "command": "node",
      "args": ["/path/to/knowledge-base-server/bin/kb.js", "mcp"]
    }
  }
}

ChatGPT Custom GPTs (REST API)

  1. Import the OpenAPI spec from https://your-domain.com/openapi.json
  2. Set authentication to API Key with header X-API-Key
  3. ChatGPT can now search, read, and write to your knowledge base

REST API endpoints at /api/v1/:

  • GET /api/v1/search?q=query -- Full-text search
  • GET /api/v1/search/smart?q=query -- Semantic search
  • GET /api/v1/context?q=query -- Token-efficient briefing
  • GET /api/v1/documents -- List documents
  • GET /api/v1/documents/:id -- Read document
  • POST /api/v1/ingest -- Ingest content
  • POST /api/v1/capture/session -- Capture session
  • POST /api/v1/capture/fix -- Capture fix
  • POST /api/v1/capture/web -- Capture web content

Running Multiple Agents Simultaneously

All agents connect to the same KB server. What Claude learns in one session, Codex and Gemini can access in the next. The KB is the shared brain.

For remote agents, set up API keys in .env:

bash
KB_API_KEY_CLAUDE=your-unique-key-for-claude
KB_API_KEY_OPENAI=your-unique-key-for-openai
KB_API_KEY_GEMINI=your-unique-key-for-gemini

Agentic Installation

This repo is designed to be set up BY AI agents, not just for them.

  1. User clones the repo
  2. User tells their AI: "Read llms.txt and EXTENDING.md, then set this up for me"
  3. Agent reads llms.txt (30 seconds to understand the full system)
  4. Agent reads EXTENDING.md (deep customization guide written FOR agents)
  5. Agent runs kb setup --auto with appropriate flags for the user's environment
  6. Done. Every deployment is unique -- security by customization.

The wizard detects your OS, available AI tools, Obsidian vault location, and preferred deployment method. It generates a custom .env, registers MCP, installs the service, and runs the first ingest.

For the non-technical user: kb setup and answer 5 questions. For the programmer: Everything is in .env and composable. Override anything. For the AI agent: kb setup --auto with flags. Zero prompts.


The Self-Learning Workflow

This repo includes templates for the self-learning development methodology:

docs/workflow/
  CLAUDE.md.template     -- Operating contract for Claude Code
  AGENTS.md.template     -- Cross-agent rules (Claude, Codex, Gemini)
  SELF-LEARNING.md       -- The full methodology: three-tier memory,
                            intelligence pipeline, compounding loop,
                            multi-agent self-learning, Obsidian integration

Copy these templates to your project root and customize them. They define:

  • How agents should search the KB before starting work
  • When and how to capture session findings
  • The self-learning loop that compounds intelligence
  • Multi-agent coordination rules
  • Verification standards

These are the actual development patterns used to build this system. Open sourced so you can adopt the same workflow.


Environment Variables

VariableRequiredDefaultDescription
KB_PASSWORDYes (first run)--Dashboard login password
KB_PORTNo3838HTTP server port
OBSIDIAN_VAULT_PATHNo--Obsidian vault path for sync
KB_API_KEY_CLAUDENo--API key for Claude remote access
KB_API_KEY_OPENAINo--API key for OpenAI/ChatGPT access
KB_API_KEY_GEMININo--API key for Gemini access
BETTER_AUTH_SECRETNo--OAuth token signing secret
BETTER_AUTH_URLNo--OAuth issuer URL for remote access
CLASSIFY_MODELNoclaude-haiku-4-5-20251001Model for AI classification

systemd Service

For production deployment with auto-restart:

bash
sudo cp kb-server.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable kb-server
sudo systemctl start kb-server

Or use the setup wizard: kb setup and select "systemd" as the deployment mode.

The service restarts automatically on failure with a 5-second delay. Logs via journalctl -u kb-server -f.


Why This Exists

I built this because I run three AI agents (Claude, Codex, Gemini) across multiple projects. Without shared context, each agent starts from zero every session. I was copy-pasting context, re-explaining architecture, and losing debugging insights that took hours to discover.

With the KB server, all three agents share the same brain. Claude captures a bug fix at 2am, Codex finds it the next morning. Gemini reviews code with full project history. The system gets smarter every day -- not because the models improve, but because the context they receive compounds.

The cost model: $60/month total for three agents via CLI subscription wrapping (not per-token API billing). The KB server runs on a $5/month VPS alongside everything else. The ROI is measured in hours of context re-discovery that never need to happen again.

AI is only as good as its context. This is the context layer.


Roadmap

  • Watch mode for auto-ingesting new vault files in real-time
  • Multi-user support with role-based access
  • Hosted SaaS version -- memstalker.com (self-hosted remains free and full-featured)
  • Plugin system for custom ingestion sources
  • Ollama integration for fully local AI classification
  • WebSocket real-time updates on the dashboard
  • Export/import for knowledge base migration

License

MIT -- see LICENSE


Author

Built by Shawn Daniel with significant contributions from Claude, Codex, and Gemini -- the first three users of the system they helped build.

"You gotta 100-shot 10 apps before you can 1-shot 10 apps."

Cài đặt

TypingMind
{
  "mcpServers": {
    "knowledge-base-server": {
      "command": "kb",
      "args": []
    }
  }
}

Dùng MCP Knowledge Base Server 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 Knowledge Base Server, 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. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để 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 Knowledge Base Server 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 Knowledge Base Server.
  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": {
    "knowledge-base-server": {
      "command": "npx",
      "args": [
        "-y",
        "knowledge-base-server"
      ]
    }
  }
}
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 Knowledge Base Server, 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 Knowledge Base Server.
  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 Knowledge Base Server giúp tôi làm việc này không?
Knowledge Base Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Knowledge Base Server.

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

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

Knowledge Base Server 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 Knowledge Base Server 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 Knowledge Base Server 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 Knowledge Base Server 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 Knowledge Base Server, 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 Knowledge Base Server với TypingMind?

Knowledge Base Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

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

Knowledge Base Server 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 Knowledge Base Server 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 Knowledge Base Server 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 👇