mcp-agents 0.5.4 → 0.5.5

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/README.md +31 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -37,7 +37,9 @@ mcp-agents
37
37
  # Specific provider
38
38
  mcp-agents --provider claude
39
39
  mcp-agents --provider gemini
40
- mcp-agents --provider gemini --sandbox false
40
+
41
+ # Optional: enable Gemini sandbox mode
42
+ mcp-agents --provider gemini --sandbox true
41
43
  ```
42
44
 
43
45
  The server speaks [JSON-RPC over stdio](https://modelcontextprotocol.io/docs/concepts/transports#stdio). It prints `[mcp-agents] ready (provider: <name>)` to stderr when it's listening.
@@ -96,7 +98,20 @@ Add entries to your project's `.mcp.json` (requires `npm i -g mcp-agents`):
96
98
  },
97
99
  "gemini": {
98
100
  "command": "mcp-agents",
99
- "args": ["--provider", "gemini", "--sandbox", "false"]
101
+ "args": ["--provider", "gemini"]
102
+ }
103
+ }
104
+ }
105
+ ```
106
+
107
+ Optional Gemini sandbox mode in `.mcp.json`:
108
+
109
+ ```json
110
+ {
111
+ "mcpServers": {
112
+ "gemini": {
113
+ "command": "mcp-agents",
114
+ "args": ["--provider", "gemini", "--sandbox", "true"]
100
115
  }
101
116
  }
102
117
  }
@@ -136,16 +151,28 @@ Override codex defaults at server startup (not via `tools/call` arguments):
136
151
 
137
152
  ## Integration with OpenAI Codex
138
153
 
139
- Add two entries to `~/.codex/config.toml` — one per provider you want available:
154
+ Add two entries to `~/.codex/config.toml` — one per provider you want available.
155
+ Set `tool_timeout_sec = 300` to avoid Codex MCP's default 60s per-tool timeout:
140
156
 
141
157
  ```toml
142
158
  [mcp_servers.claude-code]
143
159
  command = "mcp-agents"
144
160
  args = ["--provider", "claude"]
161
+ tool_timeout_sec = 300
145
162
 
146
163
  [mcp_servers.gemini]
147
164
  command = "mcp-agents"
148
- args = ["--provider", "gemini", "--sandbox", "false"]
165
+ args = ["--provider", "gemini"]
166
+ tool_timeout_sec = 300
167
+ ```
168
+
169
+ Optional Gemini sandbox mode in Codex config:
170
+
171
+ ```toml
172
+ [mcp_servers.gemini]
173
+ command = "mcp-agents"
174
+ args = ["--provider", "gemini", "--sandbox", "true"]
175
+ tool_timeout_sec = 300
149
176
  ```
150
177
 
151
178
  Then in a Codex session you can call the `claude_code` or `gemini` tools, which shell out to the respective CLIs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-agents",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "MCP server that wraps AI CLI tools (Claude Code, Gemini CLI, Codex CLI) for use by any MCP client",
5
5
  "type": "module",
6
6
  "bin": {