MCP桌面客户端 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
MCP桌面客户端 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
MCP桌面客户端 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/http4k/mcp-desktop
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp-----": {
"command": "npx",
"args": ["-y", "mcp-desktop"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 MCP桌面客户端 执行以下任务... Claude: [自动调用 MCP桌面客户端 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp_____": {
"command": "npx",
"args": ["-y", "mcp-desktop"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
A command-line desktop client for connecting to MCP (Model Context Protocol) servers via standard input/output (StdIO). This client is designed to work seamlessly with AI assistants and applications that communicate through StdIO, such as Claude and other desktop AI applications.
The http4k MCP Desktop Client serves as a proxy that enables communication between desktop applications and MCP servers. While it works with any MCP-compliant server, it's specially optimized for servers built using the http4k MCP SDK.
http4k-mcp-desktop --url http://localhost:3001/<protocol> [OPTIONS]
| Option | Description | Default |
|---|---|---|
--transport | MCP transport mode: http-stream, http-nonstream, sse (legacy), jsonrpc (non-streaming), websocket (streaming) | http-stream |
--url | URL of the MCP server to connect to (required) | N/A |
--reconnectDelay | Reconnect delay in seconds if disconnected | 0 |
--version | Get the version information for the app | N/A |
At time of writing, the MCP auth standards are in flux, but http4k-mcp-desktop has implemented some standard HTTP mechanisms into the http4k-mcp-desktop.
* This is the OAuth standard which is currently in the post 2025-03-26 draft specification which uses auto discovery of the authentication token using OAuth Protected Resource and OAuth Client Credentials. This requires:
/.well-knwon/oauth-protected-resource)/.well-knwon/oauth-authorization-server)MCP servers built using the http4k MCP SDK do support the above, but other servers may not.
| Option | Description | Format |
|---|---|---|
--apiKey | API key for server authentication | String |
--apiKeyHeader | Custom header name for API key | X-Api-key (default) |
--bearerToken | Bearer token for server authentication | String |
--basicAuth | Basic authentication credentials | <user>:<password> |
--oauthScopes | OAuth scopes to request | Comma-separated list |
--oauthClientCredentials | OAuth client credentials | <client>:<secret> |
To configure Claude Desktop to use the http4k MCP Desktop Client, you'll need to create a JSON configuration file. Note that if you're on mac and installed the app via Brew, it will already be on your path. Here's how to set it up:
config.json file with the following structure:{
"command": "/path/to/http4k-mcp-desktop",
"args": [
"--url",
"http://your-mcp-server:port/mcp"
],
"env": {}
}
2. Adjust the parameters as needed: - Update the path to where you've installed the http4k-mcp-desktop binary. For brew users it's already on your path so just use http4k-mcp-desktop - Set the correct URL and protocol options for your MCP server (see examples) - Add any authentication options required (see examples)
config.json file.Basic MCP Server Connection:
{
"command": "/usr/local/bin/http4k-mcp-desktop",
"args": [
"--url",
"http://localhost:3001/sse"
],
"env": {}
}
With API Key Authentication:
{
"command": "/usr/local/bin/http4k-mcp-desktop",
"args": [
"--url",
"http://localhost:3001/sse",
"--apiKey",
"your-api-key"
],
"env": {}
}
With OAuth Authentication:
{
"command": "/usr/local/bin/http4k-mcp-desktop",
"args": [
"--url",
"http://localhost:3001/sse",
"--oauthTokenUrl",
"http://localhost:3001/token",
"--oauthClientCredentials",
"client:secret"
],
"env": {}
}
http4k-mcp-desktop --transport jsonrpc --url http://localhost:3001/jsonrpc --apiKey your-api-key
This client is specifically designed to work with desktop AI applications that use StdIO for communication. It handles:
This enables seamless connections between desktop AI applications like Claude and remote MCP servers.
The MCP Standard remote protocol is HTTP Streaming, which superceded the previous standard (SSE) in the 2025-03-26 version. http4k has implemented other standard transports into the http4k-mcp-desktop, as these will be more appropriate for distributed/hosted MCP servers.
| Protocol | Standard/Extension | State | Default server path | Setting | Description |
|---|---|---|---|---|---|
| HTTP Non-streaming | MCP Standard | Stateless | http://host/mcp | http-nonstream | Pure HTTP-based streaming communication **Use this setting for Cursor!** |
| HTTP Streaming | MCP Standard | Stateful | http://host/mcp | http-stream | HTTP/SSE-based streaming communication. Supports sessions and replaying/reconnection of stram |
| SSE | MCP (Legacy) | Stateful | http://host/sse | sse | Server-Sent Events, part of HTML5 spec, ideal for streaming data from server to client |
| WebSocket | Protocol Extension | Stateful | http://host/ws | websocket | Full-duplex communication protocol, maintains persistent connection |
| JSON-RPC | Protocol Extension | Stateless | http://host/jsonrpc | jsonrpc | Remote Procedure Call protocol encoded in JSON, request/response model |
--transport http-nonstream)开源MCP工具,支持http4k协议,代码质量较高
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,MCP桌面客户端 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | mcp-desktop |
| Topics | mcpllmmodelcontextprotocolkotlin |
| GitHub | https://github.com/http4k/mcp-desktop |
| License | NOASSERTION |
| 语言 | Kotlin |
收录时间:2026-07-04 · 更新时间:2026-07-04 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端