Is the server spawned from iOS, visible to other MCP clients?

オープン
#111 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
ios, swift

調査の方向性

Start with Wormholy’s Sources/WormholySwift/MCP/MCPServer.swift and the attempted xcrun simctl configuration in the issue. Reproduce the integration with an external MCP client, then determine whether the app-spawned server can be discovered externally or needs a supported localhost transport; done means the supported connection approach is established.

索引モデルが issue の本文から書いたものです。

説明

question

Hi there, and thank you for working on this SDK!

I'm integrating the MCP server into one of my open-source libraries, Wormholy. I want to make MCP Tools visible when an app using my library also imports this SDK. This would allow them to chat with the content of requests captured by Wormholy. However, I'm having difficulty testing the MCP with external tools like Goose or Claude Desktop.

Could you advise if my approach to implementing the MCP is correct? Also, do I need to specify how to locate the MCP server? I’ve tried several methods without success, such as:

{
  "mcpServers": {
    "Wormholy": {
      "command": "xcrun simctl launch --console booted YOUR_APP_BUNDLE_IDENTIFIER"
    }
  }
}

I wonder if there is a way to make the MCP server accessible via localhost on a specific port.

Here you can find my current implementation.

Thanks!

主要言語
Swift
スター
1.6k
フォーク
270
平均マージ
2日 7時間
マージ済み PR(30日)
15

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/swift-sdk のほかの issue

modelcontextprotocol/swift-sdk の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。