@gsb-core/mcp-docs
Version:
Documentation for GSB MCP implementations
65 lines (48 loc) • 1.05 kB
Markdown
This package provides documentation for GSB MCP implementations. It exports documentation functions for use in both the CLI and Wrangler implementations.
```bash
npm install @gsb-core/mcp-docs
```
```typescript
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
);
```
```javascript
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
);
```
```bash
npm run build
```
```bash
npm publish
```
MIT