@aigne/example-mcp-server 0.1.0 → 0.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.0](https://github.com/AIGNE-io/aigne-framework/compare/example-mcp-server-v0.2.0...example-mcp-server-v0.3.0) (2025-07-02)
4
+
5
+
6
+ ### Features
7
+
8
+ * **cli:** support executing aigne.yaml via shebang (#!/usr/bin/env aigne) ([#211](https://github.com/AIGNE-io/aigne-framework/issues/211)) ([2a82c27](https://github.com/AIGNE-io/aigne-framework/commit/2a82c2754b5eab5c3d6e45a5cbe7f0c76d927967))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/cli bumped to 1.20.0
16
+
17
+ ## [0.2.0](https://github.com/AIGNE-io/aigne-framework/compare/example-mcp-server-v0.1.0...example-mcp-server-v0.2.0) (2025-07-01)
18
+
19
+
20
+ ### Features
21
+
22
+ * rename command serve to serve-mcp ([#206](https://github.com/AIGNE-io/aigne-framework/issues/206)) ([f3dfc93](https://github.com/AIGNE-io/aigne-framework/commit/f3dfc932b4eeb8ff956bf2d4b1b71b36bd05056e))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * dependencies
29
+ * @aigne/cli bumped to 1.19.0
30
+
3
31
  ## [0.1.0](https://github.com/AIGNE-io/aigne-framework/compare/example-mcp-server-v0.0.1...example-mcp-server-v0.1.0) (2025-07-01)
4
32
 
5
33
 
package/README.md CHANGED
@@ -17,7 +17,7 @@ The [Model Context Protocol (MCP)](https://modelcontextprotocol.io) is an open s
17
17
  OPENAI_API_KEY="" # Set your OpenAI API key here
18
18
 
19
19
  # Start the MCP server
20
- npx -y @aigne/example-mcp-server serve --mcp --port 3456
20
+ npx -y @aigne/example-mcp-server serve-mcp --port 3456
21
21
 
22
22
  # Output
23
23
  # Observability OpenTelemetry SDK Started, You can run `npx aigne observe` to start the observability server.
package/aigne.yaml CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env aigne
2
+
1
3
  chat_model:
2
4
  name: gpt-4.1
3
5
  temperature: 0.8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/example-mcp-server",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "A demonstration of using AIGNE CLI to build a MCP server",
5
5
  "author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
6
6
  "homepage": "https://github.com/AIGNE-io/aigne-framework/tree/main/examples/mcp-server",
@@ -10,9 +10,9 @@
10
10
  "url": "git+https://github.com/AIGNE-io/aigne-framework"
11
11
  },
12
12
  "type": "module",
13
- "bin": "index.js",
13
+ "bin": "aigne.yaml",
14
14
  "dependencies": {
15
- "@aigne/cli": "^1.18.1"
15
+ "@aigne/cli": "^1.20.0"
16
16
  },
17
17
  "scripts": {
18
18
  "test": "aigne test",
package/index.js DELETED
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import { spawnSync } from "node:child_process";
4
- import { argv } from "node:process";
5
-
6
- spawnSync("aigne", [...argv.slice(2)], {
7
- stdio: "inherit",
8
- cwd: import.meta.dirname,
9
- });