Skip to content

feat(mcp): add prompts, resources, and LobeHub badge - #5

Merged
enwaiax merged 2 commits into
mainfrom
feat/mcp-prompts-resources
Mar 29, 2026
Merged

enwaiax merged 2 commits into
mainfrom
feat/mcp-prompts-resources

Conversation

@enwaiax

@enwaiax enwaiax commented Mar 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add 3 MCP Prompts powered by live runtime state:

    • shuttle_overview — full environment snapshot (nodes, sessions, security rules, pool)
    • safe_command_check — pre-execution security rule assessment
    • node_context — complete operational context for a specific node (config, session, rules, command history)
  • Add 6 MCP Resources exposing structured context data:

    • shuttle://nodes — all configured nodes
    • shuttle://nodes/{name} — node detail with connection pool state
    • shuttle://security-rules — rules grouped by level
    • shuttle://sessions — active sessions with cwd and bypass state
    • shuttle://pool-status — connection pool health and config
    • shuttle://logs/{node}/recent — recent command history per node
  • Add LobeHub MCP Badge to README for marketplace ownership claim

  • Add LogRepo.list_by_node() for per-node command history queries

  • Bump version to 0.3.1

Motivation

Meet LobeHub MCP Marketplace quality standards:

  • Tools (5 existing)
  • Prompts (3 new)
  • Resources (6 new)
  • GitHub Badge claim

Test plan

  • All 207 tests pass (pytest -x -q)
  • Ruff lint clean
  • Verify prompts/resources discoverable in MCP Inspector

Made with Cursor

enwaiax added 2 commits March 29, 2026 15:37
…ace compliance

- Add 3 MCP prompts leveraging runtime state: shuttle_overview,
  safe_command_check, node_context
- Add 6 MCP resources exposing live data: nodes, node detail,
  security rules, sessions, pool status, command logs
- Add LogRepo.list_by_node() for per-node command history queries
- Add LobeHub MCP badge to README.md and README_CN.md
- Shorten Docs badge text, reorder badges (MCP first)

Made-with: Cursor
…d logs resources

- Rewrite prompts to leverage live system state (nodes, sessions,
  security rules, connection pool) instead of static templates
- Add safe_command_check prompt for pre-execution security assessment
- Add shuttle://pool-status and shuttle://logs/{node}/recent resources
- Include connection pool state in node detail resource
- Bump version to 0.3.1

Made-with: Cursor
@enwaiax
enwaiax merged commit 55ff730 into main Mar 29, 2026
3 checks passed
@enwaiax
enwaiax deleted the feat/mcp-prompts-resources branch March 29, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant