0.1.7 • Published 6 months ago

@gsb-core/mcp-tools v0.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

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-tools

Usage

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 build

Publishing the Package

npm publish

License

MIT

0.1.7

6 months ago

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