fathom-mcp 0.2.1 → 0.2.2

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +3 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fathom-mcp",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "MCP server for Fathom — vault operations, search, rooms, and cross-workspace communication",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -213,7 +213,6 @@ const tools = [
213
213
  properties: {
214
214
  room: { type: "string", description: "Room name, e.g. 'general', 'navier-stokes'. Created on first post." },
215
215
  message: { type: "string", description: "Message to post. Use @workspace to mention and notify specific workspaces (e.g. '@fathom check this'), or @all for everyone." },
216
- sender: { type: "string", description: `Who is posting (defaults to workspace name: "${config.workspace}")` },
217
216
  },
218
217
  required: ["room", "message"],
219
218
  },
@@ -278,8 +277,7 @@ const tools = [
278
277
  type: "object",
279
278
  properties: {
280
279
  workspace: { type: "string", description: "Target workspace name — run fathom_workspaces to see available options" },
281
- message: { type: "string", description: "Message to send to the target workspace's Claude instance" },
282
- from: { type: "string", description: `Your workspace name so the recipient knows who sent it (defaults to "${config.workspace}")` },
280
+ message: { type: "string", description: "Message to send to the target workspace's agent instance" },
283
281
  },
284
282
  required: ["workspace", "message"],
285
283
  },
@@ -411,7 +409,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
411
409
  result = await client.hybridSearch(args.query, { limit: args.limit, ws: args.workspace });
412
410
  break;
413
411
  case "fathom_room_post":
414
- result = await client.roomPost(args.room, args.message, args.sender || config.workspace);
412
+ result = await client.roomPost(args.room, args.message, config.workspace);
415
413
  break;
416
414
  case "fathom_room_read":
417
415
  result = await client.roomRead(args.room, args.hours);
@@ -428,7 +426,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
428
426
  case "fathom_send":
429
427
  // Send is implemented server-side (it manages tmux sessions)
430
428
  result = await client.request?.("POST", `/api/room/${encodeURIComponent("__dm__")}`, {
431
- body: { message: `Message from workspace (${args.from || config.workspace}): ${args.message}`, sender: args.from || config.workspace },
429
+ body: { message: `Message from workspace (${config.workspace}): ${args.message}`, sender: config.workspace },
432
430
  });
433
431
  // For now, fall back to error until server implements /api/send
434
432
  if (!result || result.error) {