@agentic-forge/mcp 1.1.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/bin/mcp.js +28 -0
  2. package/package.json +28 -0
package/bin/mcp.js ADDED
@@ -0,0 +1,28 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { spawn } = require('child_process');
5
+ const path = require('path');
6
+
7
+ // Spawn the Python MCP server
8
+ const pythonProcess = spawn('python3', ['-m', 'agentforge.mcp'], {
9
+ stdio: ['pipe', 'pipe', 'inherit']
10
+ });
11
+
12
+ // Pipe stdin to the python process
13
+ process.stdin.pipe(pythonProcess.stdin);
14
+
15
+ // Pipe python stdout to the process stdout
16
+ pythonProcess.stdout.pipe(process.stdout);
17
+
18
+ pythonProcess.on('exit', (code) => {
19
+ process.exit(code);
20
+ });
21
+
22
+ process.on('SIGINT', () => {
23
+ pythonProcess.kill('SIGINT');
24
+ });
25
+
26
+ process.on('SIGTERM', () => {
27
+ pythonProcess.kill('SIGTERM');
28
+ });
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@agentic-forge/mcp",
3
+ "version": "1.1.0",
4
+ "description": "AgentForge MCP — The Model Context Protocol Gateway for Autonomous Intelligence.",
5
+ "bin": {
6
+ "agentforge-mcp": "bin/mcp.js"
7
+ },
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "files": [
12
+ "bin/",
13
+ "README.md",
14
+ "LICENSE"
15
+ ],
16
+ "keywords": [
17
+ "mcp",
18
+ "agentforge",
19
+ "ai-tools",
20
+ "llm",
21
+ "context-protocol"
22
+ ],
23
+ "author": "sairamugge",
24
+ "license": "MIT",
25
+ "dependencies": {
26
+ "commander": "^11.0.0"
27
+ }
28
+ }