0.1.35 • Published 6 months ago

@gsb-core/backend-mcp v0.1.35

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

GSB MCP Server CLI

A command-line interface to run the GSB MCP (Model Context Protocol) server for AI editors.

Installation

You can run the CLI directly without installation using npx:

npx -y @gsb-core/backend-mcp

Or install it globally:

npm install -g @gsb-core/backend-mcp
gsb-mcp

Usage

npx -y @gsb-core/backend-mcp [options]

Options

  • --port, -p: Port to run the server on (default: 6278)
  • --config, -c: Path to configuration file
  • --gsb-api-url: GSB API URL
  • --gsb-api-key: GSB API Key
  • --gsb-tenant-code: GSB Tenant Code
  • --shared-secret: Shared secret for authentication
  • --debug, -d: Run in debug mode
  • --yes, -y: Skip all prompts and use environment variables only
  • --help, -h: Show help
  • --version, -v: Show version number

Configuration File

You can provide a JSON configuration file with the following format:

{
  "GSB_API_URL": "your-api-url",
  "GSB_API_KEY": "your-api-key",
  "GSB_TENANT_CODE": "your-tenant-code",
  "SHARED_SECRET": "your-shared-secret"
}

Example:

npx -y @gsb-core/backend-mcp --config ./gsb-config.json

Environment Variables

You can also set the following environment variables:

  • GSB_API_URL: GSB API URL
  • GSB_API_KEY: GSB API Key
  • GSB_TENANT_CODE: GSB Tenant Code
  • SHARED_SECRET: Shared secret for authentication

Non-Interactive Mode

If you want to skip all interactive prompts and use only environment variables, use the -y flag:

# Use environment variables and skip all prompts
npx @gsb-core/backend-mcp -y

This is particularly useful for:

  • Docker containers
  • CI/CD environments
  • Scripted deployments

Interactive Mode

If any of the required configuration values are missing and the -y flag is not used, the CLI will prompt you to enter them:

npx @gsb-core/backend-mcp

Available Tools

The GSB MCP Server provides tools for working with GSB entities:

  • Entity Operations (CRUD)
  • Entity Definition Management
  • Workflow Operations
  • Mapped Item Management

Use with AI Editors

The MCP server integrates with AI editors like Cursor or Windsurf, allowing AI models to interact with your GSB entities through natural language.

License

MIT

0.1.35

6 months ago

0.1.34

6 months ago

0.1.33

6 months ago

0.1.32

6 months ago

0.1.31

6 months ago

0.1.30

6 months ago

0.1.29

6 months ago

0.1.28

6 months ago

0.1.27

6 months ago

0.1.26

6 months ago

0.1.25

6 months ago

0.1.24

6 months ago

0.1.23

6 months ago

0.1.22

6 months ago

0.1.21

6 months ago

0.1.20

6 months ago

0.1.19

6 months ago

0.1.18

6 months ago

0.1.17

6 months ago

0.1.16

6 months ago

0.1.15

6 months ago

0.1.14

6 months ago

0.1.13

6 months ago

0.1.12

6 months ago

0.1.11

6 months ago

0.1.10

6 months ago

0.1.9

6 months ago

0.1.8

6 months ago

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