Skip to main content
Expose Moss semantic search and index management as tools for any MCP-compatible client using @moss-tools/mcp-server. Your AI assistant can create indexes, add documents, and run sub-10ms semantic queries without leaving the conversation.

Why use Moss with MCP?

MCP (Model Context Protocol) lets AI clients call external tools in a standardized way. The Moss MCP server gives any compatible client direct access to your knowledge base - no custom code, no API wrappers, no context window stuffing.

Required tools

  • Moss account with project credentials
  • Node.js 18+
  • An MCP-compatible client (Claude Desktop, Cursor, VS Code, etc.)

Integration guide

1

Get your Moss credentials

Sign in to the Moss Portal and copy your Project ID and Project Key from the project settings page.
2

Configure your MCP client

Add the Moss MCP server to your client’s configuration. Below are examples for common clients.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
claude_desktop_config.json
3

Start using Moss from your AI client

Once configured, your AI client can use Moss tools directly. Try prompts like:
  • “Create a Moss index called ‘product-docs’ with these FAQs…”
  • “Search my ‘product-docs’ index for return policy information”
  • “List all my Moss indexes”
  • “Load the ‘product-docs’ index for faster queries”

Available tools

The MCP server exposes the following tools to your AI client:

Index management

Document operations

Jobs

Configuration

Environment variables

You can optionally set MOSS_CLOUD_API_BASE_URL to override the API base URL. Defaults to https://service.usemoss.dev.