Files
artcraft/mcp/package.json
T
Tanish Manku e0729b19e5 mcp: demo-account smoke script, weekly smoke workflow, post-deploy smoke
scripts/smoke.mjs drives a deployment the way a client does — PRM, AS metadata, DCR,
consent + CSRF, password sign-in, PKCE exchange, initialize, tools/list, every read-only
tool, revoke, revoked-token 401 — printing step outcomes only. Wired as `pnpm smoke`, as a
post-deploy step in mcp.yml, and as a weekly/dispatchable mcp-smoke.yml; both skip with a
notice until the SMOKE_USERNAME / SMOKE_PASSWORD repo secrets exist. Verified end to end
against wrangler dev + the fake, including the failure path (exit 1, no credential echoed).

Claude-Session: https://claude.ai/code/session_01H3gfN2NCx3hBXSrZXYHUQ3
2026-08-25 00:01:52 -07:00

48 lines
1.4 KiB
JSON

{
"name": "@artcraft/mcp",
"version": "0.0.0",
"private": true,
"description": "Artcraft MCP server — Cloudflare Worker at mcp.getartcraft.com",
"type": "module",
"packageManager": "pnpm@11.23.0",
"engines": {
"node": ">=22"
},
"scripts": {
"dev": "wrangler dev",
"deploy:preview": "wrangler deploy --env preview",
"deploy:production": "wrangler deploy --env production",
"gen:api": "node scripts/gen-api.mjs",
"smoke": "node scripts/smoke.mjs",
"types": "wrangler types",
"typecheck": "pnpm types && tsc --noEmit -p tsconfig.json",
"lint": "eslint .",
"format": "prettier --check .",
"format:write": "prettier --write .",
"test": "vitest run",
"test:watch": "vitest",
"check": "pnpm typecheck && pnpm lint && pnpm format && pnpm test"
},
"dependencies": {
"@cloudflare/workers-oauth-provider": "0.10.3",
"@modelcontextprotocol/sdk": "1.30.0",
"hono": "4.13.4",
"openapi-fetch": "0.17.0",
"zod": "4.4.3"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "0.22.0",
"@eslint/js": "10.0.1",
"ajv": "8.20.0",
"ajv-formats": "3.0.1",
"eslint": "10.9.1",
"openapi-typescript": "7.13.0",
"prettier": "3.9.6",
"smol-toml": "1.8.0",
"typescript": "5.9.3",
"typescript-eslint": "8.68.0",
"vitest": "4.1.11",
"wrangler": "4.125.0"
}
}