Логотип Capacities MCP Plus

Capacities MCP Plus

Спільнота
jem-computer

Capacities×MCP

Видавецьjem-computer
Репозиторійcapacities-mcp
МоваJavaScript
Форки
15
Зірки
41
Доступні інструменти
6
Тип транспортуstdio
Категорії
ЛіцензіяMIT
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

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

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

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

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

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

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

    У пов’язаному репозиторії: зірки — 41, форки — 15.

Capacities MCP Plus

An enhanced MCP (Model Context Protocol) server for Capacities, providing seamless integration with your knowledge management system.

Note: This is a fork of jemgold/capacities-mcp with additional features and fixes.

What's Different from the Original

FeatureOriginalPlus
Read Object ContentNot availableRetrieve full note content by object ID
fastmcp Version1.27.33.25.4 (fixes MCP SDK compatibility)
Windows SupportMay have issuesTested with cmd wrapper
npm Packagecapacities-mcpcapacities-mcp-plus

New Tool: capacities_read_object_content

Retrieve the full content of any Capacities object by its ID:

  • Tries undocumented API endpoints first for direct retrieval
  • Falls back to search API aggregation when direct access unavailable
  • Provides title parameter to improve search accuracy

Features

This MCP server provides access to all current Capacities API endpoints:

  • List Spaces - Get all your personal spaces
  • Space Information - Retrieve detailed space structures and collections
  • Search Content - Search across spaces with advanced filtering
  • Read Object Content - Retrieve full note content by object ID
  • Save Weblinks - Save URLs to your spaces with metadata
  • Daily Notes - Add content to your daily notes

Installation

For Claude Desktop (macOS)

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

json
{
  "mcpServers": {
    "capacities": {
      "command": "npx",
      "args": ["-y", "capacities-mcp-plus"],
      "env": {
        "CAPACITIES_API_KEY": "your_capacities_api_key_here"
      }
    }
  }
}

For Claude Desktop (Windows)

Windows requires a cmd wrapper. Add to %APPDATA%\Claude\claude_desktop_config.json:

json
{
  "mcpServers": {
    "capacities": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "capacities-mcp-plus"],
      "env": {
        "CAPACITIES_API_KEY": "your_capacities_api_key_here"
      }
    }
  }
}

Get your Capacities API key from your Capacities account settings.

That's it! The server will be automatically downloaded and run when Claude Desktop starts.

Development

Local Setup

For local development, you'll need to clone and build the project:

  1. Clone this repository:
bash
git clone https://github.com/Im-Hal-9K/capacities-mcp.git
cd capacities-mcp
  1. Install dependencies:
bash
npm install
# or
bun install
  1. Copy the example environment file:
bash
cp .env.example .env
  1. Add your Capacities API key to .env:
CAPACITIES_API_KEY=your_api_key_here
  1. Build the server:
bash
npm run build

Running the Server

Start the development server with interactive mode:

bash
bun run dev

For production use:

bash
npm run start

To inspect the server tools and schema:

bash
bun run inspect

Testing

Run the test suite:

bash
bun run test

Code Quality

Check linting and types:

bash
bun run lint

Format code:

bash
bun run format

API Reference

Get your Capacities API key from your Capacities account settings.

For detailed API documentation, see:

Available Tools

capacities_list_spaces

Get a list of all your personal spaces.

capacities_get_space_info

Get detailed information about a specific space, including structures and collections.

  • spaceId: UUID of the space

capacities_search

Search for content across your spaces with optional filtering.

  • searchTerm: Text to search for
  • spaceIds: Array of space UUIDs to search in
  • mode (optional): "fullText" or "title" search mode
  • filterStructureIds (optional): Filter by specific structure types

capacities_read_object_content

Retrieve the full content of a Capacities object by its ID.

  • objectId: UUID of the object to retrieve (can be obtained from 'Copy object reference' in Capacities)
  • spaceId: UUID of the space containing the object
  • title (optional): The title or partial title of the object - strongly recommended to improve search results
  • How it works:
    1. First attempts to use undocumented GET endpoints for direct object retrieval
    2. Falls back to search API, aggregating content from highlights and snippets
    3. Filters search results by object ID to find exact match
  • Note: When using search fallback, content may be incomplete as it's assembled from search snippets. Providing the title parameter significantly improves results.

capacities_save_weblink

Save a web link to a space with optional metadata.

  • spaceId: UUID of the target space
  • url: The URL to save
  • titleOverwrite (optional): Custom title for the link
  • descriptionOverwrite (optional): Description text
  • tags (optional): Array of tags. Tags need to exactly match your tag names in Capacities, otherwise they will be created.
  • mdText (optional): Text formatted as markdown that will be added to the notes section

capacities_save_to_daily_note

Add markdown content to today's daily note in a space.

  • spaceId: UUID of the target space
  • mdText: Markdown content to add
  • origin (optional): Origin label for the content (only "commandPalette" is supported)
  • noTimestamp (optional): If true, no timestamp will be added to the note

Rate Limits

The Capacities API has the following rate limits:

  • /spaces: 5 requests per 60 seconds
  • /space-info: 5 requests per 60 seconds
  • /search: 120 requests per 60 seconds
  • /save-weblink: 10 requests per 60 seconds
  • /save-to-daily-note: 5 requests per 60 seconds

Example Prompts

Here are some example prompts you can use with Claude when this MCP server is configured:

Getting Started

"Show me all my Capacities spaces"
"What spaces do I have in Capacities?"

Exploring Your Knowledge Base

"Get detailed information about my main workspace in Capacities"
"What structures and collections are in my [space name] space?"

Searching Content

"Search for 'project management' across all my Capacities spaces"
"Find all notes mentioning 'machine learning' in my research space"
"Search for 'meeting notes' but only check titles, not full content"

Reading Content

"Read the content of object [object-id] from my research space"
"Get the full note content for [title] in my workspace"

Saving Information

"Save this article to my research space: https://example.com/article"
"Bookmark this GitHub repo in my coding space with tags 'javascript' and 'tools'"
"Save this link with a custom title and description to my resources space"

Daily Notes

"Add a summary of today's key insights to my daily note"
"Save these meeting notes to today's daily note in my work space"
"Add this quote to my daily note: [your quote here]"

Advanced Usage

"Search for 'productivity' in my work and personal spaces, but filter to only show task-related structures"
"Save this research paper to my academic space and add it to today's daily note as well"
"Find all my notes about 'AI tools' and then save the best ones as bookmarks"

Credits

License

MIT - see LICENSE file for details.

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

TypingMind
Передумови:

Node.js 18+

{
  "mcpServers": {
    "im-hal-9k-capacities-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "capacities-mcp-plus"
      ]
    }
  }
}

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

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

Інструкція з налаштування локального конектора

Виберіть цей варіант, якщо серверу MCP потрібен доступ до локальних файлів, програм або приватних ресурсів на вашому комп’ютері.

1

Відкрийте налаштування MCP

У TypingMind перейдіть до розділу «Налаштування», відкрийте «Розширені налаштування», потім «Протокол контексту моделі» й виберіть «Налаштувати конектор».

  1. Відкрийте TypingMind у браузері.
  2. Натисніть значок налаштувань.
  3. Перейдіть до розділу «Розширені налаштування».
  4. Відкрийте розділ «Протокол контексту моделі».
  5. Натисніть «Налаштувати конектор» і виберіть «Цей пристрій».
Екран налаштування конектора MCP у TypingMind з вибраним варіантом «Цей пристрій»
2

Виконайте команду конектора

Виберіть «Цей пристрій», скопіюйте команду з TypingMind і виконайте її в терміналі. Не зупиняйте процес, поки користуєтеся MCP.

  1. Скопіюйте команду налаштування, показану в TypingMind.
  2. Відкрийте «Термінал» у macOS або Windows Terminal у Windows.
  3. Вставте й виконайте команду.
  4. Підтвердьте встановлення пакета, якщо в терміналі з’явиться запит на підтвердження.
  5. Не закривайте вікно термінала й не зупиняйте процес, поки користуєтеся інструментами MCP.
3

Додайте Capacities MCP Plus як сервер

Коли статус конектора зміниться на «Готово», натисніть «Редагувати сервери» та вставте конфігурацію сервера MCP.

  1. Зачекайте, доки статус конектора зміниться на «Готово».
  2. Натисніть «Редагувати сервери».
  3. Вставте конфігурацію сервера MCP Capacities MCP Plus.
  4. Збережіть список серверів.
  5. Якщо хочете переконатися, що конектор досі готовий до роботи, оновіть дані.
Налаштування MCP у TypingMind з активним сервером і кнопкою «Редагувати сервери»
{
  "mcpServers": {
    "im-hal-9k-capacities-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "capacities-mcp-plus"
      ]
    }
  }
}
4

Використовуйте підключення з різними моделями

Збережіть список серверів, відкрийте «Плагіни», увімкніть інструменти MCP для Capacities MCP Plus, а потім виберіть будь-яку підтримувану модель ШІ в TypingMind і використовуйте інструменти в чаті або призначте їх агенту ШІ.

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

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

Для чого використовується сервер MCP Capacities MCP Plus?

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

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

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

Навіщо використовувати сервер MCP Capacities MCP Plus із TypingMind?

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

Як підключити сервер MCP Capacities MCP Plus до TypingMind?

Capacities MCP Plus працює через локальний конектор MCP TypingMind. Це найкращий варіант, коли серверу MCP потрібен доступ до локальних файлів, настільних застосунків, інструментів командного рядка або приватних ресурсів на вашому комп’ютері.

Які інструменти надає сервер MCP Capacities MCP Plus у TypingMind?

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

Чи потрібно ділитися своїми ключами API з TypingMind, щоб використовувати сервер MCP Capacities MCP Plus?

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

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

Усі

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

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