0.1.6 • Published 1 year ago

@gsb-core/mcp-docs v0.1.6

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

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago