UNPKG

feishu-mcp

Version:

Model Context Protocol server for Feishu integration

16 lines (15 loc) 481 B
#!/usr/bin/env node import { resolve } from "path"; import { config } from "dotenv"; import { startServer } from "./index.js"; // Load .env from the current working directory config({ path: resolve(process.cwd(), ".env") }); startServer().catch((error) => { if (error instanceof Error) { console.error("Failed to start server:", error.message); } else { console.error("Failed to start server with unknown error:", error); } process.exit(1); });