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.
- package/bin/install.mjs +4 -5
- 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(
|
|
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: "
|
|
170
|
-
|
|
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(
|
|
213
|
+
writeMcpConfigFile();
|
|
215
214
|
registerMcpInClaudeJson(venvPython);
|
|
216
215
|
|
|
217
216
|
if (existsSync(join(INSTALL_DIR, ".git"))) {
|