[PR #688] [MERGED] feat: 支持 MCP 服务器 #767

Closed
opened 2026-03-02 03:41:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/codexu/note-gen/pull/688
Author: @codexu
Created: 10/10/2025
Status: Merged
Merged: 10/10/2025
Merged by: @codexu

Base: devHead: mcp


📝 Commits (10+)

  • a78db17 feat: 配置 MCP 界面
  • 8325c97 feat: 对话中调用 MCP
  • e96b1d5 feat: 调整 MCP 配置界面布局
  • bdb83f4 feat: 调整对话中选择 MCP 界面布局
  • 33cd587 fix: 未正确保存已选择的 MCP server
  • 5d606f5 feat: MCP 图标
  • 7e8ce11 feat: 支持本地命令 MCP
  • bae182b feat: 移除 log
  • 83864f4 fix: 修复本地命令 MCP 状态检测错误的问题
  • 46437ec feat: 优化选择 MCP 选择框样式

📊 Changes

33 files changed (+3045 additions, -42 deletions)

View changed files

📝 messages/en.json (+81 -0)
📝 messages/ja.json (+81 -0)
📝 messages/zh.json (+81 -0)
📝 src-tauri/src/lib.rs (+7 -0)
📝 src-tauri/src/main.rs (+8 -0)
src-tauri/src/mcp.rs (+254 -0)
📝 src/app/core/layout.tsx (+2 -0)
📝 src/app/core/record/chat/chat-content.tsx (+13 -1)
📝 src/app/core/record/chat/chat-input.tsx (+2 -0)
📝 src/app/core/record/chat/chat-send.tsx (+10 -1)
📝 src/app/core/record/chat/chat-thinking.tsx (+29 -29)
src/app/core/record/chat/mcp-button.tsx (+114 -0)
src/app/core/record/chat/mcp-tool-call.tsx (+86 -0)
📝 src/app/core/record/chat/rag-switch.tsx (+2 -2)
📝 src/app/core/setting/components/model-select.tsx (+0 -2)
📝 src/app/core/setting/config.tsx (+6 -1)
src/app/core/setting/mcp/connection-test.tsx (+54 -0)
src/app/core/setting/mcp/global-settings.tsx (+23 -0)
src/app/core/setting/mcp/page.tsx (+25 -0)
src/app/core/setting/mcp/server-config-dialog.tsx (+322 -0)

...and 13 more files

📄 Description

No description provided


🔄 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/codexu/note-gen/pull/688 **Author:** [@codexu](https://github.com/codexu) **Created:** 10/10/2025 **Status:** ✅ Merged **Merged:** 10/10/2025 **Merged by:** [@codexu](https://github.com/codexu) **Base:** `dev` ← **Head:** `mcp` --- ### 📝 Commits (10+) - [`a78db17`](https://github.com/codexu/note-gen/commit/a78db1761f2d0861e205fbcb615ce3aaa79cf2c4) feat: 配置 MCP 界面 - [`8325c97`](https://github.com/codexu/note-gen/commit/8325c97251b1f7537407208b2a3d15f3428702e0) feat: 对话中调用 MCP - [`e96b1d5`](https://github.com/codexu/note-gen/commit/e96b1d5b2664e30a3af59e9460e2885a012bd125) feat: 调整 MCP 配置界面布局 - [`bdb83f4`](https://github.com/codexu/note-gen/commit/bdb83f43d70a08c4d2a5126b4a103c6b6da5578a) feat: 调整对话中选择 MCP 界面布局 - [`33cd587`](https://github.com/codexu/note-gen/commit/33cd587da37b1df694c580f00cdc79261d55e61e) fix: 未正确保存已选择的 MCP server - [`5d606f5`](https://github.com/codexu/note-gen/commit/5d606f51978770a425c522e49bc46b70234b09e1) feat: MCP 图标 - [`7e8ce11`](https://github.com/codexu/note-gen/commit/7e8ce1146a12043c536575976e91505a852dfcc5) feat: 支持本地命令 MCP - [`bae182b`](https://github.com/codexu/note-gen/commit/bae182b5d4510309d6681c594cb42fe0ed150ef7) feat: 移除 log - [`83864f4`](https://github.com/codexu/note-gen/commit/83864f4d3a58450f9c44d0778e39b56a00ea324b) fix: 修复本地命令 MCP 状态检测错误的问题 - [`46437ec`](https://github.com/codexu/note-gen/commit/46437ec91f1c064a588488e64aedcef7fc0cbd96) feat: 优化选择 MCP 选择框样式 ### 📊 Changes **33 files changed** (+3045 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `messages/en.json` (+81 -0) 📝 `messages/ja.json` (+81 -0) 📝 `messages/zh.json` (+81 -0) 📝 `src-tauri/src/lib.rs` (+7 -0) 📝 `src-tauri/src/main.rs` (+8 -0) ➕ `src-tauri/src/mcp.rs` (+254 -0) 📝 `src/app/core/layout.tsx` (+2 -0) 📝 `src/app/core/record/chat/chat-content.tsx` (+13 -1) 📝 `src/app/core/record/chat/chat-input.tsx` (+2 -0) 📝 `src/app/core/record/chat/chat-send.tsx` (+10 -1) 📝 `src/app/core/record/chat/chat-thinking.tsx` (+29 -29) ➕ `src/app/core/record/chat/mcp-button.tsx` (+114 -0) ➕ `src/app/core/record/chat/mcp-tool-call.tsx` (+86 -0) 📝 `src/app/core/record/chat/rag-switch.tsx` (+2 -2) 📝 `src/app/core/setting/components/model-select.tsx` (+0 -2) 📝 `src/app/core/setting/config.tsx` (+6 -1) ➕ `src/app/core/setting/mcp/connection-test.tsx` (+54 -0) ➕ `src/app/core/setting/mcp/global-settings.tsx` (+23 -0) ➕ `src/app/core/setting/mcp/page.tsx` (+25 -0) ➕ `src/app/core/setting/mcp/server-config-dialog.tsx` (+322 -0) _...and 13 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:41:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#767
No description provided.