brightsy-cli
v1.0.22
Published
Command Line Interface for Brightsy AI
Readme
Brightsy CLI
A command-line interface for interacting with Brightsy AI.
Installation
Install the Brightsy CLI globally using npm:
npm install -g brightsy-cliOr run it directly with npx:
npx brightsy-cliUsage
Before using the CLI, ensure you have set up your API key and agent ID. You can do this in several ways:
Configuration
Configure both API Key and Agent ID (and clear chat history)
brightsy configure <agent_id> <api_key>View current configuration
brightsy configure --viewReset configuration
brightsy configure --reset
Chat Commands
Start a new chat or continue the active chat
brightsy "Your message here"Continue a specific chat
brightsy chat "Your message here" --chat-id <chat-id>Note: The
--chat-idparameter is optional. If omitted, the command will use the active chat.End the current chat session
brightsy chat --endList recent chats
brightsy chat --list
MCP Integration
The Brightsy CLI includes MCP (Model Control Protocol) server functionality, allowing you to integrate Brightsy AI with compatible applications like Cursor and Claude Desktop.
Start MCP server directly
brightsy mcpAdd to Cursor or Claude Desktop
Register Brightsy as an MCP server with the following configuration:
{ "mcpServers": { "Brightsy": { "command": "npx", "args": [ "-y", "brightsy-mcp", "--agent-id=YOUR_AGENT_ID", "--api-key=YOUR_API_KEY", "--tool-name=Brightsy AI" ] } } }Replace
YOUR_AGENT_IDandYOUR_API_KEYwith your actual credentials.
Development
To start the CLI in development mode, use:
npm run devTo build the project, use:
npm run buildContributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License.
