# 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

```bash
npm install @gsb-core/mcp-docs
```

## Usage

### In TypeScript Projects (Wrangler)

```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
);
```

### In JavaScript Projects (CLI)

```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
);
```

## Development

### Building the Package

```bash
npm run build
```

### Publishing the Package

```bash
npm publish
```

## License

MIT 