0.1.6 • Published 10 months ago

@gsb-core/mcp-docs v0.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

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-docs

Usage

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 build

Publishing the Package

npm publish

License

MIT

0.1.6

10 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago