@motiblog/mcp 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motiblog/mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "MotiBlog MCP server — run a whole blog from an agent: propose topics, generate, fact-check, approve through a governed gate, publish, or export to your own codebase",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://motiblog.ai/mcp",
@@ -23,6 +23,7 @@
23
23
  "//main": "src/lib.ts is the importable surface — pure re-exports. src/index.ts (stdio) and src/http.ts (standalone HTTP) execute on import, so they are run through the scripts below and must never be `main`: the API imports this package in-process.",
24
24
  "main": "dist/lib.js",
25
25
  "//publishConfig": "The workspace consumes raw TypeScript; npm consumers cannot. pnpm swaps these fields into the published manifest, so `main`/`bin` point at the tsup build in the tarball while apps/api keeps resolving src/ in development.",
26
+ "//bin-mcp": "The `mcp` alias is what makes `npx -y @motiblog/mcp` work. npx resolves the bin whose key matches the package's unscoped name; with only motiblog-mcp/-http it fails with 'could not determine executable to run'. Verified against the published 0.1.0 before adding this. Do not remove it.",
26
27
  "publishConfig": {
27
28
  "access": "public"
28
29
  },
@@ -58,6 +59,7 @@
58
59
  },
59
60
  "types": "dist/lib.d.ts",
60
61
  "bin": {
62
+ "mcp": "dist/index.js",
61
63
  "motiblog-mcp": "dist/index.js",
62
64
  "motiblog-mcp-http": "dist/http.js"
63
65
  }