UNPKG

cotiv2-mcp

Version:

> A plug-and-play MCP tool server to **send COTI**, **transfer BEP-20 tokens**, **deploy tokens**, and **interact with smart contracts** on the **COTI v2 Network (COTI)** — built for **Claude Desktop**, **AI agents**, and **developers.**

14 lines (13 loc) 427 B
import fs from "fs"; import path from "path"; import { fileURLToPath } from "url"; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); let version = "1.0.17"; // fallback try { const pkgPath = path.resolve(__dirname, "../../package.json"); const pkgJson = JSON.parse(fs.readFileSync(pkgPath, "utf8")); version = pkgJson.version || version; } catch { } export { version };