PI

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

72 stars 22 forks Качество 86 Тренд 34Apache-2.0

pinecone-io/pinecone-mcp - кандидат на сервер MCP, импортированный из https://github.com/pinecone-io/pinecone-mcp.

Обзор

pinecone-io/pinecone-mcp - кандидат на сервер MCP, импортированный из https://github.com/pinecone-io/pinecone-mcp.

Обзор (машинный перевод)

Model Context Protocol (MCP) - это стандарт, который позволяет помощникам по кодированию и другим инструментам ИИ взаимодействовать с такими платформами, как Pinecone. Pinecone Developer MCP Server позволяет подключать эти инструменты к проектам и документации Pinecone.

После подключения инструменты ИИ могут: Поиск документации Pinecone для точного ответа на вопросы.

  • Помогите настроить индексы в зависимости от потребностей вашего приложения. Создавайте код, основанный на вашей конфигурации индекса и данных, а также документации Pinecone и примерах.
  • Вставки и поиск данных в индексах, позволяющие тестировать запросы и оценивать результаты в среде разработки.

Смотрите документы для более подробной информации.

Этот MCP-сервер ориентирован на улучшение опыта разработчиков, работающих с Pinecone. Предназначен для использования с помощниками кодирования. Pinecone также предлагает помощник MCP, который предназначен для предоставления помощникам ИИ соответствующего контекста, полученного из вашей базы знаний.

Настройка

Чтобы настроить сервер MCP для доступа к вашему проекту Pinecone, вам нужно будет сгенерировать ключ API с помощью консоли. Без ключа API ваш инструмент ИИ все равно сможет искать документацию.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Pinecone Developer MCP Server

The Model Context Protocol (MCP) is a standard that allows coding assistants and other AI tools to interact with platforms like Pinecone. The Pinecone Developer MCP Server allows you to connect these tools with Pinecone projects and documentation.

Once connected, AI tools can:

  • Search Pinecone documentation to answer questions accurately.
  • Help you configure indexes based on your application’s needs.
  • Generate code informed by your index configuration and data, as well as Pinecone documentation and examples.
  • Upsert and search for data in indexes, allowing you to test queries and evaluate results within your dev environment.

See the docs for more detailed information.

This MCP server is focused on improving the experience of developers working with Pinecone as part of their technology stack. It is intended for use with coding assistants. Pinecone also offers the Assistant MCP, which is designed to provide AI assistants with relevant context sourced from your knowledge base.

Setup

To configure the MCP server to access your Pinecone project, you will need to generate an API key using the console. Without an API key, your AI tool will still be able to search documentation. However, it will not be able to manage or query your indexes.

The MCP server requires Node.js v22 or later. Ensure that node and npx are available in your PATH.

Next, you will need to configure your AI assistant to use the MCP server.

Configure Cursor

To add the Pinecone MCP server to a project, create a .cursor/mcp.json file in the project root (if it doesn’t already exist) and add the following configuration:

{
  "mcpServers": {
    "pinecone": {
      "command": "npx",
      "args": [
        "-y", "@pinecone-database/mcp"
      ],
      "env": {
        "PINECONE_API_KEY": ""
      }
    }
  }
}

You can check the status of the server in Cursor Settings > MCP.

To enable the server globally, add the configuration to the .cursor/mcp.json in your home directory instead.

It is recommended to use rules to instruct Cursor on proper usage of the MCP server. Check out the docs for some suggestions.

Configure Claude desktop

Открыть полный README на GitHub

Установка

npx -y @pinecone-database/mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "pinecone": { "command": "npx", "args": [ "-y", "@pinecone-database/mcp" ], "env": { "PINECONE_API_KEY": "<your pinecone api key>" } } } }