mcp-access
하는 일
이 스킬은 GBrain 서버에 누가 연결할 수 있는지 관리하는 방법을 설명합니다. 소유자 대시보드, 연결된 클라이언트 앱, 호환되는 AI 도구를 연결하는 방법을 다룹니다.
사용하는 경우
- ✓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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 GBrain 서버에 연결할 수 있는 앱이 무엇인지 보여 주고, 새 앱 하나를 추가하는 과정을 안내해 주실 수 있나요?”
매주 새 스킬 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-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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
gbrain
31k에이전트가 공유 회사 지식 브레인에서 사람, 프로젝트, 결정에 관한 사실을 검색하고, 지속적인 메모를 저장하도록 돕습니다.
brain-ingest-gate
31k새 콘텐츠를 지식 브레인에 추가하기 전에 기존 내용과 비교해 중복을 막고, 고유 명칭을 먼저 확인합니다.
brain-link-discipline
31k에이전트가 브레인 페이지를 보고할 때 같은 메시지에 각 페이지의 작동하는 링크를 포함해, 바로 열어 볼 수 있게 합니다.
brain-ops
31k지식 브레인의 기본 루틴을 제공합니다. 먼저 기존 맥락을 확인하고, 메모는 출처와 함께 저장하며, 관련 페이지를 연결합니다.
비슷한 스킬
mcporter
394k에이전트가 HTTP나 stdio로 MCP 서버와 그 도구를 목록화하고, 호출하고, 점검하며, 로그인 설정을 관리하도록 돕습니다.
fastmcp
260kAPI, 데이터베이스, 파일에 AI 어시스턴트가 도구로 접근할 수 있도록 Python MCP 서버를 만들고 테스트하고 배포하도록 돕습니다.
mcp-oauth-remote-gateway
260kHermes가 서버에서 실행될 때 일반 브라우저 로그인이 닿지 않는 경우를 위해, 원격 MCP 서버의 OAuth 로그인을 단계별로 안내합니다.