Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix(mcp): clarify update_resume and server instructions for directory review

Amruth Pillai5f841d8941b3
diff --git a/apps/server/src/mcp/server.ts b/apps/server/src/mcp/server.ts
index 182617f29..55b08b727 100644
--- a/apps/server/src/mcp/server.ts
+++ b/apps/server/src/mcp/server.ts
@@ -55,15 +55,12 @@ export function createMcpServer(
) {
const server = new McpServer(buildMcpServerInfo(appVersion), {
instructions: [
- "You are connected to Reactive Resume over MCP.",
- "Authenticate with OAuth (recommended) or an API key (`x-api-key`).",
- `Discover resume IDs with \`${MCP_TOOL_NAME.listResumes}\` (not \`resources/list\`).`,
- `List distinct tags with \`${MCP_TOOL_NAME.listResumeTags}\`.`,
- `Read schema at \`resume://_meta/schema\`; read resume JSON via \`resume://{id}\` or \`${MCP_TOOL_NAME.getResume}\`.`,
- `Apply body edits with JSON Patch through \`${MCP_TOOL_NAME.patchResume}\`.`,
- `Change name, slug, tags, or public visibility with \`${MCP_TOOL_NAME.updateResume}\` (returns canonical share URL; anonymous access only when \`isPublic\` is true).`,
- `Create short-lived authenticated PDF download URLs with \`${MCP_TOOL_NAME.downloadResumePdf}\`. Export letters separately with \`${MCP_TOOL_NAME.exportCoverLetter}\`.`,
- `Import full ResumeData JSON with \`${MCP_TOOL_NAME.importResume}\`.`,
+ "Reactive Resume holds the user's resumes, cover letters and job applications.",
+ `Find resume IDs with \`${MCP_TOOL_NAME.listResumes}\` and read one with \`${MCP_TOOL_NAME.getResume}\`; the resume JSON Schema is the \`resume://_meta/schema\` resource.`,
+ `Edit resume content with JSON Patch through \`${MCP_TOOL_NAME.patchResume}\`, and change a resume's name, slug, tags or public visibility with \`${MCP_TOOL_NAME.updateResume}\`.`,
+ `Track job applications with the application tools, starting from \`${MCP_TOOL_NAME.listApplications}\`.`,
+ `Get a short-lived PDF link with \`${MCP_TOOL_NAME.downloadResumePdf}\`; export cover letters with \`${MCP_TOOL_NAME.exportCoverLetter}\`.`,
+ "Tools named api_* expose the rest of the Reactive Resume API. Tools that involve passwords, API keys or AI provider keys return a link to finish in the app.",
].join(" "),
});
diff --git a/packages/mcp/src/parity.ts b/packages/mcp/src/parity.ts
index 58ead718c..471baaae3 100644
--- a/packages/mcp/src/parity.ts
+++ b/packages/mcp/src/parity.ts
@@ -137,11 +137,12 @@ const destructiveWrites = new Set([
"career.applyReply",
"agent.messages.stop",
]);
-// Changes what a public resume link shows, or sends content to the user's AI provider.
+// Changes what a public resume link or uploaded file URL shows, or sends content to the user's AI provider.
const openWorldPaths = new Set([
"resume.update",
"resume.restoreVersion",
"resume.removePassword",
+ "rest.fileUpload",
"coverLetters.draft",
"career.saveSchedule",
"agent.messages.send",
diff --git a/packages/mcp/src/tool-meta.ts b/packages/mcp/src/tool-meta.ts
index b1d44e88f..dc73912f2 100644
--- a/packages/mcp/src/tool-meta.ts
+++ b/packages/mcp/src/tool-meta.ts
@@ -425,12 +425,12 @@ const BASE_TOOL_META = {
annotations: { ...WRITE_NON_IDEMPOTENT, destructiveHint: true, openWorldHint: true },
},
[T.updateResume]: {
- title: "Update Resume (metadata)",
+ title: "Update Resume",
description: [
- "Update resume display name, URL slug, tags, visibility, download settings, or full document data.",
- "Prefer JSON Patch with expectedUpdatedAt for content edits to avoid overwriting concurrent changes.",
+ "Update a resume's settings (display name, URL slug, tags, public visibility, download buttons), or replace its whole content with `data`.",
+ `For content edits prefer \`${T.patchResume}\` with expectedUpdatedAt, which changes only what it targets and avoids overwriting concurrent changes.`,
`Locked resumes cannot be updated. Ask the user before unlocking with \`${T.unlockResume}\`.`,
- "Use the account security workflow to manage password protection.",
+ "To set a share password, `api_resume_set_password` opens the resume in the app.",
"",
"Always returns your canonical share URL (`{app}/{username}/{slug}`). Anonymous viewers can use it only when `isPublic` is true; password protection from the web app still applies.",
].join("\n"),