Skip to main content
Glama

Capacities MCP Server

by jem-computer
MIT License
1
  • Apple

Capacities MCP Server

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

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
  • Save Weblinks - Save URLs to your spaces with metadata
  • Daily Notes - Add content to your daily notes

Installation

For Claude Desktop

Add the Capacities MCP server to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{ "mcpServers": { "capacities": { "command": "npx", "args": ["-y", "capacities-mcp"], "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/jemgold/capacities-mcp.git cd capacities-mcp
  1. Install dependencies:
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:
bun run build

Running the Server

Start the development server with interactive mode:

bun run dev

For production use:

bun 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

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"

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"

License

MIT - see LICENSE file for details.

-
security - not tested
A
license - permissive license
-
quality - not tested

Provides seamless integration with Capacities knowledge management system, allowing Claude to list spaces, retrieve space information, search content, save weblinks, and add content to daily notes.

  1. Features
    1. Installation
      1. For Claude Desktop
    2. Development
      1. Local Setup
      2. Running the Server
      3. Testing
      4. Code Quality
    3. API Reference
      1. Available Tools
        1. capacities_list_spaces
        2. capacities_get_space_info
        3. capacities_search
        4. capacities_save_weblink
        5. capacities_save_to_daily_note
      2. Rate Limits
        1. Example Prompts
          1. Getting Started
          2. Exploring Your Knowledge Base
          3. Searching Content
          4. Saving Information
          5. Daily Notes
          6. Advanced Usage
        2. License

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            Provides memory/knowledge graph storage capabilities using Supabase, enabling multiple Claude instances to safely share and maintain a knowledge graph with features like entity storage, concurrent access safety, and full text search.
            Last updated -
            6
            JavaScript
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            Connects Claude Desktop directly to databases, allowing it to explore database structures, write SQL queries, analyze datasets, and create reports through an API layer with tools for table exploration and query execution.
            Last updated -
            210
            Python
            Mozilla Public License 2.0
            • Apple
          • A
            security
            A
            license
            A
            quality
            Enables querying and retrieving content from Confluence through CQL searches and page content fetching, allowing Claude to seamlessly access information stored in Confluence workspaces.
            Last updated -
            2
            10
            JavaScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            Enables Claude to interact with Webflow's APIs, allowing access to site information, collections, and other Webflow resources.
            Last updated -
            TypeScript
            MIT License
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/jem-computer/capacities-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server