mcp-access
यह क्या करती है
यह स्किल बताती है कि GBrain सर्वर से कौन जुड़ सकता है, यह कैसे प्रबंधित करें। इसमें ओनर डैशबोर्ड, जुड़े क्लाइंट ऐप, और किसी संगत AI टूल को OAuth से जोड़ने का तरीका शामिल है।
कब इस्तेमाल करें
- ✓जब आप अपने GBrain सर्वर का ओनर डैशबोर्ड खोलना चाहें।
- ✓जब आपको ब्रेन से जुड़ने वाला कोई ऐप जोड़ना या हटाना हो।
- ✓जब आप किसी संगत AI टूल को OAuth से अपने ब्रेन से जोड़ना चाहें।
Skill का लिंक
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/mcp-access/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे दिखाइए कि कौन-से ऐप मेरे GBrain सर्वर से जुड़ सकते हैं, और एक नया ऐप जोड़ने के स्टेप बताइए।”
हर हफ़्ते 5 नई skills, 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-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
कमेंट
- …
इस repository की और skills
gbrain
31kयह आपके एजेंट को लोगों, प्रोजेक्ट और फ़ैसलों के बारे में तथ्य खोजने के लिए साझा कंपनी ज्ञान ब्रेन में खोजने और उसमें स्थायी नोट सहेजने देती है।
brain-ingest-gate
31kयह आपके एजेंट को नई सामग्री जोड़ने से पहले मौजूदा ज्ञान ब्रेन से जाँचने देती है, ताकि डुप्लिकेट न बनें और नामित इकाइयाँ पहले सुलझें।
brain-link-discipline
31kयह सुनिश्चित करती है कि आपका एजेंट हर उस ब्रेन पेज का काम करने वाला लिंक उसी संदेश में दे, जिसकी वह रिपोर्ट करता है, ताकि आप उसे तुरंत खोल सकें।
brain-ops
31kयह आपके एजेंट को ज्ञान ब्रेन की मुख्य दिनचर्या देती है: पहले मौजूदा संदर्भ जाँचना, स्पष्ट नोट उनके स्रोत के साथ सहेजना, और संबंधित पेज जोड़ना।
मिलती-जुलती skills
mcporter
394kयह आपके एजेंट को HTTP या stdio पर MCP सर्वर और उनके टूल सूचीबद्ध करने, चलाने और जांचने देती है, और उनकी साइन-इन सेटिंग्स प्रबंधित करती है।
fastmcp
260kआपको Python में MCP सर्वर बनाने, जाँचने और तैनात करने में मदद करती है, जो AI सहायकों को आपके API, डेटाबेस या फ़ाइलों तक टूल के रूप में पहुँच देता है।
mcp-oauth-remote-gateway
260kजब Hermes किसी सर्वर पर चलता है, तो रिमोट MCP सर्वर के लिए OAuth साइन-इन हाथ से करने में मदद करती है, जहाँ सामान्य ब्राउज़र साइन-इन नहीं पहुँच पाता।