{ "name": "x-mcp-ai", "version": "0.8.0", "mcpName": "io.github.IvanBBaev/x-mcp-ai", "description": "Safety-first MCP server exposing the X (Twitter) API v2 as typed, policy-gated tools, with a two-axis policy model and 2026 pay-per-use cost controls.", "license": "MIT", "author": "Ivan Baev ", "repository": { "type": "git", "url": "git+https://github.com/IvanBBaev/x-mcp.git" }, "homepage": "https://github.com/IvanBBaev/x-mcp#readme", "bugs": { "url": "https://github.com/IvanBBaev/x-mcp/issues" }, "type": "module", "engines": { "node": ">=22" }, "bin": { "x-mcp-ai": "bin/x-mcp-ai.cjs" }, "exports": { ".": "./build/src/index.js" }, "files": [ "build/src", "bin" ], "scripts": { "clean": "node -e \"require('fs').rmSync('build',{recursive:true,force:true})\"", "build": "tsc -p tsconfig.json", "typecheck": "tsc -p tsconfig.json --noEmit", "test": "npm run build && node --test \"build/test/**/*.test.js\"", "coverage": "npm run build && c8 node --test \"build/test/**/*.test.js\"", "lint": "eslint .", "format": "prettier --write .", "format:check": "prettier --check .", "test:coverage": "node scripts/coverage-guard.mjs preflight && npm run build && c8 --check-coverage --lines 90 --branches 80 --functions 95 --reporter=text --reporter=json-summary node --test \"build/test/**/*.test.js\" && node scripts/coverage-guard.mjs floors", "docs:gen": "npm run build && node scripts/docs-gen.mjs", "docs:check": "npm run build && node scripts/docs-gen.mjs --check", "gate:context": "npm run build && node scripts/context-gate.mjs", "gate:manifest": "node scripts/server-json-guard.mjs", "gates": "npm run build && node scripts/docs-gen.mjs --check && node scripts/context-gate.mjs --quiet && node scripts/server-json-guard.mjs", "fuzz": "npm run build && node scripts/fuzz-tools.mjs", "mutate": "npm run build && node scripts/mutate-core.mjs", "verify": "npm run build && npm run lint && npm run format:check && node --test \"build/test/**/*.test.js\"", "check": "npm run verify && npm run test:coverage && npm run gates && npm audit --omit=dev --audit-level=high", "release:dry": "npm pack --dry-run", "prepublishOnly": "npm run check" }, "c8": { "include": [ "build/src/**/*.js" ], "exclude": [ "build/src/index.js" ], "report-dir": "coverage" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.23.0", "zod": "4.5.4" }, "devDependencies": { "@eslint/js": "^10.0.1", "@types/node": "^22.5.0", "c8": "^12.0.0", "eslint": "^10.9.1", "fast-check": "4.9.0", "prettier": "^3.3.3", "typescript": "6.0.3", "typescript-eslint": "8.69.0", "undici": "8.10.1" }, "keywords": [ "mcp", "model-context-protocol", "x", "twitter", "x-api", "llm", "ai", "claude" ], "trademark": "x-mcp-ai is an independent, unofficial project and is not affiliated with, endorsed by, or sponsored by X Corp. \"X\", \"Twitter\", and related marks are trademarks of X Corp, used nominatively only to describe interoperability with the X API." }