cv-agent-mcp 0.1.0 → 0.2.0
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.
- package/README.md +11 -3
- package/dist/mcp/server.js +2 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# cv-agent
|
|
2
2
|
|
|
3
3
|
[](https://github.com/zeiado/cv-agent/actions/workflows/ci.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/cv-agent-mcp)
|
|
4
5
|
[](LICENSE)
|
|
5
6
|
|
|
6
7
|
**Your AI already knows your career. cv-agent turns that into a CV, reviews it, and tailors it to each job, without
|
|
@@ -43,15 +44,22 @@ It's excellent, and cv-agent's `profile.json` is JSON Resume, so you can import
|
|
|
43
44
|
|
|
44
45
|
## Install
|
|
45
46
|
|
|
46
|
-
|
|
47
|
+
**Claude Desktop: one click, nothing else to install.** Download the bundle for your computer and double-click it:
|
|
47
48
|
|
|
48
|
-
|
|
49
|
+
| Windows | Mac (Apple Silicon) | Mac (Intel) |
|
|
50
|
+
| --- | --- | --- |
|
|
51
|
+
| [cv-agent-windows-x64.mcpb](https://github.com/zeiado/cv-agent/releases/latest/download/cv-agent-windows-x64.mcpb) | [cv-agent-macos-arm64.mcpb](https://github.com/zeiado/cv-agent/releases/latest/download/cv-agent-macos-arm64.mcpb) | [cv-agent-macos-x64.mcpb](https://github.com/zeiado/cv-agent/releases/latest/download/cv-agent-macos-x64.mcpb) |
|
|
52
|
+
|
|
53
|
+
**Claude Code** (requires Node 20+)
|
|
49
54
|
|
|
50
55
|
```bash
|
|
51
56
|
claude mcp add cv-agent -- npx -y cv-agent-mcp serve
|
|
52
57
|
```
|
|
53
58
|
|
|
54
|
-
|
|
59
|
+
cv-agent is also listed in the [official MCP Registry](https://registry.modelcontextprotocol.io) as
|
|
60
|
+
`io.github.zeiado/cv-agent`.
|
|
61
|
+
|
|
62
|
+
**Cursor / other MCP clients:** add to your MCP config:
|
|
55
63
|
|
|
56
64
|
```json
|
|
57
65
|
{ "mcpServers": { "cv-agent": { "command": "npx", "args": ["-y", "cv-agent-mcp", "serve"] } } }
|
package/dist/mcp/server.js
CHANGED
|
@@ -12,6 +12,7 @@ import { verifyTailored } from "../core/verify.js";
|
|
|
12
12
|
import { renderMarkdown, renderPdf, TEMPLATES } from "../render/index.js";
|
|
13
13
|
const ROOT = join(dirname(fileURLToPath(import.meta.url)), "..", "..");
|
|
14
14
|
const readPrompt = (name) => readFileSync(join(ROOT, "prompts", name), "utf8");
|
|
15
|
+
const VERSION = JSON.parse(readFileSync(join(ROOT, "package.json"), "utf8")).version;
|
|
15
16
|
const json = (v) => ({ content: [{ type: "text", text: JSON.stringify(v, null, 2) }] });
|
|
16
17
|
const fail = (e) => ({ isError: true, content: [{ type: "text", text: e instanceof Error ? e.message : String(e) }] });
|
|
17
18
|
const safe = (fn) => async (a) => { try {
|
|
@@ -22,7 +23,7 @@ catch (e) {
|
|
|
22
23
|
} };
|
|
23
24
|
export async function startServer(dir) {
|
|
24
25
|
const store = new Store(dir);
|
|
25
|
-
const server = new McpServer({ name: "cv-agent", version:
|
|
26
|
+
const server = new McpServer({ name: "cv-agent", version: VERSION }, {
|
|
26
27
|
instructions: "cv-agent stores the user's master CV profile and produces tailored CVs. Workflow: get_context_prompt -> " +
|
|
27
28
|
"import_profile -> review_cv -> analyze_job -> tailor_cv -> render_cv. Never invent experience, numbers, " +
|
|
28
29
|
"employers or skills; tailor_cv rejects them. If you already know the user well from this conversation or memory, " +
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cv-agent-mcp",
|
|
3
|
-
"
|
|
3
|
+
"mcpName": "io.github.zeiado/cv-agent",
|
|
4
|
+
"version": "0.2.0",
|
|
4
5
|
"description": "Agent-native CV builder, reviewer and tailor. Runs inside your AI agent as an MCP server — no API key, no invented experience.",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"bin": {
|
|
@@ -22,7 +23,9 @@
|
|
|
22
23
|
"dev": "tsx src/cli.ts",
|
|
23
24
|
"test": "vitest run",
|
|
24
25
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
25
|
-
"prepublishOnly": "npm run build && npm test"
|
|
26
|
+
"prepublishOnly": "npm run build && npm test",
|
|
27
|
+
"version": "node scripts/sync-version.mjs && git add server.json",
|
|
28
|
+
"build:mcpb": "npm run build && node scripts/build-mcpb.mjs"
|
|
26
29
|
},
|
|
27
30
|
"repository": {
|
|
28
31
|
"type": "git",
|