Shelby docs MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Shelby docs MCP search for how to configure the Shelby CLI"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Shelby docs MCP
A lightweight, read-only MCP server that exposes Shelby documentation as searchable tools for MCP-compatible clients like Claude Code, Codex, Cursor, VS Code, and Gemini CLI.
This project is a docs-only server. It does not write data, talk to Shelby RPC endpoints, or modify anything in the network.
Docs source
The server loads the full Shelby LLM docs bundle:
It parses that bundle into page-level chunks using the native Shelby format:
# Page Title (/path)
Page content...
# Next Page (/next-path)
Next page content...Related MCP server: mcp-docs
Quickstart for Claude Code
Add the MCP server with npx:
claude mcp add --transport stdio shelby-docs -- npx -y github:Jr-kenny/shelby-mcpThen start Claude Code:
claudeInside Claude Code, run:
/mcpYou should see the shelby-docs server and its tool endpoints listed.
Quickstart for Cursor (per-project)
Create .cursor/mcp.json and add:
{
"mcpServers": {
"shelby-docs": {
"command": "npx",
"args": ["-y", "github:Jr-kenny/shelby-mcp"]
}
}
}If Cursor does not recognizemcpServers in your version, try mcp_servers as the top-level key instead.
Quickstart for VS Code (per-workspace)
Add this to .vscode/mcp.json:
{
"servers": {
"shelby-docs": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:Jr-kenny/shelby-mcp"]
}
},
"inputs": []
}Quickstart for Gemini CLI
Add the MCP server globally:
gemini mcp add --scope user shelby-docs npx -y github:Jr-kenny/shelby-mcpConfirm it is registered:
gemini mcp listQuickstart for Codex
Add the MCP server with the Codex CLI:
codex mcp add shelby-docs -- npx -y github:Jr-kenny/shelby-mcpConfirm it is registered:
codex mcp listAlternatively, add this to your Codex MCP config:
[mcp_servers.shelby-docs]
command = "npx"
args = ["-y", "github:Jr-kenny/shelby-mcp"]Then restart Codex if needed so it reloads the MCP config.
Quickstart from source
If you want to run the repository locally from source:
Clone the repo:
git clone https://github.com/Jr-kenny/shelby-mcp cd shelby-mcpInstall dependencies and build:
npm install npm run buildRun the local entrypoint:
node /absolute/path/to/shelby-mcp/dist/cli.js
Then substitute that node .../dist/cli.js command in any MCP client config if you prefer source-based usage over npx.
Repository
GitHub repository:
Tool endpoints
search_shelby_docsSearches the Shelby documentation bundle and returns ranked matches with IDs and snippets.read_shelby_docReads a page by exact path, title, URL, page ID, or fuzzy query.get_shelby_doc_chunkReads a specific page by the exact chunk ID returned from search results.list_shelby_doc_pagesLists available parsed pages and supports filtering by path or title text.
Project structure
File/Folder | Purpose |
| MCP server setup, tool registration, and stdio startup |
| CLI entry point that starts the server |
| Shelby docs loading, parsing, search, and formatting helpers |
| Compiled JavaScript output generated by |
| Dependencies, scripts, package metadata, and CLI registration |
| TypeScript compiler settings |
| Usage and setup instructions |
How it's built
This MCP server is a lightweight TypeScript implementation built on the official MCP SDK.
Core components
Built on
@modelcontextprotocol/sdkUses
StdioServerTransportfor local MCP clientsUses
zodto validate tool inputsFetches Shelby docs from the official
llms-full.txtbundle at startupParses the bundle into page chunks using Shelby's
# Title (/path)formatUses deterministic keyword scoring over titles, paths, URLs, and body text
Configuration
Optional environment variables:
SHELBY_DOCS_URL: alternate docs bundle URLSHELBY_DOCS_TIMEOUT_MS: HTTP timeout in milliseconds, default15000
Fork this for your own docs
This repo is a good base if you want to publish other docs-only MCP servers backed by a single llms-full.txt style bundle.
Update
package.json:{ "name": "your-docs-mcp", "description": "Docs-only MCP server for YourProduct documentation" }Update the docs URL in
src/shelbyDocs.ts:const DEFAULT_DOCS_URL = "https://your-domain.com/llms-full.txt";Update the server name in
src/index.ts:name: "your-docs-mcp"Build and publish:
npm install npm run build
Local development
This section is only for working on the MCP server itself.
npm install
npm run build
npm run check
npm startnpm run check verifies that the server can fetch and parse the live Shelby docs bundle.
Available Tools
4 toolsget_shelby_doc_chunkGet Shelby Doc ChunkARead-onlyIdempotent
Read a specific Shelby documentation page by its exact chunk ID.
Inputs: id (required), maxChars.
list_shelby_doc_pagesList Shelby Doc PagesARead-onlyIdempotent
List available Shelby documentation pages, optionally filtered by path or title text.
Inputs: prefix, limit.
read_shelby_docRead Shelby DocARead-onlyIdempotent
Read a Shelby documentation page by exact path, title, URL, page ID, or fuzzy query.
Inputs: page (required), maxChars.
search_shelby_docsSearch Shelby DocsBRead-onlyIdempotent
Search the Shelby documentation bundle and return the most relevant pages.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Multiple tools have overlapping purposes that could cause confusion. The 'read_shelby_doc' tool appears to cover most of the functionality of 'get_shelby_doc_chunk' and 'search_shelby_docs', as it can read by exact path, title, URL, page ID, or fuzzy query. This creates ambiguity about when to use each tool, especially between 'read_shelby_doc' and 'search_shelby_docs' for fuzzy queries.
The naming follows a mostly consistent pattern with 'shelby_doc' as the common prefix and snake_case throughout. However, there's a minor deviation with 'list_shelby_doc_pages' using 'pages' while others use 'doc' or 'docs', which slightly breaks consistency but doesn't significantly impact readability.
With 4 tools, the count is borderline for a documentation server. It feels slightly thin as there might be room for additional operations like updating or managing documentation, but it's reasonable for basic read-only access. The scope appears limited to retrieval and listing, which the tools cover adequately in number.
For a documentation server, the surface covers reading, listing, and searching, which are core operations. However, there are notable gaps such as no create, update, or delete tools, which might be expected if the server supports documentation management. This limits the server to read-only use cases, making it incomplete for full lifecycle coverage.
Related MCP Connectors
Read-only MCP server over the developer docs for the portfolio's JSON API, MCP, A2A and NLWeb.
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for accessing curated awesome list documentation
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides version-pinned, deterministic documentation sourced from DevDocs.io to AI assistants (Claude, RooCode, Cline, Copilot etc.) and also via offline mode. Not via Scraping! But using the supported downloading option from devdocs.63 npm14MIT
- AlicenseNot gradedqualityDmaintenanceGeneric MCP server that exposes Markdown documentation to LLMs, enabling them to search and answer questions about any software documentation.MIT
- AlicenseNot gradedqualityCmaintenanceProvides a local MCP server for searching and retrieving documentation from 22+ open-source projects, enabling AI coding assistants to access up-to-date docs without network dependency.5 npm3MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides indexed, searchable access to Anthropic Claude and Google Gemini documentation, with full-text search, page fetching, and section listing capabilities.4MIT