[PR #3831] [CLOSED] Add MCP Response Description and MCP Payload Formatting #4426

Closed
opened 2026-02-22 18:35:48 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3831
Author: @17ColinMiPerry
Created: 5/15/2025
Status: Closed

Base: masterHead: feat/add-mcp-response-description


📝 Commits (5)

  • eeeaaca Improved CoT UI for MCP requests/responses
  • 9519a0b ran yarn lint
  • b0091f3 updated MCP Error Message
  • c0ce98f ran yarn lint
  • 34e0566 Merge branch 'master' into feat/add-mcp-response-description

📊 Changes

4 files changed (+198 additions, -52 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/StatusResponse/index.jsx (+171 -41)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatTooltips/index.jsx (+6 -0)
📝 server/utils/MCP/index.js (+20 -10)
📝 server/utils/chats/agents.js (+1 -1)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #3794

What is in this change?

Added an expandable/collapsible payload display for MCP invocations showing pretty-printed JSON
Grouped MCP messages (based on tool calls) for greater readability

Additional Information

image

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/3831 **Author:** [@17ColinMiPerry](https://github.com/17ColinMiPerry) **Created:** 5/15/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/add-mcp-response-description` --- ### 📝 Commits (5) - [`eeeaaca`](https://github.com/Mintplex-Labs/anything-llm/commit/eeeaaca5d35dd7c844ba1a438a17bfab598ff714) Improved CoT UI for MCP requests/responses - [`9519a0b`](https://github.com/Mintplex-Labs/anything-llm/commit/9519a0bc7de8f9d64fb13783981cb28bdfc12608) ran yarn lint - [`b0091f3`](https://github.com/Mintplex-Labs/anything-llm/commit/b0091f371edfba88174adc9eec276e589f49631d) updated MCP Error Message - [`c0ce98f`](https://github.com/Mintplex-Labs/anything-llm/commit/c0ce98f59c212b940f26337d3335eb9fbb37c65a) ran yarn lint - [`34e0566`](https://github.com/Mintplex-Labs/anything-llm/commit/34e0566d8291e93f3ff940daa466583591014457) Merge branch 'master' into feat/add-mcp-response-description ### 📊 Changes **4 files changed** (+198 additions, -52 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/StatusResponse/index.jsx` (+171 -41) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatTooltips/index.jsx` (+6 -0) 📝 `server/utils/MCP/index.js` (+20 -10) 📝 `server/utils/chats/agents.js` (+1 -1) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #3794 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> Added an expandable/collapsible payload display for MCP invocations showing pretty-printed JSON Grouped MCP messages (based on tool calls) for greater readability ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ![image](https://github.com/user-attachments/assets/1ecbece5-db90-4fc1-a231-0f634bf614f1) ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <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-22 18:35:48 -05:00
yindo closed this issue 2026-02-22 18:35:48 -05:00
yindo changed title from [PR #3831] Add MCP Response Description and MCP Payload Formatting to [PR #3831] [CLOSED] Add MCP Response Description and MCP Payload Formatting 2026-06-05 15:18:30 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4426