@renseiai/agentfactory-mcp-server 0.8.0 → 0.8.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.
- package/LICENSE +21 -0
- package/README.md +77 -0
- package/dist/src/cli.js +0 -0
- package/package.json +9 -19
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Rensei AI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# @renseiai/agentfactory-mcp-server
|
|
2
|
+
|
|
3
|
+
MCP server that exposes [AgentFactory](https://github.com/renseiai/agentfactory) fleet management capabilities to any MCP-aware client (Claude Desktop, Cursor, etc.).
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @renseiai/agentfactory-mcp-server
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Requires a running Redis instance and the `@renseiai/agentfactory-server` package for session storage.
|
|
12
|
+
|
|
13
|
+
## Tools
|
|
14
|
+
|
|
15
|
+
| Tool | Description |
|
|
16
|
+
|------|-------------|
|
|
17
|
+
| `submit-task` | Submit a development task to the fleet work queue |
|
|
18
|
+
| `get-task-status` | Get current status of a task by session or issue ID |
|
|
19
|
+
| `list-fleet` | List agents and their statuses with optional filtering |
|
|
20
|
+
| `get-cost-report` | Get cost/token usage for a task or the entire fleet |
|
|
21
|
+
| `forward-prompt` | Forward a follow-up prompt to a running agent session |
|
|
22
|
+
| `stop-agent` | Request to stop a running agent |
|
|
23
|
+
|
|
24
|
+
Real-time fleet resources are also available via MCP resource subscriptions with notification polling.
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
### Claude Desktop
|
|
29
|
+
|
|
30
|
+
Add to your `claude_desktop_config.json`:
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"mcpServers": {
|
|
35
|
+
"agentfactory": {
|
|
36
|
+
"command": "npx",
|
|
37
|
+
"args": ["@renseiai/agentfactory-mcp-server", "--stdio"]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### HTTP
|
|
44
|
+
|
|
45
|
+
Start the server on a specific port for remote access:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
af-mcp-server --port 3100
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### CLI Flags
|
|
52
|
+
|
|
53
|
+
| Flag | Description |
|
|
54
|
+
|------|-------------|
|
|
55
|
+
| `--stdio` | Use STDIO transport (for IDE integration) |
|
|
56
|
+
| `--port <number>` | Start HTTP transport on the given port |
|
|
57
|
+
| `--host <address>` | Bind HTTP server to a specific address |
|
|
58
|
+
|
|
59
|
+
## Environment Variables
|
|
60
|
+
|
|
61
|
+
| Variable | Required | Description |
|
|
62
|
+
|----------|----------|-------------|
|
|
63
|
+
| `REDIS_URL` | Yes | Redis connection URL (e.g., `redis://localhost:6379`) |
|
|
64
|
+
| `MCP_AUTH_SECRET` | No | API key for MCP authentication |
|
|
65
|
+
|
|
66
|
+
## Related Packages
|
|
67
|
+
|
|
68
|
+
| Package | Description |
|
|
69
|
+
|---------|-------------|
|
|
70
|
+
| [@renseiai/agentfactory](https://www.npmjs.com/package/@renseiai/agentfactory) | Core orchestrator |
|
|
71
|
+
| [@renseiai/agentfactory-server](https://www.npmjs.com/package/@renseiai/agentfactory-server) | Redis-backed work queue and session storage |
|
|
72
|
+
| [@renseiai/agentfactory-cli](https://www.npmjs.com/package/@renseiai/agentfactory-cli) | CLI tools (worker, orchestrator) |
|
|
73
|
+
| [@renseiai/agentfactory-nextjs](https://www.npmjs.com/package/@renseiai/agentfactory-nextjs) | Next.js webhook server |
|
|
74
|
+
|
|
75
|
+
## License
|
|
76
|
+
|
|
77
|
+
MIT
|
package/dist/src/cli.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@renseiai/agentfactory-mcp-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MCP server exposing AgentFactory fleet capabilities to MCP-aware clients",
|
|
6
6
|
"author": "Rensei AI (https://rensei.ai)",
|
|
@@ -10,33 +10,24 @@
|
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "git+https://github.com/RenseiAI/agentfactory.git",
|
|
14
14
|
"directory": "packages/mcp-server"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
17
|
-
"access": "public"
|
|
18
|
-
"exports": {
|
|
19
|
-
".": {
|
|
20
|
-
"types": "./dist/src/index.d.ts",
|
|
21
|
-
"import": "./dist/src/index.js",
|
|
22
|
-
"default": "./dist/src/index.js"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"main": "./dist/src/index.js",
|
|
26
|
-
"types": "./dist/src/index.d.ts"
|
|
17
|
+
"access": "public"
|
|
27
18
|
},
|
|
28
19
|
"main": "./dist/src/index.js",
|
|
29
20
|
"module": "./dist/src/index.js",
|
|
30
21
|
"types": "./dist/src/index.d.ts",
|
|
31
22
|
"exports": {
|
|
32
23
|
".": {
|
|
33
|
-
"types": "./src/index.ts",
|
|
24
|
+
"types": "./dist/src/index.d.ts",
|
|
34
25
|
"import": "./dist/src/index.js",
|
|
35
26
|
"default": "./dist/src/index.js"
|
|
36
27
|
}
|
|
37
28
|
},
|
|
38
29
|
"bin": {
|
|
39
|
-
"af-mcp-server": "
|
|
30
|
+
"af-mcp-server": "dist/src/cli.js"
|
|
40
31
|
},
|
|
41
32
|
"files": [
|
|
42
33
|
"dist",
|
|
@@ -45,8 +36,8 @@
|
|
|
45
36
|
],
|
|
46
37
|
"dependencies": {
|
|
47
38
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
39
|
+
"zod": "^4.3.6",
|
|
40
|
+
"@renseiai/agentfactory-server": "0.8.2"
|
|
50
41
|
},
|
|
51
42
|
"devDependencies": {
|
|
52
43
|
"@types/node": "^22.5.4",
|
|
@@ -58,7 +49,6 @@
|
|
|
58
49
|
"typecheck": "tsc --noEmit",
|
|
59
50
|
"test": "vitest run --passWithNoTests",
|
|
60
51
|
"test:watch": "vitest",
|
|
61
|
-
"clean": "rm -rf dist"
|
|
62
|
-
"prepublishOnly": "pnpm clean && pnpm build"
|
|
52
|
+
"clean": "rm -rf dist"
|
|
63
53
|
}
|
|
64
|
-
}
|
|
54
|
+
}
|