mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-26 06:01:49 +00:00
feat(mcp): add codex preset for built-in MCP server discovery
Adds 'codex' to the _MCP_PRESETS registry so users can add it via
Connecting to 'codex'...
✓ Connected! Found 2 tool(s) from 'codex':
codex Run a Codex session. Accepts configuration parameters matchi...
codex-reply Continue a Codex conversation by providing the thread id and...
Enable all 2 tools? [Y/n/select]:
Cancelled. without manually specifying
the command and args.
Enables: codex mcp-server → Hermes native MCP client → Codex tools
available as first-class Hermes tools.
This commit is contained in:
parent
684fd14db0
commit
9aefa74a9f
1 changed files with 6 additions and 1 deletions
|
|
@ -31,7 +31,12 @@ logger = logging.getLogger(__name__)
|
||||||
_ENV_VAR_NAME_RE = re.compile(r"^[A-Za-z_][A-Za-z0-9_]*$")
|
_ENV_VAR_NAME_RE = re.compile(r"^[A-Za-z_][A-Za-z0-9_]*$")
|
||||||
|
|
||||||
|
|
||||||
_MCP_PRESETS: Dict[str, Dict[str, Any]] = {}
|
_MCP_PRESETS: Dict[str, Dict[str, Any]] = {
|
||||||
|
"codex": {
|
||||||
|
"command": "codex",
|
||||||
|
"args": ["mcp-server"],
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# ─── UI Helpers ───────────────────────────────────────────────────────────────
|
# ─── UI Helpers ───────────────────────────────────────────────────────────────
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue