0.1.6 • Published 6 months ago

@gsb-core/mcp-docs v0.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
6 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

6 months ago

0.1.5

6 months ago

0.1.4

6 months ago

0.1.3

6 months ago

0.1.2

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago