mcp-access
ما الذي تفعله
تشرح هذه المهارة كيفية إدارة من يستطيع الاتصال بخادم GBrain. تغطي لوحة المالك والتطبيقات المتصلة بالعميل، وكيفية ربط أداة ذكاء اصطناعي متوافقة عبر OAuth.
متى تستخدمها
- ✓عندما تريد فتح لوحة المالك لخادم GBrain الخاص بك.
- ✓عندما تحتاج إلى إضافة تطبيق يتصل بعقلك أو إزالته.
- ✓عندما تريد ربط أداة ذكاء اصطناعي بعقلك عبر OAuth.
رابط المهارة
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/mcp-access/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ساعدني في معرفة التطبيقات التي تستطيع الاتصال بخادم GBrain الخاص بي، ووجّهني خطوة بخطوة لإضافة تطبيق جديد.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يتحقق الوكيل من نقطة النهاية والإعدادات التي تزوّده بها، ثم يعطيك خطوات المالك الدقيقة. وإذا لم تتوفر صلاحية المالك، يخبرك بما يلزم بدلًا من محاولة صلاحيات أوسع.
المحتوى التقني (ملف 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-linkreturns 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 carriesoauth_request, pass that ID throughlogin-link --oauth-request ID. The native client retains its PKCE verifier. - Inspect:
clientsincludes revoked registrations;client IDgives live metadata and revision. List failure is not an empty list. - Create: machine access uses
mcp grant NAME --harness IDwith a private handoff. Native OAuth usesmcp admin register NAME --redirect-uri URI; choose the actual callback and authentication method, not a guessed vendor default. - Setup:
setup ID --harness IDreads the actual client method. For a mixed registration, explicitly select--flow authorization-codeor--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-runpreviews 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, anddelete IDpreview 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
gbrain
31kيتيح لوكيلك البحث في عقل المعرفة المشترك للشركة عن معلومات عن الأشخاص والمشاريع والقرارات، وحفظ ملاحظات دائمة فيه.
brain-ingest-gate
31kيفحص المحتوى الجديد أمام عقل المعرفة الموجود قبل إضافته، لتجنب التكرار وحسم الكيانات المسمّاة أولًا.
brain-link-discipline
31kيضمن أن يتضمن وكيلك رابطًا يعمل لكل صفحة من العقل يبلّغ عنها، في الرسالة نفسها، لتفتحها فورًا.
brain-ops
31kيزوّد وكيلك بالروتين الأساسي للعقل المعرفي: الاطلاع على السياق أولًا، وحفظ الملاحظات الصريحة مع مصدرها، وربط الصفحات ذات الصلة.
مهارات مشابهة
mcporter
394kيساعد وكيلك على عرض خوادم MCP وأدواتها واستدعائها وفحصها عبر HTTP أو stdio، وإدارة إعدادات تسجيل الدخول الخاصة بها.
fastmcp
260kيساعدك على بناء خادم MCP بلغة Python واختباره ونشره، ليمنح مساعدي الذكاء الاصطناعي وصولًا إلى واجهة برمجتك أو قاعدة بياناتك أو ملفاتك كأدوات.
mcp-oauth-remote-gateway
260kيرشدك خلال تسجيل الدخول عبر OAuth إلى خادم MCP بعيد، عندما يعمل Hermes على خادم لا يصله تسجيل الدخول العادي عبر المتصفح.