opensearch-mcp-server-py 标志

opensearch-mcp-server-py

组织
opensearch-project

opensearch-mcp-server-py is a Model Context Protocol (MCP) server for OpenSearch that enables AI assistants to interact with OpenSearch clusters. It provides a standardized interface for AI models to perform operations like searching indices, retrieving mappings, and managing shards through both stdio and streaming (SSE/Streamable HTTP) protocols.

发布者opensearch-project
代码仓库opensearch-mcp-server-py
语言Python
复刻数
108
星标数
153
可用工具
0
传输类型stdio
分类
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    opensearch-mcp-server-py 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

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

  • 可直接复制的配置

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

  • 开源社区热度

    关联的代码仓库有 153 个星标和 108 个复刻。

OpenSearch logo

OpenSearch MCP Server

opensearch-mcp-server-py is a Model Context Protocol (MCP) server for OpenSearch that enables AI assistants to interact with OpenSearch clusters. It provides a standardized interface for AI models to perform operations like searching indices, retrieving mappings, and managing shards through both stdio and streaming (SSE/Streamable HTTP) protocols.

Key features:

  • Seamless integration with AI assistants and LLMs through the MCP protocol
  • Support for both stdio and streaming server transports (SSE and Streamable HTTP)
  • Built-in tools for common OpenSearch operations
  • Dynamic per-call connection parameters for targeting different clusters without server reconfiguration
  • Easy integration with Claude Desktop and LangChain
  • Secure authentication using basic auth, IAM roles, header-based auth, and OpenSearch mTLS

For detailed setup, including Kubernetes deployment and mTLS configuration, see the User Guide.

Installing opensearch-mcp-server-py

Opensearch-mcp-server-py can be installed from PyPI via pip:

pip install opensearch-mcp-server-py

Zero-Config Setup

The server can be started with no environment variables at all. Agents provide connection details dynamically on each tool call:

json
{
  "mcpServers": {
    "opensearch": {
      "command": "uvx",
      "args": ["opensearch-mcp-server-py"]
    }
  }
}

With this setup, agents pass opensearch_url and authentication parameters directly when calling any tool. This is useful when agents discover endpoints from a knowledge base, runbook, or SOP, or when a single agent needs to work with multiple clusters in one session. See Dynamic Connection Parameters for details.

Available Tools

By default, only core tools are enabled to provide essential OpenSearch functionality:

Core Tools (Enabled by Default)

Core tools are grouped under the core_tools category and can be disabled at once using OPENSEARCH_DISABLED_CATEGORIES=core_tools. Avoid creating custom categories with this name as they will override the built-in category.

  • ListIndexTool: Lists all indices in OpenSearch with full information including docs.count, docs.deleted, store.size, etc. If an index parameter is provided, returns detailed information about that specific index.
  • IndexMappingTool: Retrieves index mapping and setting information for an index in OpenSearch.
  • SearchIndexTool: Searches an index using a query written in query domain-specific language (DSL) in OpenSearch.
  • GetShardsTool: Gets information about shards in OpenSearch.
  • ClusterHealthTool: Returns basic information about the health of the cluster.
  • CountTool: Returns number of documents matching a query.
  • ExplainTool: Returns information about why a specific document matches (or doesn't match) a query.
  • MsearchTool: Allows to execute several search operations in one request.
  • [GenericOpenSearchApiTool]: A flexible tool that can call any OpenSearch API endpoint with custom paths, methods, query parameters, and request bodies. Reduces tool explosion by providing a single interface for all OpenSearch APIs.

Additional Tools (Disabled by Default)

The following tools are available but disabled by default. To enable them, see the Tool Filter section in the User Guide.

  • GetClusterStateTool: Gets the current state of the cluster including node information, index settings, and more.
  • GetSegmentsTool: Gets information about Lucene segments in indices, including memory usage, document counts, and segment sizes.
  • CatNodesTool: Gets information about nodes in the OpenSearch cluster, including system metrics like CPU usage, memory, disk space, and node roles.
  • GetNodesTool: Gets detailed information about nodes in the OpenSearch cluster, including static information like host system details, JVM info, processor type, node settings, thread pools, installed plugins, and more.
  • GetIndexInfoTool: Gets detailed information about an index including mappings, settings, and aliases. Supports wildcards in index names.
  • GetIndexStatsTool: Gets statistics about an index including document count, store size, indexing and search performance metrics.
  • GetQueryInsightsTool: Gets query insights from the /_insights/top_queries endpoint, showing information about query patterns and performance.
  • GetNodesHotThreadsTool: Gets information about hot threads in the cluster nodes from the /_nodes/hot_threads endpoint.
  • GetAllocationTool: Gets information about shard allocation across nodes in the cluster from the /_cat/allocation endpoint.
  • GetLongRunningTasksTool: Gets information about long-running tasks in the cluster, sorted by running time in descending order.

Agentic Memory Tools (Disabled by Default)

The following tools expose the OpenSearch Agentic Memory API — a server-side memory system built into OpenSearch itself. The OpenSearch cluster manages memory containers, sessions, and inference (LLM-based extraction of facts from conversations). These tools require OpenSearch 3.3.0 or later.

When to use: You want OpenSearch to own the full memory lifecycle — including LLM-based inference to extract facts from raw conversations, structured memory types (sessions, working, long-term, history), and server-managed namespacing. Best for production agentic pipelines where memory management should be centralized and not depend on the MCP client.

Setup: You must create a memory container in OpenSearch before using these tools (one-time admin operation requiring LLM connector and embedding model configuration). See Agentic Memory Tools in the Agent Memory Guide.

Enable with OPENSEARCH_ENABLED_CATEGORIES=agentic_memory. When memory_container_id is configured via the agentic_memory config section or OPENSEARCH_MEMORY_CONTAINER_ID environment variable, it is automatically pre-filled in all tool calls.

Observability Tools (Disabled by Default)

Observability tools are grouped under the observability category and can be enabled using OPENSEARCH_ENABLED_CATEGORIES=observability or by adding enabled_categories: [observability] to the config file. Alternatively, enable the analytics category to get both observability and skills tools at once.

  • PPLQueryTool: Executes a PPL (Piped Processing Language) query against OpenSearch. PPL provides a pipe-based syntax for querying data (source=<index> | <command> | <command>), supporting filtering, aggregation, sorting, deduplication, and field selection. Supports jdbc, csv, and raw output formats.

Search Relevance Workbench Tools (Disabled by Default)

Search Relevance Workbench tools are grouped under the search_relevance category and can be enabled at once using OPENSEARCH_ENABLED_CATEGORIES=search_relevance or by adding enabled_categories: [search_relevance] or explicitly adding individual tools to their config file. See the Tool Filter section in the User Guide for additional information about how to filter tools.

Skills Tools (Disabled by Default)

Skills tools are grouped under the skills category and can be enabled at once using OPENSEARCH_ENABLED_CATEGORIES=skills or by adding enabled_categories: [skills] to the config file. Alternatively, enable the analytics category to get both skills and observability tools at once. See the Tool Filter section in the User Guide for additional information about how to filter tools.

  • DataDistributionTool: Analyzes data distribution patterns and field value frequencies within OpenSearch indices. Supports both single dataset analysis and comparative analysis between two time periods to identify distribution changes.
  • LogPatternAnalysisTool: Detects anomalous log patterns and sequences through comparative analysis between baseline and selection time ranges. Supports log sequence analysis with trace correlation, log pattern difference analysis, and log insights analysis for error detection.
  • MetricChangeAnalysisTool: Compares percentile distributions (P50, P90) of all numeric fields between a baseline and a selection time range, then returns the top fields ranked by change score. Useful for identifying which numeric metrics shifted most during an anomaly window.

Memory Tools (Opt-in)

Memory tools give the MCP agent itself persistent, cross-session memory backed by OpenSearch. The agent decides what to save as plain-text statements; OpenSearch stores and semantically indexes them. Enable with MEMORY_TOOLS_ENABLED=true. See the Agent Memory Guide for full setup instructions.

When to use: You want a lightweight, agent-driven memory layer that works with any MCP-compatible IDE (Kiro, Claude Code, Cursor). The agent controls what gets remembered — no LLM connectors or embedding models to configure on the OpenSearch side. Requires Amazon OpenSearch Service (managed domain 2.19+ or Serverless) for automatic semantic enrichment. See the Agent Memory Guide for full setup instructions.

  • SaveMemoryTool: Saves facts, decisions, and preferences to persistent storage with automatic semantic enrichment.
  • SearchMemoryTool: Searches memories using natural language with recency-aware ranking.
  • DeleteMemoryTool: Removes outdated or incorrect memories by document ID.

Tool Parameters

All tools accept the following optional connection parameters that override the server's environment variable configuration on a per-call basis. When all are omitted, the server uses its configured environment variables or cluster config as usual. When you supply opensearch_url, the credentials must come from that same call: the server will not use its own credentials against a URL a caller chose, unless the operator sets OPENSEARCH_ALLOW_AMBIENT_AWS_FALLBACK=true to share its AWS credentials.

ParameterTypeDescription
opensearch_urlstringOpenSearch endpoint URL. Overrides OPENSEARCH_URL.
opensearch_usernamestringUsername for basic auth. Overrides OPENSEARCH_USERNAME.
opensearch_passwordstringPassword for basic auth. Overrides OPENSEARCH_PASSWORD.
opensearch_no_authbooleanConnect without authentication. Overrides OPENSEARCH_NO_AUTH.
aws_regionstringAWS region. Overrides AWS_REGION.
aws_iam_arnstringIAM role ARN. Overrides AWS_IAM_ARN.
aws_profilestringAWS profile name. Overrides AWS_PROFILE.
aws_opensearch_serverlessbooleanUse OpenSearch Serverless. Overrides AWS_OPENSEARCH_SERVERLESS.
opensearch_ssl_verifybooleanSet true to require SSL certificate verification. A false value is ignored, since only OPENSEARCH_SSL_VERIFY may disable it.
opensearch_timeoutintegerConnection timeout in seconds. Overrides OPENSEARCH_TIMEOUT.

This allows agents to dynamically target different clusters per tool call without reconfiguring the server (single mode only). Credentials must come from the same call as the URL, unless OPENSEARCH_ALLOW_AMBIENT_AWS_FALLBACK=true lets the server sign caller-supplied URLs with its own AWS credentials. OPENSEARCH_SSRF_GUARD=true restricts caller-supplied URLs to public HTTPS addresses. See Dynamic Connection Parameters in the User Guide for details and examples.

In addition to the common connection parameters above, each tool accepts its own specific parameters:

Note: The opensearch_url parameter listed under individual tools below is part of the common connection parameters described above. All common connection parameters (opensearch_username, opensearch_password, aws_region, etc.) are available on every tool but are not repeated in each tool's parameter list for brevity.

  • ListIndexTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (optional): The name of the index to get detailed information for. If provided, returns detailed information about this specific index instead of listing all indices.
  • IndexMappingTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (required): The name of the index to retrieve mappings for
  • SearchIndexTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (required): The name of the index to search in
    • query_dsl (required): The search query in OpenSearch Query DSL format
    • format (optional): The format of SearchIndexTool response. options are csv and json
    • size (optional): The size of SearchIndexTool response. Default is 10, maximum is 100 (configurable). To change the maximum limit, set max_size_limit via CLI arguments or config file. See Tool Customization for details.
  • GetShardsTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (required): The name of the index to get shard information for
  • ClusterHealthTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (optional): Limit health reporting to a specific index
  • CountTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (optional): The name of the index to count documents in
    • body (optional): Query in JSON format to filter documents
  • ExplainTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (required): The name of the index to retrieve the document from
    • id (required): The document ID to explain
    • body (required): Query in JSON format to explain against the document
  • MsearchTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (optional): Default index to search in
    • body (required): Multi-search request body in NDJSON format
  • GetClusterStateTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • metric (optional): Limit the information returned to the specified metrics. Options include: _all, blocks, metadata, nodes, routing_table, routing_nodes, master_node, version
    • index (optional): Limit the information returned to the specified indices
  • GetSegmentsTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (optional): Limit the information returned to the specified indices. If not provided, returns segments for all indices
  • CatNodesTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • metrics (optional): A comma-separated list of metrics to display. Available metrics include: id, name, ip, port, role, master, heap.percent, ram.percent, cpu, load_1m, load_5m, load_15m, disk.total, disk.used, disk.avail, disk.used_percent
  • GetNodesTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • node_id (optional): A comma-separated list of node IDs or names to limit the returned information. Supports node filters like _local, _master, master:true, data:false, etc. Defaults to _all.
    • metric (optional): A comma-separated list of metric groups to include in the response. Options include: settings, os, process, jvm, thread_pool, transport, http, plugins, ingest, aggregations, indices. Defaults to all metrics.
  • GetIndexInfoTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (required): The name of the index to get detailed information for. Wildcards are supported.
  • GetIndexStatsTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • index (required): The name of the index to get statistics for. Wildcards are supported.
    • metric (optional): Limit the information returned to the specified metrics. Options include: _all, completion, docs, fielddata, flush, get, indexing, merge, query_cache, refresh, request_cache, search, segments, store, warmer, bulk
  • GetQueryInsightsTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
  • GetNodesHotThreadsTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
  • GetAllocationTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
  • GetLongRunningTasksTool

    • opensearch_url (optional): The OpenSearch cluster URL to connect to
    • limit (optional): The maximum number of tasks to return. Default is 10.
  • CreateAgenticMemorySessionTool

    • memory_container_id (auto-populated): The ID of the memory container where the session will be created. Automatically set when configured via agentic_memory config or OPENSEARCH_MEMORY_CONTAINER_ID env var. (Path Parameter)
    • session_id (optional): A custom session ID. If not provided, a random ID is generated. (Body Parameter)
    • summary (optional): A session summary or description. (Body Parameter)
    • metadata (optional): Additional metadata for the session provided as key-value pairs. (Body Parameter)
    • namespace (optional): Namespace information for organizing the session. (Body Parameter)
  • AddAgenticMemoriesTool

    • memory_container_id (auto-populated): The ID of the memory container to add the memory to. Automatically set when configured. (Path Parameter)
    • messages (conditional): A list of messages. Required when payload_type is conversational. (Body Parameter)
    • structured_data (conditional): Structured data content. Required when payload_type is data. (Body Parameter)
    • binary_data (optional): Binary data content encoded as a Base64 string for binary payloads. (Body Parameter)
    • payload_type (required): The type of payload. Valid values are conversational or data. See Payload types. (Body Parameter)
    • namespace (optional): The namespace context for organizing memories (for example, user_id, session_id, or agent_id). If session_id is not specified in the namespace field and disable_session: false (default is true), a new session with a new session ID is created. (Body Parameter)
    • metadata (optional): Additional metadata for the memory (for example, status, branch, or custom fields). (Body Parameter)
    • tags (optional): Tags for categorizing memories. (Body Parameter)
    • infer (optional): Whether to use an LLM to extract key information (default: false). When true, the LLM extracts key information from the original text and stores it as a memory. See Inference mode. (Body Parameter)
  • GetAgenticMemoryTool

    • memory_container_id (auto-populated): The ID of the memory container from which to retrieve the memory. Automatically set when configured. (Path Parameter)
    • type (required): The memory type. Valid values are sessions, working, long-term, and history. (Path Parameter)
    • id (required): The ID of the memory to retrieve. (Path Parameter)
  • SearchAgenticMemoryTool

    • memory_container_id (auto-populated): The ID of the memory container. Automatically set when configured. (Path Parameter)
    • type (required): The memory type. Valid values are sessions, working, long-term, and history. (Path Parameter)
    • query (required): The search query using OpenSearch query DSL. (Body Parameter)
    • sort (optional): Sort specification for the search results. (Body Parameter)
  • UpdateAgenticMemoryTool

    • memory_container_id (auto-populated): The ID of the memory container. Automatically set when configured. (Path Parameter)
    • type (required): The memory type (sessions, working, or long-term).(Path Parameter)
    • id (required): The ID of the memory to update.(Path Parameter)
    • Session memory request fields:
      • summary (optional): The summary of the session. (Body Parameter)
      • metadata (optional): Additional metadata for the memory (for example, status, branch, or custom fields). (Body Parameter)
      • agents (optional): Additional information about the agents. (Body Parameter)
      • additional_info (optional): Additional metadata to associate with the session. (Body Parameter)
    • Working memory request fields
      • messages (optional): Updated conversation messages (for conversation type). (Body Parameter)
      • structured_data (optional): Updated structured data content (for data memory payloads). (Body Parameter)
      • binary_data (optional): Updated binary data content (for data memory payloads). (Body Parameter)
      • tags (optional): Updated tags for categorization. (Body Parameter)
      • metadata (optional): Additional metadata for the memory (for example, status, branch, or custom fields). (Body Parameter)
    • Long-term memory request fields
      • memory (optional): The updated memory content. (Body Parameter)
      • tags (optional): Updated tags for categorization. (Body Parameter)
  • DeleteAgenticMemoryByIDTool

    • memory_container_id (auto-populated): The ID of the memory container from which to delete the memory. Automatically set when configured. (Path Parameter)
    • type (required): The type of memory to delete. Valid values are sessions, working, long-term, and history. (Path Parameter)
    • id (required): The ID of the specific memory to delete. (Path Parameter)
  • DeleteAgenticMemoryByQueryTool

    • memory_container_id (auto-populated): The ID of the memory container from which to delete the memory. Automatically set when configured. (Path Parameter)
    • type (required): The type of memory to delete. Valid values are sessions, working, long-term, and history. (Path Parameter)
    • query (required): The OpenSearch DSL query to match memories for deletion. (Body Parameter)
  • DataDistributionTool

    • index (required): Target OpenSearch index name.
    • selectionTimeRangeStart (required): Start time for analysis target period.
    • selectionTimeRangeEnd (required): End time for analysis target period.
    • timeField (required): Date/time field for filtering.
    • baselineTimeRangeStart (optional): Start time for baseline period.
    • baselineTimeRangeEnd (optional): End time for baseline period.
    • size (optional): Maximum number of documents to analyze. Default is 1000.
  • LogPatternAnalysisTool

    • index (required): Target OpenSearch index name containing log data.
    • logFieldName (required): Field containing raw log messages to analyze.
    • selectionTimeRangeStart (required): Start time for analysis target period.
    • selectionTimeRangeEnd (required): End time for analysis target period.
    • timeField (required): Date/time field for time-based filtering.
    • traceFieldName (optional): Field for trace/correlation ID.
    • baseTimeRangeStart (optional): Start time for baseline comparison period.
    • baseTimeRangeEnd (optional): End time for baseline comparison period.
  • MetricChangeAnalysisTool

    • index (required): Target OpenSearch index name.
    • selectionTimeRangeStart (required): Start of the selection (anomaly) period.
    • selectionTimeRangeEnd (required): End of the selection (anomaly) period.
    • baselineTimeRangeStart (required): Start of the baseline period.
    • baselineTimeRangeEnd (required): End of the baseline period (should be at or before selectionTimeRangeStart).
    • timeField (required): Date/time field for filtering.
    • topN (optional): Number of top fields to return, ranked by change score. Default is 10.
    • size (optional): Maximum number of documents to analyze. Default is 1000.

More tools coming soon. Click here

User Guide

For detailed usage instructions, configuration options, and examples, please see the User Guide.

Agent Memory

The OpenSearch MCP server includes two distinct memory systems. Both use OpenSearch as the storage backend but differ in who controls the memory lifecycle and what infrastructure they require.

Choosing the right approach

Memory Tools (MEMORY_TOOLS_ENABLED)Agentic Memory Tools (agentic_memory category)
Who stores memoriesThe MCP agent decides what to save as plain-text statementsOpenSearch processes raw conversations and extracts facts via LLM inference
Setup complexityLow — index is auto-created on first useHigh — requires creating a memory container with LLM connector and embedding model
OpenSearch versionAmazon OpenSearch Service 2.19+ or ServerlessOpenSearch 3.3.0+
Semantic searchYes, via AWS automatic semantic enrichmentYes, via configured embedding model
Memory structureFlat — each memory is a plain-text statementStructured — sessions, working, long-term, and history types
LLM inferenceNo — agent writes exactly what it wants to rememberOptional (infer: true) — OpenSearch uses an LLM to extract facts from conversations
Best forIDE agents (Kiro, Claude Code, Cursor) that need quick setup and cross-session continuityProduction agentic pipelines where memory management should be centralized and server-owned

Use Memory Tools when you want a lightweight, agent-driven memory layer that works out of the box with any MCP-compatible IDE. The agent controls what gets remembered. See the Agent Memory Guide for setup.

Use Agentic Memory Tools when you want OpenSearch to own the full memory lifecycle — including LLM-based extraction of facts from raw conversations, structured memory types, and server-managed namespacing. See the Agent Memory Guide for setup.

Contributing

Interested in contributing? Check out our:

Code of Conduct

This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ, or contact opensource-codeofconduct@amazon.com with any additional questions or comments.

License

This project is licensed under the Apache v2.0 License.

Copyright

Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.

将 opensearch-mcp-server-py MCP 与多个 AI 模型配合使用

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

本地连接器设置指南

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

1

打开 MCP 设置

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

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

运行连接器命令

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

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

将 opensearch-mcp-server-py 添加为服务器

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

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

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

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

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

常见问题

opensearch-mcp-server-py MCP 服务器有什么用途?

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

可以在 TypingMind 中让多个 AI 模型使用 opensearch-mcp-server-py MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 opensearch-mcp-server-py。

为什么在 TypingMind 中使用 opensearch-mcp-server-py MCP?

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

如何将 opensearch-mcp-server-py MCP 连接到 TypingMind?

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

opensearch-mcp-server-py MCP 在 TypingMind 中提供哪些工具?

opensearch-mcp-server-py 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 opensearch-mcp-server-py MCP 需要向 TypingMind 提供我的 API 密钥吗?

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

相关 MCP 服务器

查看全部

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

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