@scoutagent/mcp-server 1.0.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/index.js +21 -0
  2. package/package.json +16 -0
package/index.js ADDED
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+
3
+ console.log("✅ @scoutagent/mcp-server 已启动");
4
+ console.log("MCP Server for ScoutAgent");
5
+
6
+ // 简单示例:接收命令行参数
7
+ const args = process.argv.slice(2);
8
+ if (args.length > 0) {
9
+ console.log("收到参数:", args);
10
+ } else {
11
+ console.log("使用方法: npx @scoutagent/mcp-server [参数]");
12
+ }
13
+
14
+ // 这里以后可以添加真正的 MCP Server 逻辑console.log("✅ @scoutagent/mcp-server 已启动");
15
+ console.log("MCP Server for ScoutAgent");
16
+ const args = process.argv.slice(2);
17
+ if (args.length > 0) {
18
+ console.log("收到参数:", args);
19
+ } else {
20
+ console.log("使用方法: npx @scoutagent/mcp-server [参数]");
21
+ }
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "@scoutagent/mcp-server",
3
+ "version": "1.0.0",
4
+ "description": "MCP Server for ScoutAgent",
5
+ "main": "index.js",
6
+ "type": "module",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "keywords": ["mcp", "scoutagent"],
11
+ "author": "",
12
+ "license": "ISC",
13
+ "publishConfig": {
14
+ "access": "public"
15
+ }
16
+ }