@gsb-core/mcp-docs
v0.1.6
Published
Documentation for GSB MCP implementations
Readme
GSB MCP Documentation Package
This package provides documentation for GSB MCP implementations. It exports documentation functions for use in both the CLI and Wrangler implementations.
Installation
npm install @gsb-core/mcp-docsUsage
In TypeScript Projects (Wrangler)
import {
getDocs,
getApiDocs,
getServerlessFunctionDocs,
getSchemaDocs
} from '@gsb-core/mcp-docs';
// Use the documentation functions
this.server.tool(
"getById",
getDocs("getById") || "Retrieves an entity by its ID",
// ... rest of tool definition
);In JavaScript Projects (CLI)
import {
getDocs,
getApiDocs,
getServerlessFunctionDocs,
getSchemaDocs
} from '@gsb-core/mcp-docs';
// Use the documentation functions
this.server.tool(
"getById",
getDocs("getById") || "Retrieves an entity by its ID",
// ... rest of tool definition
);Development
Building the Package
npm run buildPublishing the Package
npm publishLicense
MIT
