@projora/mcp-server 1.3.0 → 1.3.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/build/index.js +8 -0
  2. package/package.json +2 -5
package/build/index.js CHANGED
@@ -1121,6 +1121,14 @@ server.registerTool("get_project", {
1121
1121
  });
1122
1122
  // Main function to run the server
1123
1123
  async function main() {
1124
+ // Check if "setup" command was passed
1125
+ const args = process.argv.slice(2);
1126
+ if (args.includes('setup') || args.includes('--setup')) {
1127
+ // Dynamically import and run the setup script
1128
+ const setupModule = await import('./setup.js');
1129
+ return; // Setup script handles its own execution
1130
+ }
1131
+ // Otherwise, start the MCP server
1124
1132
  const transport = new StdioServerTransport();
1125
1133
  await server.connect(transport);
1126
1134
  console.error("Projora MCP Server running on stdio");
package/package.json CHANGED
@@ -1,12 +1,9 @@
1
1
  {
2
2
  "name": "@projora/mcp-server",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "MCP server for Projora task management - integrate with Claude Code and OpenCode to manage tasks, update statuses, and track work",
5
5
  "type": "module",
6
- "bin": {
7
- "projora-mcp": "./build/index.js",
8
- "projora-mcp-setup": "./build/setup.js"
9
- },
6
+ "bin": "./build/index.js",
10
7
  "main": "./build/index.js",
11
8
  "scripts": {
12
9
  "build": "tsc && chmod 755 build/index.js build/setup.js",