Skip to content

✨ feat: Add MCP market for desktop #8334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 81 commits into from
Jul 8, 2025
Merged

✨ feat: Add MCP market for desktop #8334

merged 81 commits into from
Jul 8, 2025

Conversation

arvinxx
Copy link
Member

@arvinxx arvinxx commented Jul 4, 2025

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

Copy link

vercel bot commented Jul 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat-database ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2025 10:29am
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2025 10:29am

@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Jul 4, 2025
@lobehubbot
Copy link
Member

👍 @arvinxx

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request #8334 has too many files changed.

We can only review pull requests with up to 300 changed files, and this pull request has 475.

Copy link
Contributor

gru-agent bot commented Jul 4, 2025

There is too much information in the pull request to test.

@dosubot dosubot bot added the 🌠 Feature Request New feature or request | 特性与建议 label Jul 4, 2025
@arvinxx arvinxx added the Build Desktop 打上这个 label 后就可以触发 Desktop 构建 label Jul 4, 2025
Copy link

codecov bot commented Jul 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.65%. Comparing base (3f4e935) to head (9ccd610).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8334      +/-   ##
==========================================
- Coverage   87.44%   85.65%   -1.80%     
==========================================
  Files         843      853      +10     
  Lines       63074    65291    +2217     
  Branches     5888     6018     +130     
==========================================
+ Hits        55154    55923     +769     
- Misses       7920     9368    +1448     
Flag Coverage Δ
app 85.65% <ø> (-1.80%) ⬇️
server 95.68% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

github-actions bot commented Jul 4, 2025

🚀 Desktop App Build Completed!

Version: 0.0.0-nightly.pr8334.2220
Build Time: 2025-07-08T13:13:47.490Z

📦 View All Build Artifacts

Build Artifacts

Platform File Size
macOS LobeHub-Nightly-0.0.0-nightly.pr8334.2220-arm64.dmg 169.60 MB
Windows LobeHub-Nightly-0.0.0-nightly.pr8334.2220-setup.exe 143.37 MB
Linux LobeHub-Nightly-0.0.0-nightly.pr8334.2220.AppImage 213.71 MB

Warning

Note: This is a temporary build for testing purposes only.

@arvinxx arvinxx merged commit 416a4b1 into main Jul 8, 2025
23 of 24 checks passed
@arvinxx arvinxx deleted the feat/mcp-market branch July 8, 2025 11:51
@lobehubbot
Copy link
Member

❤️ Great PR @arvinxx ❤️

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 discord,然后私信 @arvinxx@canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。

github-actions bot pushed a commit that referenced this pull request Jul 8, 2025
## [Version&nbsp;1.97.0](v1.96.20...v1.97.0)
<sup>Released on **2025-07-08**</sup>

#### ✨ Features

- **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop, closes [#8334](#8334) ([416a4b1](416a4b1))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.97.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to jaworldwideorg/OneJA-Bot that referenced this pull request Jul 8, 2025
## [Version&nbsp;1.96.0](v1.95.2...v1.96.0)
<sup>Released on **2025-07-08**</sup>

#### ✨ Features

- **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop.

#### 💄 Styles

- **misc**: Add `MCP_TOOL_TIMEOUT` env and improve debug usage guide.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop, closes [lobehub#8334](https://github.com/jaworldwideorg/OneJA-Bot/issues/8334) ([416a4b1](416a4b1))

#### Styles

* **misc**: Add `MCP_TOOL_TIMEOUT` env and improve debug usage guide, closes [lobehub#8357](https://github.com/jaworldwideorg/OneJA-Bot/issues/8357) ([d4baae5](d4baae5))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
AirboZH pushed a commit to yuanze-dev/lobe-chat that referenced this pull request Jul 9, 2025
…desktop (lobehub#8334)

* move plugin Component

* ✨ feat(wip): Add MCP Discover Market

* ✅ test: Fix test

* ✅ test: Fix test

* 🐛 fix: Fix build

* 🐛 fix: Fix build

* 💄 style: update plugin store

* 💄 style: Update plugin store

* ✨ feat: Update cache control headers and optimize Next.js config for performance

* 💄 style: Update discover markdown

* 💄 style: Update scroes step

* 优化 list 细节

* 优化 list 细节

* 优化 list 细节

* 完成基础 mcp 安装实现

* 完成安装上报

* 新增安装过程

* fix

* 优化插件设置页面配置

* 💄 style: update official icon

* 完善安装错误状态

* 支持取消安装

* fix types

* fix types

* 完成系统依赖检查流程

* 完成系统依赖安装流程上报

* try to fix suspense

* try to fix suspense

* try to fix suspense

* try to fix tests

* upgrade electron

* fix suspense

* fix tool name issue

* fix test

* add i18n

* fix tool call

* ✅ test: fix tests

* move

* fix tests

* refactor plugin install store

* improve old plugin install

* fix

* fix header link

* fix plugin detail

* fix oldPlugin detail

* fix tests

* update i18n

* fix i18n

* 💄 style: improve style

* add debug log

* fix link

* improve

* fix link

* 🚚 refactor: refactor the market runtime to nodejs

* 移除 props.searchParams 调用

* ✅ test: fix tests

* 尝试静态化 discover page

* ♻️ refactor: refactor config to nodejs runtime

* fix min width

* 修正自定义插件的编辑展示区域

* fix i18n

* 调整部分组件目录结构

* 完善 MCP 市场安装流程

* 完善安装上报事件

* test: fix test

* ✨ feat: 实现 m2m oauth 请求

* ✨ feat: 完善 m2m 注册链路

* ✨ feat: 完善 m2m 注册链路

* 🐛 fix: 优化 debug 日志输出问题

* ✨ feat: 支持 call 上报

* 💄 style: 使用更大的版本

* 🐛 fix: tools calling report

* 🐛 fix: try to fix call report

* 🐛 fix: try to use expires cookies

* 🐛 fix: fix cookies expires issue

* test: fix customPluginInfo report

* 🐛 fix: fix connection issue

* 🐛 fix: fix platform report

* 🐛 fix: fix version issue

---------

Co-authored-by: canisminor1990 <[email protected]>
AirboZH pushed a commit to yuanze-dev/lobe-chat that referenced this pull request Jul 9, 2025
## [Version&nbsp;1.97.0](lobehub/lobe-chat@v1.96.20...v1.97.0)
<sup>Released on **2025-07-08**</sup>

#### ✨ Features

- **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop, closes [lobehub#8334](lobehub#8334) ([416a4b1](lobehub@416a4b1))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
lihe8811 pushed a commit to lihe8811/skyline-chat that referenced this pull request Jul 15, 2025
…desktop (lobehub#8334)

* move plugin Component

* ✨ feat(wip): Add MCP Discover Market

* ✅ test: Fix test

* ✅ test: Fix test

* 🐛 fix: Fix build

* 🐛 fix: Fix build

* 💄 style: update plugin store

* 💄 style: Update plugin store

* ✨ feat: Update cache control headers and optimize Next.js config for performance

* 💄 style: Update discover markdown

* 💄 style: Update scroes step

* 优化 list 细节

* 优化 list 细节

* 优化 list 细节

* 完成基础 mcp 安装实现

* 完成安装上报

* 新增安装过程

* fix

* 优化插件设置页面配置

* 💄 style: update official icon

* 完善安装错误状态

* 支持取消安装

* fix types

* fix types

* 完成系统依赖检查流程

* 完成系统依赖安装流程上报

* try to fix suspense

* try to fix suspense

* try to fix suspense

* try to fix tests

* upgrade electron

* fix suspense

* fix tool name issue

* fix test

* add i18n

* fix tool call

* ✅ test: fix tests

* move

* fix tests

* refactor plugin install store

* improve old plugin install

* fix

* fix header link

* fix plugin detail

* fix oldPlugin detail

* fix tests

* update i18n

* fix i18n

* 💄 style: improve style

* add debug log

* fix link

* improve

* fix link

* 🚚 refactor: refactor the market runtime to nodejs

* 移除 props.searchParams 调用

* ✅ test: fix tests

* 尝试静态化 discover page

* ♻️ refactor: refactor config to nodejs runtime

* fix min width

* 修正自定义插件的编辑展示区域

* fix i18n

* 调整部分组件目录结构

* 完善 MCP 市场安装流程

* 完善安装上报事件

* test: fix test

* ✨ feat: 实现 m2m oauth 请求

* ✨ feat: 完善 m2m 注册链路

* ✨ feat: 完善 m2m 注册链路

* 🐛 fix: 优化 debug 日志输出问题

* ✨ feat: 支持 call 上报

* 💄 style: 使用更大的版本

* 🐛 fix: tools calling report

* 🐛 fix: try to fix call report

* 🐛 fix: try to use expires cookies

* 🐛 fix: fix cookies expires issue

* test: fix customPluginInfo report

* 🐛 fix: fix connection issue

* 🐛 fix: fix platform report

* 🐛 fix: fix version issue

---------

Co-authored-by: canisminor1990 <[email protected]>
lihe8811 pushed a commit to lihe8811/skyline-chat that referenced this pull request Jul 15, 2025
## [Version&nbsp;1.97.0](lobehub/lobe-chat@v1.96.20...v1.97.0)
<sup>Released on **2025-07-08**</sup>

#### ✨ Features

- **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop, closes [lobehub#8334](lobehub#8334) ([416a4b1](lobehub@416a4b1))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
lihe8811 pushed a commit to lihe8811/skyline-chat that referenced this pull request Jul 16, 2025
…desktop (lobehub#8334)

* move plugin Component

* ✨ feat(wip): Add MCP Discover Market

* ✅ test: Fix test

* ✅ test: Fix test

* 🐛 fix: Fix build

* 🐛 fix: Fix build

* 💄 style: update plugin store

* 💄 style: Update plugin store

* ✨ feat: Update cache control headers and optimize Next.js config for performance

* 💄 style: Update discover markdown

* 💄 style: Update scroes step

* 优化 list 细节

* 优化 list 细节

* 优化 list 细节

* 完成基础 mcp 安装实现

* 完成安装上报

* 新增安装过程

* fix

* 优化插件设置页面配置

* 💄 style: update official icon

* 完善安装错误状态

* 支持取消安装

* fix types

* fix types

* 完成系统依赖检查流程

* 完成系统依赖安装流程上报

* try to fix suspense

* try to fix suspense

* try to fix suspense

* try to fix tests

* upgrade electron

* fix suspense

* fix tool name issue

* fix test

* add i18n

* fix tool call

* ✅ test: fix tests

* move

* fix tests

* refactor plugin install store

* improve old plugin install

* fix

* fix header link

* fix plugin detail

* fix oldPlugin detail

* fix tests

* update i18n

* fix i18n

* 💄 style: improve style

* add debug log

* fix link

* improve

* fix link

* 🚚 refactor: refactor the market runtime to nodejs

* 移除 props.searchParams 调用

* ✅ test: fix tests

* 尝试静态化 discover page

* ♻️ refactor: refactor config to nodejs runtime

* fix min width

* 修正自定义插件的编辑展示区域

* fix i18n

* 调整部分组件目录结构

* 完善 MCP 市场安装流程

* 完善安装上报事件

* test: fix test

* ✨ feat: 实现 m2m oauth 请求

* ✨ feat: 完善 m2m 注册链路

* ✨ feat: 完善 m2m 注册链路

* 🐛 fix: 优化 debug 日志输出问题

* ✨ feat: 支持 call 上报

* 💄 style: 使用更大的版本

* 🐛 fix: tools calling report

* 🐛 fix: try to fix call report

* 🐛 fix: try to use expires cookies

* 🐛 fix: fix cookies expires issue

* test: fix customPluginInfo report

* 🐛 fix: fix connection issue

* 🐛 fix: fix platform report

* 🐛 fix: fix version issue

---------

Co-authored-by: canisminor1990 <[email protected]>
lihe8811 pushed a commit to lihe8811/skyline-chat that referenced this pull request Jul 16, 2025
<sup>Released on **2025-07-08**</sup>

- **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

* **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop, closes [lobehub#8334](lobehub#8334) ([416a4b1](lobehub@416a4b1))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
lihe8811 pushed a commit to lihe8811/skyline-chat that referenced this pull request Jul 16, 2025
…desktop (lobehub#8334)

* move plugin Component

* ✨ feat(wip): Add MCP Discover Market

* ✅ test: Fix test

* ✅ test: Fix test

* 🐛 fix: Fix build

* 🐛 fix: Fix build

* 💄 style: update plugin store

* 💄 style: Update plugin store

* ✨ feat: Update cache control headers and optimize Next.js config for performance

* 💄 style: Update discover markdown

* 💄 style: Update scroes step

* 优化 list 细节

* 优化 list 细节

* 优化 list 细节

* 完成基础 mcp 安装实现

* 完成安装上报

* 新增安装过程

* fix

* 优化插件设置页面配置

* 💄 style: update official icon

* 完善安装错误状态

* 支持取消安装

* fix types

* fix types

* 完成系统依赖检查流程

* 完成系统依赖安装流程上报

* try to fix suspense

* try to fix suspense

* try to fix suspense

* try to fix tests

* upgrade electron

* fix suspense

* fix tool name issue

* fix test

* add i18n

* fix tool call

* ✅ test: fix tests

* move

* fix tests

* refactor plugin install store

* improve old plugin install

* fix

* fix header link

* fix plugin detail

* fix oldPlugin detail

* fix tests

* update i18n

* fix i18n

* 💄 style: improve style

* add debug log

* fix link

* improve

* fix link

* 🚚 refactor: refactor the market runtime to nodejs

* 移除 props.searchParams 调用

* ✅ test: fix tests

* 尝试静态化 discover page

* ♻️ refactor: refactor config to nodejs runtime

* fix min width

* 修正自定义插件的编辑展示区域

* fix i18n

* 调整部分组件目录结构

* 完善 MCP 市场安装流程

* 完善安装上报事件

* test: fix test

* ✨ feat: 实现 m2m oauth 请求

* ✨ feat: 完善 m2m 注册链路

* ✨ feat: 完善 m2m 注册链路

* 🐛 fix: 优化 debug 日志输出问题

* ✨ feat: 支持 call 上报

* 💄 style: 使用更大的版本

* 🐛 fix: tools calling report

* 🐛 fix: try to fix call report

* 🐛 fix: try to use expires cookies

* 🐛 fix: fix cookies expires issue

* test: fix customPluginInfo report

* 🐛 fix: fix connection issue

* 🐛 fix: fix platform report

* 🐛 fix: fix version issue

---------

Co-authored-by: canisminor1990 <[email protected]>
lihe8811 pushed a commit to lihe8811/skyline-chat that referenced this pull request Jul 16, 2025
<sup>Released on **2025-07-08**</sup>

- **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

* **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop, closes [lobehub#8334](lobehub#8334) ([416a4b1](lobehub@416a4b1))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
bbbugg pushed a commit to bbbugg/lobe-chat that referenced this pull request Aug 14, 2025
…desktop (lobehub#8334)

* move plugin Component

* ✨ feat(wip): Add MCP Discover Market

* ✅ test: Fix test

* ✅ test: Fix test

* 🐛 fix: Fix build

* 🐛 fix: Fix build

* 💄 style: update plugin store

* 💄 style: Update plugin store

* ✨ feat: Update cache control headers and optimize Next.js config for performance

* 💄 style: Update discover markdown

* 💄 style: Update scroes step

* 优化 list 细节

* 优化 list 细节

* 优化 list 细节

* 完成基础 mcp 安装实现

* 完成安装上报

* 新增安装过程

* fix

* 优化插件设置页面配置

* 💄 style: update official icon

* 完善安装错误状态

* 支持取消安装

* fix types

* fix types

* 完成系统依赖检查流程

* 完成系统依赖安装流程上报

* try to fix suspense

* try to fix suspense

* try to fix suspense

* try to fix tests

* upgrade electron

* fix suspense

* fix tool name issue

* fix test

* add i18n

* fix tool call

* ✅ test: fix tests

* move

* fix tests

* refactor plugin install store

* improve old plugin install

* fix

* fix header link

* fix plugin detail

* fix oldPlugin detail

* fix tests

* update i18n

* fix i18n

* 💄 style: improve style

* add debug log

* fix link

* improve

* fix link

* 🚚 refactor: refactor the market runtime to nodejs

* 移除 props.searchParams 调用

* ✅ test: fix tests

* 尝试静态化 discover page

* ♻️ refactor: refactor config to nodejs runtime

* fix min width

* 修正自定义插件的编辑展示区域

* fix i18n

* 调整部分组件目录结构

* 完善 MCP 市场安装流程

* 完善安装上报事件

* test: fix test

* ✨ feat: 实现 m2m oauth 请求

* ✨ feat: 完善 m2m 注册链路

* ✨ feat: 完善 m2m 注册链路

* 🐛 fix: 优化 debug 日志输出问题

* ✨ feat: 支持 call 上报

* 💄 style: 使用更大的版本

* 🐛 fix: tools calling report

* 🐛 fix: try to fix call report

* 🐛 fix: try to use expires cookies

* 🐛 fix: fix cookies expires issue

* test: fix customPluginInfo report

* 🐛 fix: fix connection issue

* 🐛 fix: fix platform report

* 🐛 fix: fix version issue

---------

Co-authored-by: canisminor1990 <[email protected]>
bbbugg pushed a commit to bbbugg/lobe-chat that referenced this pull request Aug 14, 2025
## [Version&nbsp;1.97.0](lobehub/lobe-chat@v1.96.20...v1.97.0)
<sup>Released on **2025-07-08**</sup>

#### ✨ Features

- **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add MCP marketplace and mcp plugin one-click installation in desktop, closes [lobehub#8334](lobehub#8334) ([7c19ec8](lobehub@7c19ec8))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Desktop 打上这个 label 后就可以触发 Desktop 构建 🌠 Feature Request New feature or request | 特性与建议 released size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants