loading…
Search for a command to run...
loading…
Enables AI assistants to search, list, and retrieve documentation from the Slice.js official GitHub repository. It provides full-text search capabilities and ca
Enables AI assistants to search, list, and retrieve documentation from the Slice.js official GitHub repository. It provides full-text search capabilities and can deliver individual doc pages or a complete documentation bundle for comprehensive LLM context.
An MCP (Model Context Protocol) server that provides access to Slice.js documentation from the official GitHub repository. This server allows AI assistants and tools to query, search, and retrieve documentation seamlessly.
npm install -g slicejs-mcp
npx slicejs-mcp
The MCP server runs as a stdio-based service, perfect for integration with AI assistants and MCP-compatible tools.
npx slicejs-mcp
This server is designed to work with MCP-compatible clients. When launched, it exposes 4 tools:
list_docsReturns a list of all available documentation sections and categories.
Parameters: None
Response: JSON array of documentation items with id, title, and path.
Example:
[
{
"id": "getting-started",
"title": "Getting Started",
"path": "markdown/getting-started.md"
}
]
search_docsSearches across all documentation using keywords or phrases.
Parameters:
query (string, required): Search termmax_results (number, optional, default: 5): Maximum number of resultsResponse: JSON array of search results with snippets and metadata.
get_doc_contentFetches the full content of specific documentation page(s).
Parameters:
doc_id (string or string[], required): Documentation ID(s) to fetchinclude_metadata (boolean, optional, default: false): Include additional metadataResponse: JSON object(s) with document content, title, and optional metadata.
get_llm_full_contextFetches the complete documentation bundle (~2000 lines) for comprehensive LLM context.
Parameters: None
Response: Complete documentation text
Note: This consumes considerable tokens but provides all documentation in one request.
// Via MCP client
await callTool("list_docs", {});
await callTool("search_docs", {
query: "routing",
max_results: 3
});
await callTool("get_doc_content", {
doc_id: "getting-started/routing"
});
await callTool("get_llm_full_context", {});
git clone <repo>
cd slicejs-mcp
npm install
npm run build
npm start
# or
node dist/index.js
npx @modelcontextprotocol/inspector node dist/index.js
Contributions welcome! Please ensure:
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"slice-js-documentation-mcp": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.