UNPKG

@civic/hub-bridge

Version:

Stdio <-> HTTP/SSE MCP bridge with Civic auth handling

78 lines 2.05 kB
{ "name": "@civic/hub-bridge", "version": "0.2.6", "description": "Stdio <-> HTTP/SSE MCP bridge with Civic auth handling", "main": "dist/index.js", "type": "module", "bin": { "hub-bridge": "./bin/cli.js" }, "dependencies": { "@civic/auth-mcp": "^0.2.3-alpha.0", "@civic/hook-common": "^0.0.5-beta.3", "@civic/passthrough-mcp-server": "0.2.3-legacy.2", "@modelcontextprotocol/sdk": "^1.16.0", "dotenv": "^16.4.5", "fastmcp": "^3.10.0", "inquirer": "^12.6.1", "jose": "^6.0.11", "open": "^10.1.0", "zod": "^3.25.28" }, "devDependencies": { "@types/inquirer": "^9.0.8", "@types/node": "^22.14.0", "eslint": "^9.22.0", "tsx": "^4.7.1", "typescript": "^5.8.2", "vitest": "^3.1.1", "eslint-config-custom": "0.0.0", "vitest-config": "0.1.0" }, "engines": { "node": ">=18.0.0" }, "license": "MIT", "keywords": [ "mcp", "civic", "llm", "bridge", "stdio", "http", "sse", "ai" ], "repository": { "type": "git", "url": "https://github.com/civicteam/civic-mcp.git", "directory": "packages/hub-bridge" }, "homepage": "https://github.com/civicteam/civic-mcp/tree/main/packages/hub-bridge#readme", "bugs": { "url": "https://github.com/civicteam/civic-mcp/issues" }, "files": [ "bin/", "dist/", "README.md" ], "publishConfig": { "access": "public" }, "scripts": { "prebuild": "tsx scripts/update-version.ts", "build": "tsc", "start": "node dist/index.js", "dev": "dotenv -- tsx src/index.ts", "watch": "tsx watch src/index.ts", "clean": "rm -rf dist", "lint": "eslint .", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "compile": "pnpm build && bun build dist/compiled-cli.js --external=\"@valibot/to-json-schema\" --external=\"effect\" --compile --minify --outfile hub-bridge", "prepackage:homebrew": "pnpm compile", "package:homebrew": "scripts/package-for-homebrew.sh" } }