Skip to main content
Version: 0.2.3

sercha mcp

MCP (Model Context Protocol) server for AI assistant integration.

Usage

sercha mcp [command]

Subcommands

CommandDescription
serveStart the MCP server

sercha mcp serve

Start the MCP server. The server communicates over stdio using JSON-RPC and can be used with Claude and other MCP-compatible AI assistants.

Usage

sercha mcp serve

Communication

The server uses stdio for communication:

  • Reads JSON-RPC requests from stdin
  • Writes JSON-RPC responses to stdout

This allows integration with any MCP-compatible client.

Available Tools

ToolDescription
searchSearch indexed documents

search Tool

Search documents with a query string.

Parameters:

NameTypeRequiredDescription
querystringYesSearch query
limitnumberNoMax results (default: 10)

Returns: Array of search results with document ID, title, score, and highlights.

Available Resources

ResourceURI PatternDescription
Sourcessercha://sourcesList all configured sources
Documentssercha://sources/{id}/documentsList documents for a source
Contentsercha://documents/{id}/contentGet document content

Claude Desktop Configuration

Add to your Claude Desktop MCP configuration:

{
"mcpServers": {
"sercha": {
"command": "sercha",
"args": ["mcp", "serve"]
}
}
}

See the MCP Server Guide for detailed documentation on:

  • Configuration and setup
  • Tool and resource reference
  • Integration examples