0.1.7 • Published 6 months ago
@gsb-core/mcp-tools v0.1.7
GSB MCP Tools Package
This package provides shared tools for GSB MCP implementations. It exports entity and entity definition tools for use in both the CLI and Wrangler implementations.
Installation
npm install @gsb-core/mcp-toolsUsage
In TypeScript Projects (Wrangler)
import {
gsbEntityTools,
gsbEntityDefTools
} from '@gsb-core/mcp-tools';
// Use the tools
const result = await gsbEntityTools.getById({
definitionType: 'Customer',
id: '123',
token: 'your-token',
tenantCode: 'your-tenant-code'
});In JavaScript Projects (CLI)
import {
gsbEntityTools,
gsbEntityDefTools
} from '@gsb-core/mcp-tools';
// Use the tools
const result = await gsbEntityTools.getById({
definitionType: 'Customer',
id: '123',
token: 'your-token',
tenantCode: 'your-tenant-code'
});Development
Building the Package
npm run buildPublishing the Package
npm publishLicense
MIT