@projora/mcp-server 1.3.0 → 1.3.1
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/build/index.js +8 -0
- package/package.json +2 -1
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,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projora/mcp-server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
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
6
|
"bin": {
|
|
7
|
+
"mcp-server": "./build/index.js",
|
|
7
8
|
"projora-mcp": "./build/index.js",
|
|
8
9
|
"projora-mcp-setup": "./build/setup.js"
|
|
9
10
|
},
|