[PR #3547] [MERGED] ModelContextProtocol (MCP) Full Compatibility #4319

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3547
Author: @timothycarambat
Created: 3/26/2025
Status: Merged
Merged: 3/31/2025
Merged by: @timothycarambat

Base: masterHead: 3000-mcp-compatibility


📝 Commits (10+)

  • ae237cd WIP MCP full compatibility layer
  • d1949bb implement MCP agent function wrapping and invocation methods
  • 90d6009 Add uvx to docker bin for MCP executions
  • b932e8a dev build
  • 56c2538 prune removed data
  • daf57f1 Wrap MCP servers to lazy load items to not block the UI
  • c0b127e arm64 test build
  • eaaa2bd reset dev builder
  • 038c8a0 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 3000-mcp-compatibility
  • cfc67ca remove unused prop

📊 Changes

18 files changed (+1666 additions, -49 deletions)

View changed files

📝 .github/workflows/dev-build.yaml (+6 -1)
📝 docker/Dockerfile (+12 -6)
frontend/src/media/agents/mcp-logo.svg (+1 -0)
frontend/src/models/mcpServers.js (+76 -0)
📝 frontend/src/pages/Admin/Agents/AgentFlows/index.jsx (+1 -1)
📝 frontend/src/pages/Admin/Agents/Imported/SkillList/index.jsx (+1 -4)
frontend/src/pages/Admin/Agents/MCPServers/ServerPanel.jsx (+240 -0)
frontend/src/pages/Admin/Agents/MCPServers/index.jsx (+147 -0)
📝 frontend/src/pages/Admin/Agents/index.jsx (+103 -24)
📝 server/.gitignore (+1 -0)
server/endpoints/mcpServers.js (+100 -0)
📝 server/index.js (+2 -0)
📝 server/package.json (+1 -0)
server/utils/MCP/hypervisor/index.js (+322 -0)
server/utils/MCP/index.js (+203 -0)
📝 server/utils/agents/defaults.js (+2 -0)
📝 server/utils/agents/index.js (+38 -0)
📝 server/yarn.lock (+410 -13)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #3000

What is in this change?

Additional Information

  • Add ability to use a default mcp_config.json defined in storage
  • Ability to not autostart all plugins via anythingllm.autoStart: boolean property in MCP server config
  • Ability to dynamically reload entire MCP server on the fly
  • Ability to view and manage MCP servers in config file via Agent Skills
  • Ability for built in agent framework to call MCPs that are running and loaded
  • Ensure proper process mgmt of sub-processes spun out by MCP
  • Targeting support for std MCPs
  • Documentation for Docker MCP integration PR
  • Add npx and uv/uvx support in Docker container so it can spinoff MCPs

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/3547 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 3/26/2025 **Status:** ✅ Merged **Merged:** 3/31/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `3000-mcp-compatibility` --- ### 📝 Commits (10+) - [`ae237cd`](https://github.com/Mintplex-Labs/anything-llm/commit/ae237cd7209da1c91f092548ed1c41ebe5ca4fa4) WIP MCP full compatibility layer - [`d1949bb`](https://github.com/Mintplex-Labs/anything-llm/commit/d1949bbb1a6c5f1b61ad15eedc364bf7998bad81) implement MCP agent function wrapping and invocation methods - [`90d6009`](https://github.com/Mintplex-Labs/anything-llm/commit/90d6009b7d911e38eabd2694b617a4b7b9878c97) Add `uvx` to docker bin for MCP executions - [`b932e8a`](https://github.com/Mintplex-Labs/anything-llm/commit/b932e8a795d6d836a1ce2f06bfd7696eeda84e5e) dev build - [`56c2538`](https://github.com/Mintplex-Labs/anything-llm/commit/56c253844c052adacddbf425ea3a832b4008b851) prune removed data - [`daf57f1`](https://github.com/Mintplex-Labs/anything-llm/commit/daf57f1032d12cc6eab912d9ab0dc7ca7bad25b3) Wrap MCP servers to lazy load items to not block the UI - [`c0b127e`](https://github.com/Mintplex-Labs/anything-llm/commit/c0b127e98dcac82904829d03dabe19ab48e582b4) arm64 test build - [`eaaa2bd`](https://github.com/Mintplex-Labs/anything-llm/commit/eaaa2bd85d1b14c90f09595a3586a47634067d78) reset dev builder - [`038c8a0`](https://github.com/Mintplex-Labs/anything-llm/commit/038c8a0525daddbcf23d1dff5414c47693332af4) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 3000-mcp-compatibility - [`cfc67ca`](https://github.com/Mintplex-Labs/anything-llm/commit/cfc67cad11c0de8e44c962053b0b9365a6e8193c) remove unused prop ### 📊 Changes **18 files changed** (+1666 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/dev-build.yaml` (+6 -1) 📝 `docker/Dockerfile` (+12 -6) ➕ `frontend/src/media/agents/mcp-logo.svg` (+1 -0) ➕ `frontend/src/models/mcpServers.js` (+76 -0) 📝 `frontend/src/pages/Admin/Agents/AgentFlows/index.jsx` (+1 -1) 📝 `frontend/src/pages/Admin/Agents/Imported/SkillList/index.jsx` (+1 -4) ➕ `frontend/src/pages/Admin/Agents/MCPServers/ServerPanel.jsx` (+240 -0) ➕ `frontend/src/pages/Admin/Agents/MCPServers/index.jsx` (+147 -0) 📝 `frontend/src/pages/Admin/Agents/index.jsx` (+103 -24) 📝 `server/.gitignore` (+1 -0) ➕ `server/endpoints/mcpServers.js` (+100 -0) 📝 `server/index.js` (+2 -0) 📝 `server/package.json` (+1 -0) ➕ `server/utils/MCP/hypervisor/index.js` (+322 -0) ➕ `server/utils/MCP/index.js` (+203 -0) 📝 `server/utils/agents/defaults.js` (+2 -0) 📝 `server/utils/agents/index.js` (+38 -0) 📝 `server/yarn.lock` (+410 -13) </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 #3000 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information - [x] Add ability to use a `default mcp_config.json` defined in storage - [x] Ability to not autostart all plugins via `anythingllm.autoStart: boolean` property in MCP server config - [x] Ability to dynamically reload entire MCP server on the fly - [x] Ability to view and manage MCP servers in config file via Agent Skills - [x] Ability for built in agent framework to call MCPs that are running and loaded - [x] Ensure proper process mgmt of sub-processes spun out by MCP - [x] Targeting support for `std` MCPs - [x] Documentation for Docker MCP integration [PR](https://github.com/Mintplex-Labs/anythingllm-docs/pull/152) - [x] Add `npx` and `uv`/`uvx` support in Docker container so it can spinoff MCPs <!-- Add any other context about the Pull Request here that was not captured above. --> ### 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:35 -05:00
yindo closed this issue 2026-02-22 18:35:35 -05:00
yindo changed title from [PR #3547] ModelContextProtocol (MCP) Full Compatibility to [PR #3547] [MERGED] ModelContextProtocol (MCP) Full Compatibility 2026-06-05 15:17:58 -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#4319