Slite MCP Server

Slite MCP Server

Bridge Slite notes with AI model context using the MCP standard.

0
Stars
0
Forks
0
Watchers
0
Issues
Slite MCP Server implements the Model Context Protocol to interface with Slite's API, enabling seamless search, retrieval, and hierarchical browsing of workspace notes. It exposes standardized tools for searching notes, retrieving content by ID, and navigating note structures, making Slite content programmatically accessible to contextual AI pipelines. Built in Node.js and TypeScript, it is configurable and supports authentication via API key.

Key Features

Search Slite workspace notes using keyword queries
Retrieve note content by ID in markdown or HTML format
Browse child notes of any parent note for hierarchical structures
Implements Model Context Protocol for standardized AI integration
Configurable authentication via Slite API key
JSON-based tool interface for command invocation
Works with MCP configuration files for easy setup
Returns metadata such as titles, update times, and URLs
Provides project structure and test scripts for verification
Supports result limiting and pagination for scalable queries

Use Cases

Supplying Slite notes as context for AI model prompts
Automating search and retrieval of organizational documentation
Building assistants that answer questions using Slite knowledge bases
Extracting project documentation for use in chatbots or LLM tools
Enabling hierarchical browsing of team notes for research or summaries
Integrating Slite knowledge into custom AI workflows
Batch export or analysis of content from Slite workspaces
Rapid prototyping of AI agents needing internal wiki context
Monitoring updates to key notes or projects in Slite via API
Creating dashboards or interfaces for curated access to workspace knowledge

README

Slite MCP Server

A Model Context Protocol (MCP) server that integrates with Slite's API to search and retrieve notes.

Features

  • 🔍 Search Notes: Search through your Slite workspace
  • 📄 Get Note Content: Retrieve specific notes by ID in markdown or HTML format
  • 🌳 Browse Hierarchy: Get child notes of any parent note

Installation

bash
# Clone the repository
git clone https://github.com/fajarmf/slite-mcp.git
cd slite-mcp

# Install dependencies
npm install

# Build the project
npm run build

Configuration

Getting your Slite API Key

  1. Log in to your Slite workspace
  2. Go to Settings → API
  3. Generate a new API key

Setting up the MCP Server

Add the server to your MCP configuration file (~/.mcp.json):

json
{
  "mcpServers": {
    "slite": {
      "command": "node",
      "args": ["/path/to/slite-mcp/build/index.js"],
      "env": {
        "SLITE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Usage

Once configured, the following tools are available:

slite_search

Search for notes in your Slite workspace.

Parameters:

  • query (required): Search query string
  • limit (optional): Maximum number of results (default: 10)

Example:

json
{
  "tool": "slite_search",
  "arguments": {
    "query": "project documentation",
    "limit": 5
  }
}

slite_get_note

Retrieve a specific note by its ID.

Parameters:

  • noteId (required): The ID of the note to retrieve
  • format (optional): Format to return - "md" or "html" (default: "md")

Example:

json
{
  "tool": "slite_get_note",
  "arguments": {
    "noteId": "BoptqNi4pm0lcV",
    "format": "md"
  }
}

slite_get_note_children

Get all child notes of a parent note.

Parameters:

  • noteId (required): The ID of the parent note
  • limit (optional): Maximum number of results (default: 20)

Example:

json
{
  "tool": "slite_get_note_children",
  "arguments": {
    "noteId": "5i6k33yrVu7eMy",
    "limit": 10
  }
}

Testing

Run the test scripts to verify your API connection:

bash
# Test API connection with default search
node tests/test-slite-api.js

# Test with custom search query
node tests/test-slite-api.js "your search term"

# Test specific note retrieval
node tests/test-specific-note.js [noteId]

Development

Project Structure

slite-mcp/
├── src/
│   └── index.ts        # Main MCP server implementation
├── build/              # Compiled JavaScript files
├── tests/              # Test scripts
├── examples/           # Example configurations
├── package.json
├── tsconfig.json
└── README.md

Building

bash
npm run build

Requirements

  • Node.js 16+
  • TypeScript 5.0+
  • A valid Slite API key

API Response Formats

The Slite API returns data in specific formats:

Search Results

  • Results are in the hits array
  • Each hit contains: id, title, highlight, updatedAt, type, parentNotes

Note Content

  • Full markdown or HTML content
  • Includes metadata: id, title, url, updatedAt, parentNoteId

Child Notes

  • Results in the notes array
  • Pagination info: total, hasNextPage, nextCursor

Troubleshooting

Authentication Failed

  • Verify your API key is correct
  • Check if the key has the necessary permissions

No Results Found

  • Try different search terms
  • Ensure the notes exist in your workspace
  • Check if you have access to the notes

API Changes

If you encounter errors, the Slite API might have changed. Check:

  • Response format in the test scripts
  • Endpoint URLs
  • Required parameters

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License - see LICENSE file for details

Support

For issues or questions:

  • Create an issue on GitHub
  • Check Slite's API documentation
  • Review the test scripts for examples

Star History

Star History Chart

Repository Owner

fajarmf
fajarmf

User

Repository Details

Language JavaScript
Default Branch main
Size 8 KB
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

JavaScript
100%

Tags

Topics

ai knowledge-base mcp model-context-protocol notes slite typescript

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Graphlit MCP Server

    Graphlit MCP Server

    Integrate and unify knowledge sources for RAG-ready AI context with the Graphlit MCP Server.

    Graphlit MCP Server provides a Model Context Protocol interface, enabling seamless integration between MCP clients and the Graphlit platform. It supports ingestion from a wide array of sources such as Slack, Discord, Google Drive, email, Jira, and GitHub, turning them into a searchable, RAG-ready knowledge base. Built-in tools allow for document, media extraction, web crawling, and web search, as well as advanced retrieval and publishing functionalities. The server facilitates easy configuration, sophisticated data operations, and automated notifications for diverse workflows.

    • 369
    • MCP
    • graphlit/graphlit-mcp-server
  • @growi/mcp-server

    @growi/mcp-server

    Bridge GROWI wiki content to AI models with context-aware access and management.

    @growi/mcp-server acts as a Model Context Protocol (MCP) server that enables AI models to access, search, and manage GROWI wiki content within an organization. It facilitates seamless connection between multiple GROWI instances and language models, enhancing information retrieval and knowledge management capabilities. The platform provides comprehensive tools for page, tag, comment, and revision management as well as share link and user activity tracking. Its flexible configuration allows simultaneous operation with several GROWI apps for scalable deployment.

    • 10
    • MCP
    • growilabs/growi-mcp-server
  • MyMCP Server (All-in-One Model Context Protocol)

    MyMCP Server (All-in-One Model Context Protocol)

    Powerful and extensible Model Context Protocol server with developer and productivity integrations.

    MyMCP Server is a robust Model Context Protocol (MCP) server implementation that integrates with services like GitLab, Jira, Confluence, YouTube, Google Workspace, and more. It provides AI-powered search, contextual tool execution, and workflow automation for development and productivity tasks. The system supports extensive configuration and enables selective activation of grouped toolsets for various environments. Installation and deployment are streamlined, with both automated and manual setup options available.

    • 93
    • MCP
    • nguyenvanduocit/all-in-one-model-context-protocol
  • Yuque-MCP-Server

    Yuque-MCP-Server

    Seamless integration of Yuque knowledge base with Model-Context-Protocol for AI model context management.

    Yuque-MCP-Server provides an MCP-compatible server for interacting with the Yuque knowledge base platform. It enables AI models to retrieve, manage, and analyze Yuque documents and user information through a standardized Model-Context-Protocol interface. The server supports operations such as document creation, reading, updating, deletion, advanced search, and team statistics retrieval, making it ideal for AI-powered workflows. Inspired by Figma-Context-MCP, it facilitates contextual awareness and dynamic knowledge management for AI applications.

    • 31
    • MCP
    • HenryHaoson/Yuque-MCP-Server
  • MCP Obsidian Server

    MCP Obsidian Server

    Integrate Obsidian note management with AI models via the Model Context Protocol.

    MCP Obsidian Server acts as a bridge between Obsidian and AI models by providing an MCP-compatible server interface. It enables programmatic access to Obsidian vaults through a local REST API, allowing operations like listing files, searching, reading, editing, and deleting notes. Designed to work with Claude Desktop and other MCP-enabled clients, it exposes a set of tools for efficient note and content management within Obsidian.

    • 2,394
    • MCP
    • MarkusPfundstein/mcp-obsidian
  • Bear MCP Server

    Bear MCP Server

    MCP server for accessing and searching Bear Notes on macOS.

    Bear MCP Server is an implementation of the Model Context Protocol that provides programmatic access to notes and tags stored in Bear Notes on macOS. It enables users to read, search, and list notes and tags via standardized MCP tools. The server connects to Bear's SQLite database and exposes essential commands for integration with AI models and workflows.

    • 40
    • MCP
    • akseyh/bear-mcp-server
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results