Skip to content

s-gw vs XERJ

s-gw is a free MCP server for security. XERJ is an open-source MCP server for knowledge and memory.

  • s-gw is best for let an agent run an aws read-only command with your approval.
  • XERJ is best for search local code and docs from an agent.
What it is
s-gw is a free MCP server for security.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Let an agent run an AWS read-only command with your approval
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Free
Open source
Platforms
CLI, macOS, Linux, Windows
CLI, Linux, macOS, self-hosted, API
Runs
Locally
Locally
GitHub stars
19.2K
Last commit
Nov 2026
License
Apache-2.0
Open source
Good for
Let an agent run an AWS read-only command with your approval; Stop API tokens from leaking into model context; Audit which agent used which credential and when
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

What s-gw does

  • Typed credential handles

    Agents reference named handles and never receive plaintext values.

  • Local approvals

    Review agent, command, target and working directory before access.

  • Constrained execution

    Injects the credential only into the approved child process.

  • Output sanitization

    Scans output and replaces detected secrets with handles.

  • Audit trail

    Logs request, approval, execution and destination without raw secrets.

  • Agent profiles

    Setup for Codex, Claude Code, Cursor, OpenCode, Gemini CLI, Copilot and VS Code.

What XERJ does

  • Single binary

    Search, vectors, facts and memory in one Rust program.

  • Evidence-backed answers

    Answers come with the program and evidence used.

  • Runs locally

    Works offline on a CPU, on a laptop or server.

  • Elasticsearch-compatible API

    Exposes an API compatible with Elasticsearch.

  • Reference coding

    Index open-source repos so agents consult real definitions.

  • MCP integration

    Stdio MCP server connects to a running node.

s-gw vs XERJ: questions

Is s-gw or XERJ cheaper?

Both are free. Compare current plans on each official site.

What is the difference between s-gw and XERJ?

s-gw is a free MCP server for security. XERJ is an open-source MCP server for knowledge and memory.