archgraph-argo 0.10.44 → 0.10.47
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/install-argo.ps1 +25 -2
- package/package.json +1 -1
package/install-argo.ps1
CHANGED
|
@@ -970,11 +970,34 @@ if ($SkipMcp) {
|
|
|
970
970
|
Write-Host 'Skipped MCP configuration (-SkipMcp).'
|
|
971
971
|
} else {
|
|
972
972
|
$argoServer = (Join-Path $ArgoRoot 'scripts\argo-mcp-server.js').Replace('\', '/')
|
|
973
|
-
|
|
973
|
+
# graph-mcp is a Streamable HTTP remote MCP endpoint. Its config shape is
|
|
974
|
+
# HOST-SPECIFIC (each host's mcp.json schema is different):
|
|
975
|
+
# - OpenCode (opencode.json mcp.<name>): {type: remote, url, enabled}
|
|
976
|
+
# - Cursor (mcp.json mcpServers.<name>): {url} — official remote
|
|
977
|
+
# entries carry no `type` (type only means "stdio" for local servers);
|
|
978
|
+
# Cursor dials url servers over Streamable HTTP.
|
|
979
|
+
# - VS Code (mcp.json servers.<name>): {type: http, url}
|
|
980
|
+
# - OpenClaw (openclaw.json mcp.servers.<name>): {url, transport:
|
|
981
|
+
# streamable-http} — keyed by transport, not by a type alias.
|
|
982
|
+
# Reusing one uniform {type: remote} entry across hosts is INVALID for
|
|
983
|
+
# Cursor / VS Code / OpenClaw and makes the server fail to load.
|
|
984
|
+
$graphMcpOpenCode = [ordered]@{
|
|
974
985
|
type = 'remote'
|
|
975
986
|
url = $GraphMcpUrl
|
|
976
987
|
enabled = $true
|
|
977
988
|
}
|
|
989
|
+
$graphMcpCursor = [ordered]@{
|
|
990
|
+
url = $GraphMcpUrl
|
|
991
|
+
}
|
|
992
|
+
$graphMcpVSCode = [ordered]@{
|
|
993
|
+
type = 'http'
|
|
994
|
+
url = $GraphMcpUrl
|
|
995
|
+
}
|
|
996
|
+
$openClawGraphMcpServer = [ordered]@{
|
|
997
|
+
url = $GraphMcpUrl
|
|
998
|
+
transport = 'streamable-http'
|
|
999
|
+
enabled = $true
|
|
1000
|
+
}
|
|
978
1001
|
|
|
979
1002
|
Write-Host '==> Registering argo MCP server in VS Code (GitHub Copilot)'
|
|
980
1003
|
$mcpPath = if ($McpPath) { $McpPath } else { Join-Path $env:APPDATA 'Code\User\mcp.json' }
|
|
@@ -1007,7 +1030,7 @@ if ($SkipMcp) {
|
|
|
1007
1030
|
# installer runs from a non-workspace npm-global package dir).
|
|
1008
1031
|
$openClawRepoRoot = if ($OpenClawRepoRoot) { $OpenClawRepoRoot } else { $repoRoot }
|
|
1009
1032
|
Write-Host "[22/22] argo MCP server -> $(Join-Path $OpenClawHome 'openclaw.json') (OpenClaw mcp.servers.argo, env.ARGO_REPO_ROOT pinned)"
|
|
1010
|
-
Write-OpenClawMcpConfig -OpenClawHome $OpenClawHome -RepoRoot $openClawRepoRoot -ArgoServer $argoServer -GraphMcpServer $
|
|
1033
|
+
Write-OpenClawMcpConfig -OpenClawHome $OpenClawHome -RepoRoot $openClawRepoRoot -ArgoServer $argoServer -GraphMcpServer $openClawGraphMcpServer
|
|
1011
1034
|
}
|
|
1012
1035
|
}
|
|
1013
1036
|
|
package/package.json
CHANGED