Логотип Kollektiv Document Management

Kollektiv Document Management

Спільнота
alexander-zuev

Kollektiv MCP enables you to chat with and query your own documents directly from IDEs and MCP clients. Private, secure, and integrated into your favorite code editor

Видавецьalexander-zuev
Репозиторійkollektiv-mcp
МоваTypeScript
Форки
7
Зірки
61
Доступні інструменти
0
Тип транспортуstreamable-http
Категорії
ЛіцензіяApache-2.0
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

    Kollektiv Document Management надає можливості MCP, які можуть використовувати сумісні клієнтські ШІ-застосунки та агенти.

  • Доступні інструменти: 0

    Перегляньте нижче дії, які можна викликати, з назвами й описами, якщо сервер їх надає.

  • Готова конфігурація для копіювання

    Скористайтеся прикладами конфігурації, щоб налаштувати цей сервер у вибраному клієнті MCP.

  • Показники інтересу до відкритого коду

    Зірки: 61, форки: 7 — у пов’язаному репозиторії.

⚠️ DEPRECATED - Kollektiv MCP

🚨 IMPORTANT: This experimental MCP server is now DEPRECATED and will be shut down soon.

For updates, visit kollektiv.sh

Please do not use this server for new projects.


TypeScript Runtime Auth Supabase Build codecov License

🧠 Your personal LLM knowledgebase (DEPRECATED)

[Original Description - No longer maintained] Kollektiv MCP enables you to build personal LLM knowledge base in seconds and use it from your favorite editor / client. No more infrastructure setup, chunking, syncing - just upload your data and start chatting. Supports all major MCP clients out of the box - Cursor, Windsurf, Claude Desktop, etc.

⚠️ Deprecation Notice

This experimental MCP server is DEPRECATED and will be shut down soon. The service endpoints may stop working at any time without notice.

Do not use this for new projects or production use.


💿 Connection (DEPRECATED - MAY NOT WORK)

The simplest way to connect to Kollektiv MCP is to copy & paste the following configuration into your editor's mcp.json file. All clients (Cursor, Windsurf, Claude Desktop, VSCode, PyCharm) support this json format

json
{
  "mcpServers": {
    "kollektiv": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.thekollektiv.ai/mcp"
      ]
    }
  }
}
  • name:
    • kollektiv- you can you give the server any descriptive name
  • command:
    • npx - ensure you have node.js install before running this command
  • args:
    • -y - this enables your shell to install mcp-remote which is currently required to connect to remote servers
    • mcp-remote - this enables your client to connect to a remote MCP server (in this case Kollektiv)
    • https://mcp.thekollektiv.ai/mcp - is the endpoint you are connecting to

Check out a short demo below or read client-specific instructions on how to connect.

Connection Demo

Cursor

Open Cursor and go to Cursor Settings > MCP > Add new global MCP Server. Paste the configuration above and save (ctrl/cmd+s).

Cursor Configuration

If configuration is successful and you haven't authenticated before, a browser window should open guiding you to the login page.

💡After saving the json it might take a while for Cursor to connect to the MCP. You might need to restart Cursor or give it a bit of time. If you see 'Client is closed' or other errors, taking these troubleshooting steps might help.

If the connection is successful, you should see Kollektiv MCP go green in the settings page:

Successful Cursor connection

Windsurf

Open Windsurf and go to Settings -> Windsurf Settings > MCP Servers > View raw config. Paste the configuration above and save (ctrl/cmd+s).

Windsurf MCP configuration

If configuration is successful and you haven't authenticated before, a browser window should open guiding you to the login page.

💡Windsurf, in contrast to other clients, in my experience requires a restart of the app to properly connect. If the server doesn't go 'green' after a while, try going over the troubleshooting steps below.

If connection is successful you should see Kollektiv MCP go green in the settings page:

Successful Windsurf configuration

Claude for Desktop

Open Claude Desktop and go to Settings -> Developer > Edit config. Open json file in any text / code editor, paste the configuration above and save (ctrl/cmd+s).

Claude Desktop Configuration

If configuration is successful and you haven't authenticated before, a browser window should open guiding you to the login page.

💡Claude for Desktop requires a restart of the app to properly connect. If the server doesn't go 'green' after a while, try going over the troubleshooting steps below.

If connection is successful you should see Kollektiv MCP go green in the settings page:

Successful Claude For Desktop

VS Code

Open VS Code and go to Settings -> MCP: Add server > Command (stdio):

  • command:
    • npx -y mcp-remote https://mcp.thekollektiv.ai/mcp
  • name:
    • give your server a descriptive name such as kollektiv

Your configuration settings.json should look similar to this:

json
{
  "chat.mcp.discovery.enabled": true,
  "chat.mcp.enabled": true,
  "mcp": {
    "servers": {
      "kollektiv": {
        "type": "stdio",
        "command": "npx",
        "args": [
          "-y",
          "mcp-remote",
          "https://mcp.thekollektiv.ai/mcp"
        ]
      }
    }
  }
}

VS Code Configuration

Next steps:

  • Click Start to connect to the MCP Server
    • if you are not authenticated - you will be taken to the authentication page
  • Remember to add "chat.mcp.enabled": true, in your settings.json
  • Switch to Agent mode

💡VS Code requires you to manually start your server, add chat.mcp.enabled and switch to Agent mode to use MCP. If you do not see MCP tools in Agent mode, try going over the troubleshooting steps below.

If connection is successful you should see the tools exposed by Kollektiv MCP.

Successful VS Code Connection

Cline

Open Cline, click on MCP Servers > Edit Configuration and add the following configuration to your cline_mcp_settings.json:

json
{
  "mcpServers": {
    "kollektiv": {
      "timeout": 60,
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.thekollektiv.ai/mcp"
      ],
      "transportType": "stdio",
      "disabled": false
    }
  }
}

Note: direct connections to remote servers that support Authorization are not supported yet by Cline.

If connection is successful, you will be taken through to the authentication flow. After logging in, you should see Kollektiv MCP enabled in Cline.

Cline Configuration

Others (PyCharm, Claude Code)

Most MCP clients follow the same .json format and should work with similar configuration steps as previously mentioned clients:

  1. Copy & paste configuration into your client's json configuration
  2. Restart the app
  3. Authenticate if not already
  4. Kollektiv MCP should go green & be available in chat / agent mode

Success of your connection depends on many factors including but not limited to:

  • how strong developers of a particular client wanted to support MCP connections
  • whether the client supports the latest MCP spec with Oauth support

If you are experiencing issues, going through these simple troubleshooting steps might help.

Supported clients

I've validated connection works to the following MCP clients:

  • Cursor ✅
  • Windsurf ✅
  • Claude Desktop ✅
  • VS Code ✅
  • Cline ✅

Other MCP clients should be supported in theory, but in practice things might be a little different. If you have a client you really want to connect to - let me know!

🎮 Usage

Available Tools

  • /query_documents — Submit a question to the documents you’ve uploaded to Kollektiv and receive an answer based on the sources from your documents.
  • /list_documents — Return a list of your synced documents together with basic metadata.
  • Pro tip: Include the phrase “use Kollektiv MCP” so the client knows to call these tools.

Usage Tips

  • Always add "use Kollektiv MCP" — This tells the client which MCP server to use.
  • Wait for document to be Available — After upload, it takes 1–2 minutes before the document can be queried.
  • Rephrase queries when needed — If the client generates a poor query, edit or rewrite it yourself.

❓ Troubleshooting & Support

This MCP server uses Cloudflare Agents SDK as well as other libraries to provide the most modern way for users to connect to and use MCP servers. MCP clients on the other hand have yet to implement support for the 2 critical pieces:

  • remote MCP servers
  • MCP server authorization

In case you experience connection issues, please go through the following troubleshooting steps which should help you connect to the MCP server.

Support

If you require additional support please open a GitHub issue or reach out at support@thekollektiv.ai

Connection Troubleshooting

If you are getting Invalid Authorization Request error as below or can not connect for another reason, try going through the steps below which should fix the issue.

Authorization Error

  1. Ensure you're connecting to the correct endpoint:

    • Use https://mcp.thekollektiv.ai/mcp as the MCP endpoint.
  2. Clean mcp-remote cache:

    • What this does:
      • Removes cache of mcp-remote library that is used to connect to the remote server from a client that doesn't support remote connections
    • How:
      • Run the following command in your terminal
bash
# MacOS
rm -rf ~/.mcp-auth  

# Windows
Remove-Item -Recurse -Force "$env:USERPROFILE\.mcp-auth"
  1. Clear your browser data & cookies:
    • What this does:
      • Removes browser cookies which are used to store authentication information when logging into Kollektiv.
    • How:
      • Open your browser settings and delete browsing data for the last several hours

⚠️ Note: this will sign you out from all active sessions, including Kollektiv. Only do this if you're stuck in a broken login flow.

  1. Restart your MCP client and try to reconnect to the MCP server:
    • What this does:
      • MCP clients (Cursor, Windsurf, etc.) often cache connection / configuration settings from previous runs which might interfere with authentication.
    • How:
      • Restart your editor / client
      • Try reconnecting to the MCP server

Using MCP Inspector

For debugging purposes, you can use the MCP Inspector to connect to Kollektiv MCP server.

bash
npx @modelcontextprotocol/inspector

Select either SSE or Streamable HTTP transport

  • SSE: connect to the server at https://mcp.thekollektiv.ai/sse
  • Streamable HTTP: connect to the server at https://mcp.thekollektiv.ai/mcp

🛠️ Implementation Details (for the 🤓)

If you're just here for Kollektiv - skip this. This section is for devs and builders curious about how it works.

Kollektiv MCP is part of a modular system enabling users to set up RAG over their data in seconds — without the need to manage infrastructure, pipelines, or model configs.

It consists of three independently deployed services:

  • MCP Server (Cloudflare Worker)
    https://mcp.thekollektiv.ai
    Acts as a secure gateway for clients to interact with indexed data via the Model Context Protocol. Supports OAuth.

  • Frontend (React + Vite Worker)
    https://thekollektiv.ai
    A clean, minimal user interface for uploading and managing their content.

  • Backend (FastAPI)
    https://api.thekollektiv.ai
    Handles source ingestion, validation, and orchestration of a RAG pipeline.

🔐 Security

Kollektiv MCP implements several security measures:

  • Sign-in happens via the standard OAuth 2.1 “Authorization Code” flow powered by Supabase; only short-lived, HttpOnly, Secure cookies are stored—no passwords ever touch this server.

  • All traffic is served exclusively over HTTPS through Cloudflare’s edge, and every sensitive POST request carries a one-time CSRF/transaction token.

  • The backend runs inside the Cloudflare Workers sandbox (no local file-system, no long-running processes), drastically reducing the attack surface.

    For detailed disclosure guidelines see SECURITY.md.

🪪 License

Released under the Apache License 2.0 — commercial support or alternative licensing: azuev@outlook.com

Встановлення

TypingMind
{
  "mcpServers": {
    "kollektiv": {
      "url": "https://mcp.thekollektiv.ai/mcp"
    }
  }
}

Використовуйте MCP Kollektiv Document Management з різними моделями ШІ

TypingMind підключає інструменти MCP на рівні робочого простору, тож після підключення Kollektiv Document Management ви можете використовувати їх із різними моделями ШІ в TypingMind, а не налаштовувати окремо для кожної моделі. Ця інтеграція MCP підключається в TypingMind через URL віддаленого сервера MCP.

Додайте URL сервера MCP

Виберіть цей варіант, якщо Kollektiv Document Management уже розміщено віддалено або вашій команді потрібен один спільний конектор для кількох користувачів.

1

Відкрийте конектори MCP

У TypingMind перейдіть до розділу «Плагіни», відкрийте «Конектори MCP» і виберіть «Додати URL».

  1. Відкрийте TypingMind у браузері.
  2. Перейдіть до розділу «Плагіни».
  3. Відкрийте конектори MCP.
  4. Натисніть «Додати URL».
Форма «Додати URL власного сервера MCP» у TypingMind
2

Вставте URL сервера

Введіть https://mcp.thekollektiv.ai/mcp у поле «URL сервера». Додайте назву підключення, опис, значок, власні HTTP-заголовки або налаштування клієнта OAuth, якщо сервер їх потребує.

  1. Вставте https://mcp.thekollektiv.ai/mcp у поле «URL сервера».
  2. Введіть назву підключення для Kollektiv Document Management.
  3. Додайте опис і значок, щоб було легше впізнати підключення.
  4. Додайте власні HTTP-заголовки або дані клієнта OAuth, якщо сервер потребує автентифікації.
3

Створіть підключення

Натисніть «Створити підключення», потім поверніться до списку плагінів і переконайтеся, що нове підключення MCP активне.

  1. Натисніть «Створити підключення».
  2. Поверніться до списку конекторів MCP.
  3. Переконайтеся, що підключення Kollektiv Document Management відображається як активне.
  4. Оновіть список плагінів, якщо підключення не з’явилося одразу.
4

Перемикайте моделі без повторного підключення

Почніть чат із бажаною моделлю, увімкніть інструменти Kollektiv Document Management у розділі «Плагіни» й за потреби перемикайтеся на іншу модель. Підключення MCP залишається доступним у робочому просторі TypingMind.

  1. Почніть новий чат у TypingMind.
  2. Виберіть модель ШІ, яку хочете використовувати.
  3. Увімкніть інструменти Kollektiv Document Management у розділі «Плагіни».
  4. За потреби попросіть модель скористатися інструментом.
  5. Перемкніться на іншу модель ШІ й використовуйте те саме підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через Kollektiv Document Management?
Kollektiv Document Management
Звісно. Я це прочитав.
Ось що я знайшов за допомогою Kollektiv Document Management.

Поширені запитання

Для чого використовується сервер MCP Kollektiv Document Management?

Kollektiv Document Management — це сервер MCP, який дає змогу сумісним клієнтам ШІ підключатися до зовнішніх інструментів і контексту. У TypingMind ви можете додати цей сервер MCP один раз і зробити його інструменти доступними у своєму робочому просторі ШІ.

Чи можу я використовувати MCP Kollektiv Document Management з кількома моделями ШІ в TypingMind?

Так. TypingMind підключає інструменти MCP на рівні робочого простору, тому ви можете використовувати Kollektiv Document Management з різними моделями ШІ, як-от Claude, ChatGPT, Gemini або іншими моделями, які ви налаштували в TypingMind, без окремого налаштування сервера MCP для кожної моделі.

Навіщо використовувати MCP Kollektiv Document Management із TypingMind?

TypingMind — один із найкращих інтерфейсів для чату з великими мовними моделями, адже він об’єднує різні моделі ШІ, промпти, плагіни, агентів ШІ, ключі API та інструменти MCP в одному робочому просторі. Підключивши Kollektiv Document Management, ви зможете використовувати його інструменти MCP з вибраними моделями та впорядковано працювати з чатами в TypingMind.

Як підключити MCP Kollektiv Document Management до TypingMind?

Kollektiv Document Management можна підключити в TypingMind, додавши URL його віддаленого сервера MCP. Це зручно, якщо вам потрібне віддалене підключення MCP, доступне з вашого робочого простору TypingMind.

Які інструменти надає MCP Kollektiv Document Management у TypingMind?

Kollektiv Document Management надає можливості MCP, які можна ввімкнути на сторінці «Плагіни» в TypingMind і використовувати в чаті або призначати агентам ШІ.

Чи потрібно передавати свої ключі API в TypingMind, щоб використовувати MCP Kollektiv Document Management?

Ні. TypingMind орієнтований насамперед на локальну роботу й дає змогу зберігати контроль над постачальниками моделей, ключами API, промптами та конфігурацією MCP. Якщо Kollektiv Document Management потребує автентифікації, під час створення підключення додайте потрібні заголовки, налаштування OAuth або локальну конфігурацію для цього сервера MCP.

Схожі сервери MCP

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇