computer_mcp 1.0.1 → 1.0.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/server.js +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "computer_mcp",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "MCP Streamable HTTP Server with file and command execution tools",
5
5
  "main": "server.js",
6
6
  "type": "module",
package/server.js CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
4
4
  import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
5
- import { createMcpExpressApp } from "@modelcontextprotocol/sdk/server/index.js";
6
5
  import express from "express";
7
6
  import { randomUUID } from 'node:crypto';
8
7
  import { registerBashTool } from './tools/bash.js';
@@ -29,8 +28,6 @@ registerInteractiveBashTool(server);
29
28
  // registerBashTool(server);
30
29
  registerFileTools(server);
31
30
 
32
- // // 创建 Express 应用
33
- // const app = createMcpExpressApp();
34
31
  const app = express();
35
32
 
36
33
  // 健康检查端点