本文へスキップ
Skillpedia
コネクタ(MCP)31k · #9262

mcp-access

できること

このスキルは、GBrainサーバーへの接続者を管理する方法を説明します。オーナー用ダッシュボード、接続されたクライアントアプリ、互換性のあるAIツールをOAuthで連携する方法を扱います。

使う場面

  • ✓GBrainサーバーのオーナー用ダッシュボードを開きたいとき。
  • ✓ブレインに接続するアプリを追加または削除したいとき。
  • ✓OAuthを使ってAIツールをブレインに接続したいとき。

スキルのリンク

https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/mcp-access/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/mcp-access/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“GBrainサーバーに接続できるアプリを確認する方法を教えてください。また、新しいアプリを1つ追加する手順も案内してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、あなたが提供したエンドポイントと設定を確認したうえで、オーナーとして行う正確な手順を示します。オーナー権限がない場合は、より広い権限を試す代わりに、必要なものを伝えます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

MCP access and administration

Use MCP administration for the exact commands and recovery table, hosted setup for client installation, and deployment for the running service. If this skill is loaded remotely without those files, use https://raw.githubusercontent.com/garrytan/gbrain/master/docs/mcp/ADMIN.md. No local brain initialization or personal-agent bootstrap is required to administer an existing server.

Contract

Inspect the user's supplied endpoint and available configuration. A hosting harness may administer its own server only when it has that server's owner credential. A remote administrator needs the same separately supplied authority. An ordinary MCP OAuth token, client secret, admin scope, or full tool surface does not authorize dashboard login or client management.

Use gbrain://capabilities for effective MCP access and administration guidance when available. Its admin URL is orientation, not a login. Without owner authority, provide the exact owner-side command and prerequisite instead of trying successively broader OAuth scopes. Name the server-hosting or authorized administrator harness in the handoff, rather than asking an arbitrary agent.

Owner actions

Commands run against the existing server with gbrain mcp admin … --url URL. Use --admin-token-file PRIVATE_FILE, or the protected GBRAIN_ADMIN_BOOTSTRAP_TOKEN environment variable. Do not print their values. This HTTP path uses the live database connection; do not open a second PGLite process, delete its lock, or start another server to obtain administration.

  • Login: login-link returns a sensitive, single-use URL for private delivery to the requesting owner. Explain in the handoff that the plain /admin/ URL requires an authenticated owner session; the owner signs in by opening the returned login link. Do not GET/fetch/open it for verification. If the pending OAuth browser URL carries oauth_request, pass that ID through login-link --oauth-request ID. The native client retains its PKCE verifier.
  • Inspect: clients includes revoked registrations; client ID gives live metadata and revision. List failure is not an empty list.
  • Create: machine access uses mcp grant NAME --harness ID with a private handoff. Native OAuth uses mcp admin register NAME --redirect-uri URI; choose the actual callback and authentication method, not a guessed vendor default.
  • Setup: setup ID --harness ID reads the actual client method. For a mixed registration, explicitly select --flow authorization-code or --flow client-credentials. Ordinary output contains no secret; confidential delivery/recovery requires --credentials-out PRIVATE_FILE.
  • Permissions: mcp grant NAME --client ID --if-version N --dry-run previews before/after. Omitted restrictions remain unchanged. Repeat without dry-run when the reviewed action is within the user's authorization. In the receipt, explain both consequences: removed authority applies immediately; expanded scopes require fresh native authorization or a newly issued machine token. Refresh cannot expand the original scope grant.
  • End access: invalidate-tokens ID, revoke ID, and delete ID preview consequences by default; apply an authorized reviewed action with --yes --if-version N. Explain that invalidation removes access/refresh tokens and authorization codes and invalidates pending approvals; it retains the active client and secret, so machine credentials can obtain new tokens. Revocation disables access; deletion removes its registration while audit history remains. Never substitute one for another silently.

A failed transport after a mutation was sent can mean unknown outcome. Inspect the existing client before retrying. Recover a committed secret delivery instead of creating a duplicate. Journal recovery is preferred to secret rotation. The legacy local agent register --reissue path has specific limits; consult ADMIN.md rather than inventing a remote rotation command. When handing recovered native setup back to a client, include both remaining connection steps: the native client starts PKCE authorization and the owner reviews and approves consent. Secret recovery alone establishes neither st

よくある質問

通常の接続で管理者権限を得られますか?

いいえ。通常の接続トークンでは、ダッシュボードへのログインやクライアント管理はできません。そのためにはオーナーの認証情報が必要です。

始めるために何が必要ですか?

サーバーへのアクセスと、オーナーの認証情報です。それがなければ、エージェントは実行すべきコマンドを案内します。

自分のコンピュータでブレインを始めるのにも必要ですか?

いいえ。このスキルは既存のサーバーを管理するためのもので、そのためにローカルの設定は必要ありません。

詳細

作者による元の説明

Open the GBrain owner dashboard, manage MCP clients and permissions, or connect a native OAuth harness. Distinguishes owner administration from ordinary MCP access.

repo: garrytan/gbrain

人気

GitHubのスター
31k
ランキング
#9262
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル