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.
Files changed (2) hide show
  1. package/install-argo.ps1 +22 -9
  2. 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
- $graphMcpServer = [ordered]@{
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
- # OpenClaw MCP servers are keyed by `transport` (streamable-http / sse /
979
- # stdio), not by a `type: remote` alias: canonicalizeConfiguredMcpServer only
980
- # maps type http/streamable-http/sse/stdio to a transport, so a bare
981
- # {type:remote,url} entry would be dialed over SSE and the streamable-http
982
- # endpoint returns 404 (openclaw mcp probe graph-mcp: SSE error Non-200 404).
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' = $graphMcpServer })
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' = $graphMcpServer })
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' = $graphMcpServer })
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archgraph-argo",
3
- "version": "0.10.46",
3
+ "version": "0.10.48",
4
4
  "description": "Deploy the ArchGraph ARGO toolchain, skills, and rules (schema, scripts, argo-init skill, global rule) with one command.",
5
5
  "license": "MIT",
6
6
  "bin": {