Sponsored by Deepsite.site

Capacities Mcp Plus

Created By
Im-Hal-9K2 days ago
Enhanced MCP server for Capacities, the knowledge management app. Features include listing spaces, searching content with full-text and title modes, retrieving complete object content by ID, saving weblinks with metadata and tags, and adding content to daily notes. Fork of the original with updated fastmcp for MCP SDK compatibility and tested Windows support.
Content

Capacities MCP Plus

Capacities MCP Plus on Glama

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):

{
  "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:

{
  "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:
git clone https://github.com/Im-Hal-9K/capacities-mcp.git
cd capacities-mcp
  1. Install dependencies:
npm install
# or
bun install
  1. Copy the example environment file:
cp .env.example .env
  1. Add your Capacities API key to .env:
CAPACITIES_API_KEY=your_api_key_here
  1. Build the server:
npm run build

Running the Server

Start the development server with interactive mode:

bun run dev

For production use:

npm run start

To inspect the server tools and schema:

bun run inspect

Testing

Run the test suite:

bun run test

Code Quality

Check linting and types:

bun run lint

Format code:

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

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.

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.

Server Config

{
  "mcpServers": {
    "capacities": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "capacities-mcp-plus"
      ],
      "env": {
        "CAPACITIES_API_KEY": "your_capacities_api_key_here"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Serper MCP ServerA Serper MCP Server
CursorThe AI Code Editor
DeepChatYour AI Partner on Desktop
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
Playwright McpPlaywright MCP server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
WindsurfThe new purpose-built IDE to harness magic
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.