archgraph-argo 0.10.46 → 0.10.48
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 +22 -9
- package/package.json +1 -1
package/install-argo.ps1
CHANGED
|
@@ -970,16 +970,29 @@ 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
|
}
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
989
|
+
$graphMcpCursor = [ordered]@{
|
|
990
|
+
url = $GraphMcpUrl
|
|
991
|
+
}
|
|
992
|
+
$graphMcpVSCode = [ordered]@{
|
|
993
|
+
type = 'http'
|
|
994
|
+
url = $GraphMcpUrl
|
|
995
|
+
}
|
|
983
996
|
$openClawGraphMcpServer = [ordered]@{
|
|
984
997
|
url = $GraphMcpUrl
|
|
985
998
|
transport = 'streamable-http'
|
|
@@ -992,7 +1005,7 @@ if ($SkipMcp) {
|
|
|
992
1005
|
type = 'stdio'
|
|
993
1006
|
command = 'node'
|
|
994
1007
|
args = @($argoServer)
|
|
995
|
-
}) -ExtraServers ([ordered]@{ 'graph-mcp' = $
|
|
1008
|
+
}) -ExtraServers ([ordered]@{ 'graph-mcp' = $graphMcpVSCode })
|
|
996
1009
|
Write-Host "argo MCP config written -> $mcpPath"
|
|
997
1010
|
|
|
998
1011
|
Write-Host '==> Registering argo MCP server in Cursor'
|
|
@@ -1000,7 +1013,7 @@ if ($SkipMcp) {
|
|
|
1000
1013
|
type = 'stdio'
|
|
1001
1014
|
command = 'node'
|
|
1002
1015
|
args = @($argoServer)
|
|
1003
|
-
}) -ExtraServers ([ordered]@{ 'graph-mcp' = $
|
|
1016
|
+
}) -ExtraServers ([ordered]@{ 'graph-mcp' = $graphMcpCursor })
|
|
1004
1017
|
Write-Host "argo MCP config written -> $CursorMcpPath"
|
|
1005
1018
|
|
|
1006
1019
|
Write-Host '==> Registering argo MCP server in OpenCode'
|
|
@@ -1008,7 +1021,7 @@ if ($SkipMcp) {
|
|
|
1008
1021
|
type = 'local'
|
|
1009
1022
|
command = @('node', $argoServer)
|
|
1010
1023
|
enabled = $true
|
|
1011
|
-
}) -ExtraServers ([ordered]@{ 'graph-mcp' = $
|
|
1024
|
+
}) -ExtraServers ([ordered]@{ 'graph-mcp' = $graphMcpOpenCode })
|
|
1012
1025
|
Write-Host "argo MCP config written -> $OpenCodeConfigPath"
|
|
1013
1026
|
|
|
1014
1027
|
if (-not $SkipOpenClaw) {
|
package/package.json
CHANGED