HM

http4k/mcp-desktop

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

39 stars 5 forks 品質 59 トレンド 20NOASSERTION

http4k MCPデスクトップクライアント

概要

標準入出力(StdIO)を介してMCP(Model Context Protocol)サーバーに接続するためのコマンドラインデスクトップクライアント。 このクライアントは、Claudeや他のデスクトップAIアプリケーションなどのStdIOを通じて通信するAIアシスタントやアプリケーションとシームレスに連携するように設計されています。 http4k MCPデスクトップクライアントは、デスクトップアプリケーションとMCPサーバー間の通信を可能にするプロキシとして機能します。 MCP-compliant サーバと連携しながら、 http4k MCP SDK を使用して構築されたサーバー向けに最適化されています。 - 複数のリモートトランスポートオプション:HTTP Streaming、SSE(Server-Sent Events)、JSON-RPC、WebSocket - さまざまな認証方法:APIキー、Bearer Token、Basic Auth、OAuth - カスタマイズ可能な再接続戦略 - ネイティブコンパイルされたKotlinアプリを使用してデスクトップアプリケーションとの簡単な統合のためのシンプルなStdIOインターフェイス。 MCP標準リモートプロトコルは、2025-03-26バージョンの以前の標準(SSE)を優先したHTTPストリーミングです.

概要(AI 翻訳)

標準入出力(StdIO)を介してMCP(Model Context Protocol)サーバーに接続するためのコマンドラインデスクトップクライアント。 このクライアントは動作するように設計されている Claudeや他のデスクトップAIアプリケーションなどのStdIOを介して通信するAIアシスタントやアプリケーションとシームレスに。

概要

http4k MCPデスクトップクライアントは、デスクトップアプリケーションとMCPサーバー間の通信を可能にするプロキシとして機能します。 MCP-compliant と連携しながら、 サーバは、 http4k MCP SDK を使用して構築されたサーバー用に特別に最適化されます。

##特徴

  • 複数のリモートトランスポートオプション: HTTP ストリーミング、SSE (Server-Sent Events)、JSON-RPC、WebSocket
  • 各種認証方法:APIキー、Bearerトークン、基本Auth、OAuth
  • カスタマイズ可能な再接続戦略
  • ネイティブコンパイルされたKotlinアプリを使用してデスクトップアプリケーションと簡単に統合するためのシンプルなStdIOインターフェイス。

リモートプロトコルの比較

MCP標準リモートプロトコルは、[2025-03-26]]バージョンの以前の標準(SSE)を優先したHTTPストリーミングです。 http4k は http4k-mcp-desktop に他の標準トランスポートを実装しました。これにより、分散/ホストされた MCP サーバーがより適切になります.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

http4k MCP Desktop Client

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.

Overview

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.

Features

  • Multiple remote transport options: HTTP Streaming, SSE (Server-Sent Events), JSON-RPC, WebSocket
  • Various authentication methods: API Key, Bearer Token, Basic Auth, and OAuth
  • Customizable reconnection strategy
  • Simple StdIO interface for easy integration with desktop applications when using natively compiled Kotlin apps.

Remote Protocol Comparison

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

Installation

Via Homebrew

brew tap http4k/tap
brew install http4k-mcp-desktop

Via GitHub Releases

Download the latest release from GitHub Releases.

Usage

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →