UNPKG

@bjoaquinc/mcp-error-formatter

Version:

Simple utility to format MCP tool errors like Cursor

54 lines (53 loc) 1.37 kB
{ "name": "@bjoaquinc/mcp-error-formatter", "version": "1.1.4", "description": "Simple utility to format MCP tool errors like Cursor", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsc", "test": "jest", "prepublishOnly": "npm run build && npm run test", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "format": "prettier --write src/**/*.ts tests/**/*.js", "format:check": "prettier --check src/**/*.ts tests/**/*.js" }, "keywords": [ "mcp", "error", "cursor", "anthropic", "llm" ], "author": "bjoaquinc", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/bjoaquinc/mcp-error-formatter.git" }, "bugs": { "url": "https://github.com/bjoaquinc/mcp-error-formatter/issues" }, "homepage": "https://github.com/bjoaquinc/mcp-error-formatter#readme", "publishConfig": { "access": "public" }, "dependencies": { "uuid": "^10.0.0" }, "devDependencies": { "@types/jest": "^29.5.0", "@types/uuid": "^10.0.0", "@typescript-eslint/eslint-plugin": "^8.38.0", "@typescript-eslint/parser": "^8.38.0", "eslint": "^9.32.0", "eslint-config-prettier": "^10.1.8", "jest": "^29.5.0", "prettier": "^3.6.2", "typescript": "^5.0.0" } }