- Home
- MCP servers
- Slicejs
Slicejs
- javascript
2
GitHub Stars
javascript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"vkneider-slicejs-mcp": {
"command": "npx",
"args": [
"slicejs-mcp"
]
}
}
}You can run and use a dedicated MCP server to access Slice.js documentation. This server exposes clear tools to list, search, and fetch documentation pages, as well as provide a complete documentation bundle for large-context scenarios. It is designed to be easily integrated with MCP-compatible clients and AI assistants to streamline documentation discovery and retrieval.
How to use
You interact with the server through MCP-compatible clients. Start by launching the server, then call its available tools to explore documentation. Use list_docs to discover what documentation is available, search_docs to find relevant topics using keywords, get_doc_content to retrieve specific pages, and get_llm_full_context to fetch the entire documentation bundle for context-heavy tasks.
How to install
Prerequisites: ensure you have Node.js version 18 or higher installed on your system.
# Global installation (recommended)
npm install -g slicejs-mcp
# Or use npx to run without global installation
npx slicejs-mcp
Additional notes
The MCP server runs as a standard input/output based service and is optimized for integration with AI assistants and other MCP clients. It features dynamic documentation discovery, intelligent caching, full-text search, and lazy initialization of the documentation structure. Authentication and rate limiting are designed to respect GitHub API usage while delivering responsive results.
Key benefits include the ability to fetch individual documentation pages or the entire bundle for large-scale language model contexts. The server can index and serve content from Slice.js documentation, enabling quick lookups and efficient reuse of previously retrieved data.
Available tools
list_docs
Returns a list of all available documentation sections and categories with their identifiers and paths.
search_docs
Searches across all documentation using a query string and returns matching results with metadata and snippets.
get_doc_content
Fetches the full content of specified documentation pages by document ID or a list of IDs, with optional metadata.
get_llm_full_context
Retrieves the complete documentation bundle for comprehensive context in large language model scenarios.