René's URL Explorer Experiment


Title: refactor: MCP 新增状态管理增强与 UI 可视化 by hqwlkj · Pull Request #72 · lessweb/deepcode-cli · GitHub

Open Graph Title: refactor: MCP 新增状态管理增强与 UI 可视化 by hqwlkj · Pull Request #72 · lessweb/deepcode-cli

X Title: refactor: MCP 新增状态管理增强与 UI 可视化 by hqwlkj · Pull Request #72 · lessweb/deepcode-cli

Description: Deep Code 是专为 deepseek-v4 模型优化的终端 AI 编码助手,支持深度思考、推理强度控制以及 Agent Skills。 - refactor: MCP 新增状态管理增强与 UI 可视化 by hqwlkj · Pull Request #72 · lessweb/deepcode-cli

Open Graph Description: 📋 概述 本 PR 为 Deep Code CLI 增加了完整的 MCP (Model Context Protocol) 服务器状态管理和可视化功能,包括实时状态监控、工具/提示/资源发现、错误处理以及优化的用户交互体验。 🎯 变更类型 ✨ 新功能 🎨 UI 改进 🐛 Bug 修复 ♻️ 代码重构 ✅ 测试更新 📝 主要变更 1. MCP 客户端增强 (src/mcp/mcp...

X Description: 📋 概述 本 PR 为 Deep Code CLI 增加了完整的 MCP (Model Context Protocol) 服务器状态管理和可视化功能,包括实时状态监控、工具/提示/资源发现、错误处理以及优化的用户交互体验。 🎯 变更类型 ✨ 新功能 🎨 UI 改进 🐛 Bug 修复 ♻️ 代码重构 ✅ 测试更新 📝 主要变更 1. MCP 客户端增强 (src/mcp/mcp...

Opengraph URL: https://github.com/lessweb/deepcode-cli/pull/72

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e7844898-3499-6d69-ae44-bd75441c6084
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC1E2:153BC1:852624:B4984A:6A4EEBB1
html-safe-nonce4e81358f177c7b55daf332d1f63f6059ac99ccabb6af65486b7d690bf93562bb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUUyOjE1M0JDMTo4NTI2MjQ6QjQ5ODRBOjZBNEVFQkIxIiwidmlzaXRvcl9pZCI6IjcwODQ1OTAxMTQ2MzkxMTMxMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacea71eed6368f70962a22073659678ac371930314b0f8a567847c8b3dcbfbda80
hovercard-subject-tagpull_request:3687751529
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/lessweb/deepcode-cli/72/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a41ee5f48ceb0058c7300bbe174b78d2ec69b3ad4416e87823185cdae14a64cd/lessweb/deepcode-cli/pull/72
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a41ee5f48ceb0058c7300bbe174b78d2ec69b3ad4416e87823185cdae14a64cd/lessweb/deepcode-cli/pull/72
og:image:alt📋 概述 本 PR 为 Deep Code CLI 增加了完整的 MCP (Model Context Protocol) 服务器状态管理和可视化功能,包括实时状态监控、工具/提示/资源发现、错误处理以及优化的用户交互体验。 🎯 变更类型 ✨ 新功能 🎨 UI 改进 🐛 Bug 修复 ♻️ 代码重构 ✅ 测试更新 📝 主要变更 1. MCP 客户端增强 (src/mcp/mcp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehqwlkj
hostnamegithub.com
expected-hostnamegithub.com
Noned12176b31601daf8d3de9a378cbbcf7dac6f33d990d1faedcb9c9b9ff3cbb1ed
turbo-cache-controlno-cache
go-importgithub.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git
octolytics-dimension-user_id118287711
octolytics-dimension-user_loginlessweb
octolytics-dimension-repository_id1223512305
octolytics-dimension-repository_nwolessweb/deepcode-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1223512305
octolytics-dimension-repository_network_root_nwolessweb/deepcode-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9420180b23897f48b04b8d47ee8b1a9341197b64
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lessweb/deepcode-cli/pull/72#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F72
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F72
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=lessweb%2Fdeepcode-cli
Reloadhttps://github.com/lessweb/deepcode-cli/pull/72
Reloadhttps://github.com/lessweb/deepcode-cli/pull/72
Reloadhttps://github.com/lessweb/deepcode-cli/pull/72
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/72
lessweb https://github.com/lessweb
deepcode-clihttps://github.com/lessweb/deepcode-cli
Notifications https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Fork 154 https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Star 1.7k https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Code https://github.com/lessweb/deepcode-cli
Issues 44 https://github.com/lessweb/deepcode-cli/issues
Pull requests 22 https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality 0 https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Code https://github.com/lessweb/deepcode-cli
Issues https://github.com/lessweb/deepcode-cli/issues
Pull requests https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
qorzjhttps://github.com/qorzj
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
hqwlkj:feature/mcp-refactorhttps://github.com/hqwlkj/deepcode-cli/tree/feature/mcp-refactor
Conversationhttps://github.com/lessweb/deepcode-cli/pull/72
Commits13 (13)https://github.com/lessweb/deepcode-cli/pull/72/commits
Checkshttps://github.com/lessweb/deepcode-cli/pull/72/checks
Files changedhttps://github.com/lessweb/deepcode-cli/pull/72/files
refactor: MCP 新增状态管理增强与 UI 可视化 https://github.com/lessweb/deepcode-cli/pull/72#top
qorzjhttps://github.com/qorzj
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
hqwlkj:feature/mcp-refactorhttps://github.com/hqwlkj/deepcode-cli/tree/feature/mcp-refactor
https://github.com/hqwlkj
hqwlkjhttps://github.com/hqwlkj
May 15, 2026https://github.com/lessweb/deepcode-cli/pull/72#issue-4451789919
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/72
MCP 配置文档https://github.com/lessweb/deepcode-cli/pull/docs/configuration.md
MCP 使用指南https://github.com/lessweb/deepcode-cli/pull/docs/mcp.md
https://private-user-images.githubusercontent.com/12181423/592937006-07eece43-33aa-4489-95a1-ced40241841b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM1NTczNDEsIm5iZiI6MTc4MzU1NzA0MSwicGF0aCI6Ii8xMjE4MTQyMy81OTI5MzcwMDYtMDdlZWNlNDMtMzNhYS00NDg5LTk1YTEtY2VkNDAyNDE4NDFiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzA5VDAwMzA0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY5NjgwNWM0MDM5MzJmYzE1YWFiNmEwMDY2OTNmZDhkZDJkMTllY2E0YmJmYmI5NGI0ZjVhNjVhMWZhN2U3NjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.atJJL60uVfbg679ctU6GISfyvsx9veljYmRHxqCQKPo
https://private-user-images.githubusercontent.com/12181423/592937069-aacf3545-fedf-4eb2-ac94-151da1630d13.png?jwt=eyJ0eXAiOiJKV1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TI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzA5VDAwMzA0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc3YzJmMDkxNTRhZDE0ZTA1ZWQ3Y2M4OTgyZjZhNjU1Yjk0YzJlOTRmZDM5MWM0OGM5ZmY2MGQ4MDYzY2EwZDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.DFLqPF33UEYme2auPZtttmAVwuFX2gIRc2LKhkmf1Ig
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/72
hqwlkjhttps://github.com/hqwlkj
May 14, 2026 14:23https://github.com/lessweb/deepcode-cli/pull/72#commits-pushed-fb38560
https://github.com/hqwlkj
feat(mcp): 集成并展示MCP服务器状态和资源列表https://github.com/lessweb/deepcode-cli/pull/72/commits/fb38560830a55c217122ebff5ee42836523d7c3b
fb38560https://github.com/lessweb/deepcode-cli/pull/72/commits/fb38560830a55c217122ebff5ee42836523d7c3b
https://github.com/hqwlkj
feat(ui): 添加服务器错误信息显示功能https://github.com/lessweb/deepcode-cli/pull/72/commits/91e52406293ff1e8683e15ec00eac98bed175f7d
91e5240https://github.com/lessweb/deepcode-cli/pull/72/commits/91e52406293ff1e8683e15ec00eac98bed175f7d
https://github.com/hqwlkj
feat(mcp): 实时更新和展示 MCP 服务器状态https://github.com/lessweb/deepcode-cli/pull/72/commits/40025e495a6c19aa34939be78a4ace696a966ed7
40025e4https://github.com/lessweb/deepcode-cli/pull/72/commits/40025e495a6c19aa34939be78a4ace696a966ed7
https://github.com/hqwlkj
refactor(ui): 优化 MCP 状态列表视图及界面细节调整https://github.com/lessweb/deepcode-cli/pull/72/commits/d68baf776ff6f92d112a15df4f8c6a079005308c
d68baf7https://github.com/lessweb/deepcode-cli/pull/72/commits/d68baf776ff6f92d112a15df4f8c6a079005308c
https://github.com/hqwlkj
chore: update McpStatusListhttps://github.com/lessweb/deepcode-cli/pull/72/commits/b858c8755978480321f79dd8068376c7c45408d4
b858c87https://github.com/lessweb/deepcode-cli/pull/72/commits/b858c8755978480321f79dd8068376c7c45408d4
https://github.com/hqwlkj
Merge branch 'main' into feature/mcp-refactorhttps://github.com/lessweb/deepcode-cli/pull/72/commits/d9a3e152a09be7019c13babc46426c98e7577665
d9a3e15https://github.com/lessweb/deepcode-cli/pull/72/commits/d9a3e152a09be7019c13babc46426c98e7577665
https://github.com/hqwlkj
Merge branch 'main' into feature/mcp-refactorhttps://github.com/lessweb/deepcode-cli/pull/72/commits/587a6023295235adb67e2d96aea817baf30c4ade
587a602https://github.com/lessweb/deepcode-cli/pull/72/commits/587a6023295235adb67e2d96aea817baf30c4ade
https://github.com/hqwlkj
test(session): 更新测试以包括提示和资源计数信息https://github.com/lessweb/deepcode-cli/pull/72/commits/35b686d55fa1a6fcd91f3845d49b17d5975fcd61
35b686dhttps://github.com/lessweb/deepcode-cli/pull/72/commits/35b686d55fa1a6fcd91f3845d49b17d5975fcd61
https://github.com/hqwlkj
refactor(ui): 移除McpStatusList中不必要的React导入和文本显示https://github.com/lessweb/deepcode-cli/pull/72/commits/5a996281dce9cb2ef6371374669aea304bdbec7c
5a99628https://github.com/lessweb/deepcode-cli/pull/72/commits/5a996281dce9cb2ef6371374669aea304bdbec7c
https://github.com/hqwlkj
fix(mcp-client): 增强协议版本校验和JSON-RPC批处理支持https://github.com/lessweb/deepcode-cli/pull/72/commits/bee349bb8ca700eefe96615cba4b51352bdc907b
bee349bhttps://github.com/lessweb/deepcode-cli/pull/72/commits/bee349bb8ca700eefe96615cba4b51352bdc907b
https://github.com/hqwlkj
feat(ui): 添加无服务器时按Esc键退出的功能https://github.com/lessweb/deepcode-cli/pull/72/commits/c81937434575bee3eb734fcf28d9bec01bad4667
c819374https://github.com/lessweb/deepcode-cli/pull/72/commits/c81937434575bee3eb734fcf28d9bec01bad4667
https://github.com/hqwlkj
fix(ui): update stringhttps://github.com/lessweb/deepcode-cli/pull/72/commits/a094524e8fd4e939b93e71d56743b0fd1a50806d
a094524https://github.com/lessweb/deepcode-cli/pull/72/commits/a094524e8fd4e939b93e71d56743b0fd1a50806d
https://github.com/hqwlkj
fix(ui): update stringhttps://github.com/lessweb/deepcode-cli/pull/72/commits/9a2188407e71a66a46b1937a6798c094ae2a486f
9a21884https://github.com/lessweb/deepcode-cli/pull/72/commits/9a2188407e71a66a46b1937a6798c094ae2a486f
https://github.com/qorzj
qorzjhttps://github.com/qorzj
42ee6fehttps://github.com/lessweb/deepcode-cli/commit/42ee6fe34a133a676c1278620ca29dd4014f694b
May 16, 2026https://github.com/lessweb/deepcode-cli/pull/72#event-25599729462
https://github.com/qorzj
qorzjhttps://github.com/qorzj
May 16, 2026 https://github.com/lessweb/deepcode-cli/pull/72#ref-issue-4459171869
【Release Notes】v0.1.21 #83 https://github.com/lessweb/deepcode-cli/issues/83
https://github.co/hiddenchars
https://github.com/lessweb/deepcode-cli/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F72
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/72
https://github.com/hqwlkj
https://github.com/qorzj
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.