@ourroadmaps/mcp 0.9.0 → 0.10.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -475,7 +475,8 @@ class ApiClient {
475
475
  });
476
476
  if (!response.ok) {
477
477
  const error = await response.json().catch(() => ({ message: response.statusText }));
478
- throw new Error(`API Error (${response.status}): ${error.error?.message || error.message}`);
478
+ const errorMessage = error.error?.message || error.message || "Unknown error";
479
+ throw new Error(`API Error (${response.status}): ${errorMessage} - Path: ${path}`);
479
480
  }
480
481
  if (response.status === 204) {
481
482
  return;
@@ -569,9 +570,9 @@ class ApiClient {
569
570
  return response.data;
570
571
  }
571
572
  async linkFeatureToRoadmap(featureId, roadmapId) {
572
- await this.request(`/v1/features/${featureId}/roadmap-items`, {
573
+ await this.request(`/v1/features/${featureId}/roadmap-links`, {
573
574
  method: "POST",
574
- body: JSON.stringify({ roadmapItemId: roadmapId })
575
+ body: JSON.stringify({ roadmapId })
575
576
  });
576
577
  }
577
578
  async listIdeas() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ourroadmaps/mcp",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "MCP server for OurRoadmaps - manage roadmaps, features, and ideas from Claude Code",
5
5
  "type": "module",
6
6
  "bin": {