[PR #28] [MERGED] MCP improvements #29

Closed
opened 2026-02-27 13:59:49 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/GH05TCREW/pentestagent/pull/28
Author: @famez
Created: 2/12/2026
Status: Merged
Merged: 2/12/2026
Merged by: @GH05TCREW

Base: mainHead: main


📝 Commits (10+)

  • c5f1d7f Removed MCP cleanup.
  • be05e92 Fix: Connected attribute was not properly set.
  • 7524e75 If there are errors during the MCP set up, show it in the MCP tree view.
  • b80fd23 Added enabled toggle button
  • fcda823 Removed enabled text (leave just the enable button).
  • 498038c Added enabling/disabling MCP servers from the MCP list command via the MCPScreen (Modal Screen). Updating availability of tools to agent accordingly.
  • 67bb1f5 Added extra logs from stderr on commands on the /mcp list command. Allows more visibility for MCP connections.
  • 44daa88 Merge branch 'GH05TCREW:main' into main
  • a56dc2c Merge branch 'GH05TCREW:main' into dev
  • fd7c7d0 Added MCP configuration examples.

📊 Changes

13 files changed (+321 additions, -77 deletions)

View changed files

📝 .gitignore (+3 -0)
MCP-CLEANUP-NOTE.md (+0 -15)
mcp_examples/README.md (+4 -0)
mcp_examples/kali/Dockerfile (+19 -0)
mcp_examples/kali/README.md (+48 -0)
mcp_examples/kali/docker-compose.yml (+21 -0)
mcp_examples/kali/image-1.png (+0 -0)
mcp_examples/kali/image.png (+0 -0)
mcp_examples/kali/mcp_servers.json (+8 -0)
📝 pentestagent/agents/base_agent.py (+12 -0)
📝 pentestagent/interface/tui.py (+121 -59)
📝 pentestagent/mcp/manager.py (+49 -3)
📝 pentestagent/mcp/transport.py (+36 -0)

📄 Description

  • Removed MCP CLEANUP file.
  • Fix connected attribute not properly showing the real connected status of MCP server.
  • Allow to see in /mcp list errors when setting a MCP server.
  • Added "enable" button to toggle the MCP server (enable/disable).
  • stderr from the STDIO MCP servers are visible on the /mcp list modal tree view.
  • Added mcp_examples folder with some examples to configure MCP (added for Kali at the moment).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/GH05TCREW/pentestagent/pull/28 **Author:** [@famez](https://github.com/famez) **Created:** 2/12/2026 **Status:** ✅ Merged **Merged:** 2/12/2026 **Merged by:** [@GH05TCREW](https://github.com/GH05TCREW) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`c5f1d7f`](https://github.com/GH05TCREW/pentestagent/commit/c5f1d7fc49ee11edfec501d28e0b0aaa95a54206) Removed MCP cleanup. - [`be05e92`](https://github.com/GH05TCREW/pentestagent/commit/be05e9243adb373b72d2c2cd20be9b49517dc795) Fix: Connected attribute was not properly set. - [`7524e75`](https://github.com/GH05TCREW/pentestagent/commit/7524e75b849266dfdc7b3d5e2181cb0b9347de24) If there are errors during the MCP set up, show it in the MCP tree view. - [`b80fd23`](https://github.com/GH05TCREW/pentestagent/commit/b80fd236c490f4b8272960298b07100a8442f407) Added enabled toggle button - [`fcda823`](https://github.com/GH05TCREW/pentestagent/commit/fcda8232e3114f79dcc5c08cefdf36d94355b0d4) Removed enabled text (leave just the enable button). - [`498038c`](https://github.com/GH05TCREW/pentestagent/commit/498038c6b9f967399f055c2a053ce1958f1df1fb) Added enabling/disabling MCP servers from the MCP list command via the MCPScreen (Modal Screen). Updating availability of tools to agent accordingly. - [`67bb1f5`](https://github.com/GH05TCREW/pentestagent/commit/67bb1f5b5a9e4103ae97e7504a4d67b37b319239) Added extra logs from stderr on commands on the /mcp list command. Allows more visibility for MCP connections. - [`44daa88`](https://github.com/GH05TCREW/pentestagent/commit/44daa882ef4ba0bcd22091026f03d2c235dc31b1) Merge branch 'GH05TCREW:main' into main - [`a56dc2c`](https://github.com/GH05TCREW/pentestagent/commit/a56dc2cd4678a1ebf836172a55a5555062f1cacc) Merge branch 'GH05TCREW:main' into dev - [`fd7c7d0`](https://github.com/GH05TCREW/pentestagent/commit/fd7c7d0f11d44906931e04be4c0d932516471ffd) Added MCP configuration examples. ### 📊 Changes **13 files changed** (+321 additions, -77 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -0) ➖ `MCP-CLEANUP-NOTE.md` (+0 -15) ➕ `mcp_examples/README.md` (+4 -0) ➕ `mcp_examples/kali/Dockerfile` (+19 -0) ➕ `mcp_examples/kali/README.md` (+48 -0) ➕ `mcp_examples/kali/docker-compose.yml` (+21 -0) ➕ `mcp_examples/kali/image-1.png` (+0 -0) ➕ `mcp_examples/kali/image.png` (+0 -0) ➕ `mcp_examples/kali/mcp_servers.json` (+8 -0) 📝 `pentestagent/agents/base_agent.py` (+12 -0) 📝 `pentestagent/interface/tui.py` (+121 -59) 📝 `pentestagent/mcp/manager.py` (+49 -3) 📝 `pentestagent/mcp/transport.py` (+36 -0) </details> ### 📄 Description - Removed MCP CLEANUP file. - Fix connected attribute not properly showing the real connected status of MCP server. - Allow to see in /mcp list errors when setting a MCP server. - Added "enable" button to toggle the MCP server (enable/disable). - stderr from the STDIO MCP servers are visible on the /mcp list modal tree view. - Added mcp_examples folder with some examples to configure MCP (added for Kali at the moment). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-27 13:59:49 -05:00
yindo closed this issue 2026-02-27 13:59:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yindo/pentestagent#29