GU

gwbtc/urbit-mcp

Developer tools

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

12 stars 6 forks 品質 59 トレンド 28MIT

ネットワーク化されたパーソナルサーバであるUrbit用の汎用MCPインターフェイスです.

概要

汎用型モデルコンテキストプロトコルインターフェース(Urbit) - ターミナルアクセスがある機械で動くUrbitの船、実質か偽りを要求して下さい。 - Zig 0.15 または newer を要求して下さい。 ジグバージョンの動作を確認してください。 あなたのUrbit船の机を作成および取付けて下さい: urbit-mcp フォルダーで zig ビルドを実行します。 デフォルトでは、このフォルダーに /zig-out に依存関係をインストールします。 --prefix/-p を使用して別の出力ディレクトリを選択し、-Ddesk オプションを使用して、船のデスクの内容をソースデスクに追加的に置き換えます。 Dojo から、船のウェブログインコードを入手してください。 set-cookie ヘッダーからクッキーを抽出します。これは次のようにします。 これを ~/.codex/config.toml に追加するだけです。 HTTP トランスポートを使用して Claude に MCP サーバーを追加します

概要(AI 翻訳)

汎用型モデルコンテキストプロトコルインターフェース(Urbit)

ソースからビルドする

##1.ビルドとインストール

  • ※ターミナルアクセスがある機械で動くUrbitの船、実質か偽りを要求して下さい。*
  • Zig 0.15 または newer を要求します。 [zig version]の動作を確認してください。

あなたのUrbit船の机を作成および取付けて下さい:

[urbit-mcpフォルダでzig build]を実行します。 デフォルトでは、このフォルダにある[/zig-out]に依存関係をインストールします。 [--prefix/-p] を使用して、別の出力ディレクトリを選択し、[-Ddesk]オプションを使用して、船の机の内容をソースデスクに追加的に置き換えます。

##2.認証設定

Dojo から、船のウェブログインコードを入手してください。

セッションクッキーの認証と取得:

[set-cookie]ヘッダーからクッキーを抽出します。

###3a. Codexに登録する

[~/.codex/config.toml にこれを追加するだけです。

###3b. Claudeコードに登録する

HTTP トランスポートを使用して Claude に MCP サーバーを追加します。

使用法

ツール

お問い合わせ ここではデフォルトのツールを見ることができます。

LLM に新しいツールを追加してください.

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

README

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

Urbit MCP

A general-purpose Model Context Protocol interface for Urbit.

Build from source

1. Build and Install

  • Requires a running Urbit ship, real or fake, running on a machine you have terminal access to.
  • Requires Zig 0.15 or newer. Make sure zig version works.

Create and mount the desk on your Urbit ship:

> |new-desk %mcp
> |mount %mcp

In the urbit-mcp folder, run zig build. By default this will install dependencies into /zig-out in this folder. Use --prefix/-p to choose another output directory, and use the -Ddesk option to additionally replace the contents of your ship’s desk with your source desk.

$ cd urbit-mcp
$ zig build -Ddesk=~/path/to/zod/mcp
> |commit %mcp
> |install our %mcp

2. Authentication Setup

Get your ship’s web login code from the Dojo:

> +code
lidlut-tabwed-pillex-ridrup
~zod:dojo>

Authenticate and get session cookie:

curl -i http://localhost:80/~/login -X POST -d "password=lidlut-tabwed-pillex-ridrup"

Extract the cookie from the set-cookie header, which will look like this:

urbauth-~your-ship=0v3.j2062.1prp1.qne4e.goq3h.ksudm

3a. Register with Codex

Simply add this to your ~/.codex/config.toml:

[mcp_servers.zod]
enabled = true
url = "http://localhost:80/mcp"
http_headers = { "Cookie" = "urbauth-~your-ship=0v3.j2062.1prp1.qne4e.goq3h.ksudm" }

3b. Register with Claude Code

Add the MCP server to Claude using HTTP transport:

claude mcp add --transport http zod http://localhost:80/mcp --header "Cookie: urbauth-~your-ship=0v3.j2062.1prp1.qne4e.goq3h.ksudm" --scope user

Usage

Tools

Just ask! You can see the default tools here.

You can ask your LLM to add new Tools. Give it a description (and ideally, examples) and it will do its best, or provide a Hoon thread for it to adapt to run in %mcp-server. Threads in %mcp-server must be of signature $-((map @t argument:tool:mcp) shed:khan).

Managed Aqua runs

aqua/start starts a Spider thread without waiting for it to finish. Pass desk, path (for example /ted/ph/add), and optionally arg as raw Hoon. The ship must have %aqua running with a pill loaded.

aqua/pill loads that pill. It builds a brass pill with prime and cache on, pokes it into %aqua, and returns Dojo’s output once %aqua has the pill. Pass desks to include desks besides the base desk, and base to name a base desk other than %base. The tool first checks that %aqua is running from the %base desk; if not, it returns an error that says how to start it. Building and priming a pill takes minutes.

GitHub で README 全文を見る

インストール

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

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