Skip to content

enhancement: auto-register Hermes plugin + MCP server in ✓ Pi skill installed: /Users/ajianaz/.agents/skills/uteke-memory Restart your agent to activate. #385

Closed

Description

@ajianaz

Description

uteke init --agent hermes generates a Hermes plugin template but does not register the plugin or set up the MCP server path. Additionally, uteke hook zsh generates a project-context-only hook — it doesn't set up any MCP/pipe integration for AI agents.

What uteke init --agent hermes Currently Does

Generates a Python plugin file with inline instructions (manual copy to ~/.hermes/plugins/) but doesn't:

  1. Auto-register the plugin with Hermes (hermes plugins enable)
  2. Provide an MCP stdio server — users must either build their own or use the REST HTTP endpoint directly
  3. Include the uteke-mcp binary in the release tarball (it's a separate binary that may or may not exist)

Suggested Improvements

1. Include uteke-mcp binary in release tarballs

The v0.2.0 release tarball only contains uteke and uteke-serve. If uteke-mcp exists as a separate binary (as mentioned in the README), it should be included in the archive alongside uteke and uteke-serve.

2. Make uteke init --agent hermes more opinionated

Instead of generating a plugin template that requires manual steps:

# Current (manual)
uteke init --agent hermes
# → "Copy the generated file to ~/.hermes/plugins/uteke-tool/"
# → "Run: hermes plugins enable uteke-tool"

Do it automatically:

# Proposed (automatic)
uteke init --agent hermes
# ✓ Generated ~/.hermes/plugins/uteke-tool/plugin.yaml
# ✓ Generated ~/.hermes/plugins/uteke-tool/tool.py
# → "Run: hermes plugins enable uteke-tool (or start new session)"

3. MCP server discovery

If uteke-mcp binary is available on PATH, uteke init --agent hermes could auto-register it as an MCP server:

hermes mcp add uteke --command $(which uteke-mcp)

4. Shell hook scope

uteke hook zsh only sets UTEKE_PROJECT_STORE for project-local DB discovery. For AI agent integration, the hook could also:

  • Export UTEKE_SERVER_URL if uteke-serve is running (check port/health)
  • Print a summary of the current project's memory count (for context injection)

Environment

  • uteke version: 0.2.0
  • Platform: macOS (Apple Silicon)
  • Agent: Hermes

Workaround

Currently I have a working setup using:

  1. LaunchAgent for auto-starting uteke-serve on port 8767
  2. Custom MCP server (uteke-mcp-server) — a Python script using the MCP SDK that proxies to uteke-serve HTTP API
  3. Hermes MCP config — hermes mcp add uteke --command python3 -u uteke-mcp-server
  4. Shell hook in ~/.zshrc for project-local context

This required significant manual work that could be automated by uteke init.

Activity

  1. added
    enhancement
    scope:cli
    type:feature
    on Jun 18, 2026
  2. added 2 commits that reference this issue on Jun 19, 2026
  3. added a commit that references this issue on Jun 19, 2026
  4. added a commit that references this issue on Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:mediumscope:clitype:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions