Logo Context Portal

Context Portal

Cộng đồng
GreatScottyMac

Context Portal (ConPort): A memory bank MCP server building a project-specific knowledge graph to supercharge AI assistants. Enables powerful Retrieval Augmented Generation (RAG) for context-aware development in your IDE.

Nhà phát hànhGreatScottyMac
Kho mãcontext-portal
Ngôn ngữPython
Bản fork
78
Sao
766
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépApache-2.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Context Portal 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ở

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

Context Portal MCP (ConPort)

(It's a memory bank!)

           

A database-backed Model Context Protocol (MCP) server for managing structured project context, designed to be used by AI assistants and developer tools within IDEs and other interfaces.

What is Context Portal MCP server (ConPort)?

Context Portal (ConPort) is your project's memory bank. It's a tool that helps AI assistants understand your specific software project better by storing important information like decisions, tasks, and architectural patterns in a structured way. Think of it as building a project-specific knowledge base that the AI can easily access and use to give you more accurate and helpful responses.

What it does:

  • Keeps track of project decisions, progress, and system designs.
  • Stores custom project data (like glossaries or specs).
  • Helps AI find relevant project information quickly (like a smart search).
  • Enables AI to use project context for better responses (RAG).
  • More efficient for managing, searching, and updating context compared to simple text file-based memory banks.

ConPort provides a robust and structured way for AI assistants to store, retrieve, and manage various types of project context. It effectively builds a project-specific knowledge graph, capturing entities like decisions, progress, and architecture, along with their relationships. This structured knowledge base, enhanced by vector embeddings for semantic search, then serves as a powerful backend for Retrieval Augmented Generation (RAG), enabling AI assistants to access precise, up-to-date information for more context-aware and accurate responses.

It replaces older file-based context management systems by offering a more reliable and queryable database backend (SQLite per workspace). ConPort is designed to be a generic context backend, compatible with various IDEs and client interfaces that support MCP.

Key features include:

  • Structured context storage using SQLite (one DB per workspace, automatically created).
  • MCP server (context_portal_mcp) built with Python/FastAPI.
  • A comprehensive suite of defined MCP tools for interaction (see "Available ConPort Tools" below).
  • Multi-workspace support via workspace_id.
  • Primary deployment mode: STDIO for tight IDE integration.
  • Enables building a dynamic project knowledge graph with explicit relationships between context items.
  • Includes vector data storage and semantic search capabilities to power advanced RAG.
  • Serves as an ideal backend for Retrieval Augmented Generation (RAG), providing AI with precise, queryable project memory.
  • Provides structured context that AI assistants can leverage for prompt caching with compatible LLM providers.
  • Manages database schema evolution using Alembic migrations, ensuring seamless updates and data integrity.

Prerequisites

Before you begin, ensure you have the following installed:

  • Python: Version 3.8 or higher is recommended.
    • Download Python
    • Ensure Python is added to your system's PATH during installation (especially on Windows).
  • uv: (Highly Recommended) A fast Python environment and package manager. Using uv significantly simplifies virtual environment creation and dependency installation.

Installation and Configuration (Recommended)

The recommended way to install and run ConPort is by using uvx to execute the package directly from PyPI. This method avoids the need to manually create and manage virtual environments.

uvx Configuration (Recommended for most IDEs)

In your MCP client settings (e.g., mcp_settings.json), use the following configuration:

json
{
  "mcpServers": {
    "conport": {
      "command": "uvx",
      "args": [
        "--from",
        "context-portal-mcp",
        "conport-mcp",
        "--mode",
        "stdio",
        "--workspace_id",
        "${workspaceFolder}",
        "--log-file",
        "./logs/conport.log",
        "--log-level",
        "INFO"
      ]
    }
  }
}
  • command: uvx handles the environment for you.
  • args: Contains the arguments to run the ConPort server.
  • ${workspaceFolder}: This IDE variable is used to automatically provide the absolute path of the current project workspace.
  • --log-file: Optional: Path to a file where server logs will be written. If not provided, logs are directed to stderr (console). Useful for persistent logging and debugging server behavior.
  • --log-level: Optional: Sets the minimum logging level for the server. Valid choices are DEBUG, INFO, WARNING, ERROR, CRITICAL. Defaults to INFO. Set to DEBUG for verbose output during development or troubleshooting.

Important: Many IDEs do not expand ${workspaceFolder} when launching MCP servers. Use one of these safe options:

  1. Provide an absolute path for --workspace_id.
  2. Omit --workspace_id at launch and rely on per-call workspace_id (recommended if your client provides it on every call).

Alternative configuration (no --workspace_id at launch):

json
{
  "mcpServers": {
    "conport": {
      "command": "uvx",
      "args": [
        "--from",
        "context-portal-mcp",
        "conport-mcp",
        "--mode",
        "stdio",
        "--log-file",
        "./logs/conport.log",
        "--log-level",
        "INFO"
      ]
    }
  }
}

If you omit --workspace_id, the server will skip pre-initialization and initialize the database on the first tool call using the workspace_id provided in that call.

Installation for Developers (from Git Repository)

The most appropriate way to develop and test ConPort is to run it in your IDE as an MCP server using the configuration above. This exercises STDIO mode and real client behavior.

If you need to run against a local checkout and virtualenv, you can configure your MCP client to launch the dev server via uv run and your .venv/bin/python:

json
{
  "mcpServers": {
    "conport": {
      "command": "uv",
      "args": [
        "run",
        "--python",
        ".venv/bin/python",
        "--directory",
        "<path to context-portal repo> ",
        "conport-mcp",
        "--mode",
        "stdio",
        "--log-file",
        "./logs/conport-dev.log",
        "--log-level",
        "DEBUG"
      ],
      "disabled": false
    }
  }
}

Notes:

  • Set --directory to your repo path; this uses your local checkout and venv interpreter.
  • Logs go to ./logs/conport-dev.log with DEBUG verbosity.

Local environment setup

Set up for development or contribution via the Git repo.

  1. Clone the repository

    bash
    git clone https://github.com/GreatScottyMac/context-portal.git
    cd context-portal
  2. Create a virtual environment

    bash
    uv venv

    Activate it using your shell’s standard activation (e.g., source .venv/bin/activate on macOS/Linux).

  3. Install dependencies

    bash
    uv pip install -r requirements.txt
  4. Run in your IDE (recommended) Configure your IDE’s MCP settings using the "uvx Configuration" or the dev uv run configuration shown above. This is the most representative test of ConPort in STDIO mode.

  5. Optional: CLI help

    bash
    uv run python src/context_portal_mcp/main.py --help

Notes:

  • For --workspace_id behavior and IDE path handling, see the guidance under the "uvx Configuration" section above. Many IDEs do not expand ${workspaceFolder}.

For pre-upgrade cleanup, including clearing Python bytecode cache, please refer to the v0.2.4_UPDATE_GUIDE.md.

Usage with LLM Agents (Custom Instructions)

ConPort's effectiveness with LLM agents is significantly enhanced by providing specific custom instructions or system prompts to the LLM. This repository includes tailored strategy files for different environments:

  • For Roo Code:

    • roo_code_conport_strategy: Contains detailed instructions for LLMs operating within the Roo Code VS Code extension, guiding them on how to use ConPort tools for context management.
  • For CLine:

    • cline_conport_strategy: Contains detailed instructions for LLMs operating within the Cline VS Code extension, guiding them on how to use ConPort tools for context management.
  • For Windsurf Cascade:

    • cascade_conport_strategy: Specific guidance for LLMs integrated with the Windsurf Cascade environment. Important: When initiating a session in Cascade, it is necessary to explicity tell the LLM:
    Initialize according to custom instructions
  • For General/Platform-Agnostic Use:

    • generic_conport_strategy: Provides a platform-agnostic set of instructions for any MCP-capable LLM. It emphasizes using ConPort's get_conport_schema operation to dynamically discover the exact ConPort tool names and their parameters, guiding the LLM on when and why to perform conceptual interactions (like logging a decision or updating product context) rather than hardcoding specific tool invocation details.

How to Use These Strategy Files:

  1. Identify the strategy file relevant to your LLM agent's environment.
  2. Copy the entire content of that file.
  3. Paste it into your LLM's custom instructions or system prompt area. The method varies by LLM platform (IDE extension settings, web UI, API configuration).

These instructions equip the LLM with the knowledge to:

  • Initialize and load context from ConPort.
  • Update ConPort with new information (decisions, progress, etc.).
  • Manage custom data and relationships.
  • Understand the importance of workspace_id. Important Tip for Starting Sessions: To ensure the LLM agent correctly initializes and loads context, especially in interfaces that might not always strictly adhere to custom instructions on the first message, it's a good practice to start your interaction with a clear directive like: Initialize according to custom instructions. This can help prompt the agent to perform its ConPort initialization sequence as defined in its strategy file.

New Strategy Set: mem4sprint (What’s new)

The repository includes a new strategy/documentation set focused on sprint planning and operational flows:

  • conport-custom-instructions/mem4sprint.md — concise guidance and patterns for using flat categories and valid FTS prefixes.
  • conport-custom-instructions/mem4sprint.schema_and_templates.md — meta schema, compact starters, FTS query rules, and minimal operational call recipes.

Key highlights:

  • Flat category model (e.g., artifacts, rfc_doc, retrospective, ProjectGlossary, critical_settings).
  • Valid FTS5 prefixes only: category:, key:, value_text: for custom data; summary:, rationale:, implementation_details:, tags: for decisions.
  • Handler-layer query normalization; database layer remains unchanged.

Release note summary:

  • Added mem4sprint strategy/docs with flattened categories and explicit FTS rules.
  • Simplified examples and included minimal operational call recipes.
  • Documentation clarifies IDE workspace path handling for MCP.

Initial ConPort Usage in a Workspace

When you first start using ConPort in a new or existing project workspace, the ConPort database (context_portal/context.db) will be automatically created by the server if it doesn't exist. To help bootstrap the initial project context, especially the Product Context, consider the following:

Using a projectBrief.md File (Recommended)

  1. Create projectBrief.md: In the root directory of your project workspace, create a file named projectBrief.md.
  2. Add Content: Populate this file with a high-level overview of your project. This could include:
    • The main goal or purpose of the project.
    • Key features or components.
    • Target audience or users.
    • Overall architectural style or key technologies (if known).
    • Any other foundational information that defines the project.
  3. Automatic Prompt for Import: When an LLM agent using one of the provided ConPort custom instruction sets (e.g., roo_code_conport_strategy) initializes in the workspace, it is designed to:
    • Check for the existence of projectBrief.md.
    • If found, it will read the file and ask you if you'd like to import its content into the ConPort Product Context.
    • If you agree, the content will be added to ConPort, providing an immediate baseline for the project's Product Context.

Manual Initialization

If projectBrief.md is not found, or if you choose not to import it:

  • The LLM agent (guided by its custom instructions) will typically inform you that the ConPort Product Context appears uninitialized.
  • It may offer to help you define the Product Context manually, potentially by listing other files in your workspace to gather relevant information.

By providing initial context, either through projectBrief.md or manual entry, you enable ConPort and the connected LLM agent to have a better foundational understanding of your project from the start.

Automatic Workspace Detection

ConPort can automatically determine the correct workspace_id so you do not need to hardcode an absolute path in your MCP client configuration. This is especially useful for IDEs that fail to expand ${workspaceFolder} when launching MCP servers.

Detection is enabled by default and can be controlled via CLI flags:

Flags:

  • --auto-detect-workspace (default: enabled) Turns on automatic detection.
  • --no-auto-detect Disables detection (explicit --workspace_id or per-tool workspace_id must then be provided).
  • --workspace-search-start <path> Optional starting directory for upward search (defaults to current working directory).

How it works (multi‑strategy):

  1. Strong Indicators (fast path): Looks for high-confidence project roots containing any of: package.json, .git, pyproject.toml, Cargo.toml, go.mod, pom.xml.
  2. Multiple General Indicators: If ≥2 general indicators (README, license, build files, etc.) exist in a directory, it is treated as a root.
  3. Existing ConPort Workspace: Presence of a context_portal/ directory indicates a valid workspace.
  4. MCP Environment Context: Honors environment variables like VSCODE_WORKSPACE_FOLDER or CONPORT_WORKSPACE when set and valid.
  5. Fallback: If no indicators are found, uses the starting directory verbosely (with a warning).

Tooling:

  • get_workspace_detection_info (MCP tool) exposes a diagnostic dictionary showing:
    • start_path
    • detected_workspace
    • detection_method (strong_indicators | multiple_indicators | existing_context_portal | fallback)
    • indicators_found
    • relevant environment variables

Best Practices:

  • Keep detection enabled unless you operate multi-root scenarios where explicit isolation per call is required.
  • If an IDE passes the literal string ${workspaceFolder}, ConPort will ignore it and auto-detect safely (logged at WARNING).
  • For debugging ambiguous roots (e.g., nested repos), run the detection info tool to confirm which directory was selected.

Example MCP launch (relying fully on auto-detect):

json
{
  "mcpServers": {
    "conport": {
      "command": "uvx",
      "args": [
        "--from", "context-portal-mcp",
        "conport-mcp",
        "--mode", "stdio",
        "--log-level", "INFO"
      ]
    }
  }
}

To disable detection explicitly (forcing provided IDs only):

json
{
  "mcpServers": {
    "conport": {
      "command": "uvx",
      "args": [
        "--from", "context-portal-mcp",
        "conport-mcp",
        "--mode", "stdio",
        "--no-auto-detect",
        "--workspace_id", "/absolute/path/to/project"
      ]
    }
  }
}

If you have a launcher that starts inside a deep subdirectory, provide a higher start path:

bash
conport-mcp --mode stdio --workspace-search-start ../../

See UNIVERSAL_WORKSPACE_DETECTION.md for full rationale, edge cases, and troubleshooting.

Available ConPort Tools

The ConPort server exposes the following tools via MCP, allowing interaction with the underlying project knowledge graph. This includes tools for semantic search powered by vector data storage. These tools facilitate the Retrieval aspect crucial for Augmented Generation (RAG) by AI agents. All tools require a workspace_id argument (string, required) to specify the target project workspace.

Note: For convenience, all integer-like parameters accept either numbers or digit-only strings (e.g., "10", " 3"). The server trims whitespace and coerces these to integers while preserving validation bounds (e.g., ge=1). Credit: @cipradu.

  • Product Context Management:
    • get_product_context: Retrieves the overall project goals, features, and architecture.
    • update_product_context: Updates the product context. Accepts full content (object) or patch_content (object) for partial updates (use __DELETE__ as a value in patch to remove a key).
  • Active Context Management:
    • get_active_context: Retrieves the current working focus, recent changes, and open issues.
    • update_active_context: Updates the active context. Accepts full content (object) or patch_content (object) for partial updates (use __DELETE__ as a value in patch to remove a key).
  • Decision Logging:
    • log_decision: Logs an architectural or implementation decision.
      • Args: summary (str, req), rationale (str, opt), implementation_details (str, opt), tags (list[str], opt).
    • get_decisions: Retrieves logged decisions.
      • Args: limit (int, opt), tags_filter_include_all (list[str], opt), tags_filter_include_any (list[str], opt).
    • search_decisions_fts: Full-text search across decision fields (summary, rationale, details, tags).
      • Args: query_term (str, req), limit (int, opt).
    • delete_decision_by_id: Deletes a decision by its ID.
      • Args: decision_id (int, req).
  • Progress Tracking:
    • log_progress: Logs a progress entry or task status.
      • Args: status (str, req), description (str, req), parent_id (int, opt), linked_item_type (str, opt), linked_item_id (str, opt).
    • get_progress: Retrieves progress entries.
      • Args: status_filter (str, opt), parent_id_filter (int, opt), limit (int, opt).
    • update_progress: Updates an existing progress entry.
      • Args: progress_id (int, req), status (str, opt), description (str, opt), parent_id (int, opt).
    • delete_progress_by_id: Deletes a progress entry by its ID.
      • Args: progress_id (int, req).
  • System Pattern Management:
    • log_system_pattern: Logs or updates a system/coding pattern.
      • Args: name (str, req), description (str, opt), tags (list[str], opt).
    • get_system_patterns: Retrieves system patterns.
      • Args: tags_filter_include_all (list[str], opt), tags_filter_include_any (list[str], opt).
    • delete_system_pattern_by_id: Deletes a system pattern by its ID.
      • Args: pattern_id (int, req).
  • Custom Data Management:
    • log_custom_data: Stores/updates a custom key-value entry under a category. Value is JSON-serializable.
      • Args: category (str, req), key (str, req), value (any, req).
    • get_custom_data: Retrieves custom data.
      • Args: category (str, opt), key (str, opt).
    • delete_custom_data: Deletes a specific custom data entry.
      • Args: category (str, req), key (str, req).
    • search_project_glossary_fts: Full-text search within the 'ProjectGlossary' custom data category.
      • Args: query_term (str, req), limit (int, opt).
    • search_custom_data_value_fts: Full-text search across all custom data values, categories, and keys.
      • Args: query_term (str, req), category_filter (str, opt), limit (int, opt).
  • Context Linking:
    • link_conport_items: Creates a relationship link between two ConPort items, explicitly building out the project knowledge graph.
      • Args: source_item_type (str, req), source_item_id (str, req), target_item_type (str, req), target_item_id (str, req), relationship_type (str, req), description (str, opt).
    • get_linked_items: Retrieves items linked to a specific item.
      • Args: item_type (str, req), item_id (str, req), relationship_type_filter (str, opt), linked_item_type_filter (str, opt), limit (int, opt).
  • History & Meta Tools:
    • get_item_history: Retrieves version history for Product or Active Context.
      • Args: item_type ("product_context" | "active_context", req), version (int, opt), before_timestamp (datetime, opt), after_timestamp (datetime, opt), limit (int, opt).
    • get_recent_activity_summary: Provides a summary of recent ConPort activity.
      • Args: hours_ago (int, opt), since_timestamp (datetime, opt), limit_per_type (int, opt, default: 5).
    • get_conport_schema: Retrieves the schema of available ConPort tools and their arguments.
  • Import/Export:
    • export_conport_to_markdown: Exports ConPort data to markdown files.
      • Args: output_path (str, opt, default: "./conport_export/").
    • import_markdown_to_conport: Imports data from markdown files into ConPort.
      • Args: input_path (str, opt, default: "./conport_export/").
  • Batch Operations:
    • batch_log_items: Logs multiple items of the same type (e.g., decisions, progress entries) in a single call.
      • Args: item_type (str, req - e.g., "decision", "progress_entry"), items (list[dict], req - list of Pydantic model dicts for the item type).

Further Reading

For a more in-depth understanding of ConPort's design, architecture, and advanced usage patterns, please refer to:

Contributing

Please see our CONTRIBUTING.md guide for details on how to contribute to the ConPort project.

License

This project is licensed under the Apache-2.0 license.

Acknowledgments

  • Special thanks to @cipradu for the valuable suggestion to implement integer-string coercion for numeric arguments, which improves the user experience when interacting with the MCP server from various clients.

Database Migration & Update Guide

For detailed instructions on how to manage your context.db file, especially when updating ConPort across versions that include database schema changes, please refer to the dedicated v0.2.4_UPDATE_GUIDE.md. This guide provides steps for manual data migration (export/import) if needed, and troubleshooting tips.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "conport": {
      "command": "uvx",
      "args": [
        "--from",
        "context-portal-mcp",
        "conport-mcp",
        "--mode",
        "stdio",
        "--workspace_id",
        "${workspaceFolder}",
        "--log-file",
        "./logs/conport.log",
        "--log-level",
        "INFO"
      ]
    }
  }
}

Dùng MCP Context Portal 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 Context Portal, 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 Context Portal 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 Context Portal.
  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": {
    "context-portal": {
      "command": "npx",
      "args": [
        "-y",
        "context-portal-mcp"
      ]
    }
  }
}
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 Context Portal, 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 Context Portal.
  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 Context Portal giúp tôi làm việc này không?
Context Portal
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Context Portal.

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

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

Context Portal 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 Context Portal 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 Context Portal 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 Context Portal 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 Context Portal, 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 Context Portal với TypingMind?

Context Portal 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 Context Portal cung cấp những công cụ nào trong TypingMind?

Context Portal 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 Context Portal 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 Context Portal 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 👇