Commit c5c56ff
feat: add stdio CLI entry point for local npx usage
Adds mcp-server/src/cli.ts — a stdio entry point that wires the existing
createServer() tool registration to StdioServerTransport, using the
pre-bundled skills.json so it works both locally and when installed via npx.
Also adds bin field (claude-education-skills → dist/cli.js), files field
(dist + src/skills.json), and a postbuild script that copies skills.json
into dist/ so require('./skills.json') resolves correctly at runtime.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent feefebf commit c5c56ff
2 files changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
| 17 | + | |
10 | 18 | | |
11 | 19 | | |
12 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments