Update MCP server to use domain-specific endpoints
Changes: - Updated default endpoints to use https://hive.home.deepblack.cloud - Added support for HIVE_TIMEOUT environment variable - Created .env.example with multiple deployment configurations - Updated Claude Desktop configuration for production/development - Updated README with comprehensive configuration guide Production endpoints: - API: https://hive.home.deepblack.cloud - WebSocket: wss://hive.home.deepblack.cloud Development fallback to localhost still available via env vars. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -62,9 +62,9 @@ export class HiveClient {
|
||||
|
||||
constructor(config?: Partial<HiveConfig>) {
|
||||
this.config = {
|
||||
baseUrl: process.env.HIVE_API_URL || 'http://localhost:8087',
|
||||
wsUrl: process.env.HIVE_WS_URL || 'ws://localhost:8087',
|
||||
timeout: 30000,
|
||||
baseUrl: process.env.HIVE_API_URL || 'https://hive.home.deepblack.cloud',
|
||||
wsUrl: process.env.HIVE_WS_URL || 'wss://hive.home.deepblack.cloud',
|
||||
timeout: parseInt(process.env.HIVE_TIMEOUT || '30000'),
|
||||
...config,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user