agent-gate-installer 1.5.0 → 1.6.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/install.mjs +4 -5
  2. package/package.json +1 -1
package/bin/install.mjs CHANGED
@@ -161,14 +161,13 @@ function registerMcpInClaudeJson(venvPython) {
161
161
  log(" + Registered agent-gate MCP server in ~/.claude.json");
162
162
  }
163
163
 
164
- function writeMcpConfigFile(venvPython) {
164
+ function writeMcpConfigFile() {
165
165
  const mcpConfigPath = join("/tmp", "agent-gate-mcp-config.json");
166
166
  const config = {
167
167
  mcpServers: {
168
168
  "agent-gate": {
169
- type: "stdio",
170
- command: venvPython,
171
- args: [join(INSTALL_DIR, "src", "agent_gate", "server.py")],
169
+ type: "http",
170
+ url: "http://localhost:8765/mcp",
172
171
  },
173
172
  },
174
173
  };
@@ -211,7 +210,7 @@ async function install() {
211
210
  const venvDirectory = join(INSTALL_DIR, ".venv");
212
211
  const venvPython = getVenvPython(venvDirectory);
213
212
 
214
- writeMcpConfigFile(venvPython);
213
+ writeMcpConfigFile();
215
214
  registerMcpInClaudeJson(venvPython);
216
215
 
217
216
  if (existsSync(join(INSTALL_DIR, ".git"))) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-gate-installer",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "One-command installer for agent-gate prompt evaluation gate",
5
5
  "type": "module",
6
6
  "bin": {