Install GBTI Network Access in Claude Code
by GBTI Network
Set up GBTI Network authoring access in Claude Code, from installing the client to publishing through the gated pull-request flow.
You are setting up GBTI Network authoring access inside Claude Code, so I can publish and manage my GBTI Network content (posts, products, prompts, and my member profile) through GBTI’s pull-request flow without touching Git by hand.
Work through the steps below, and confirm each one with me before moving on.
-
Install the GBTI Network client. Run:
npm install -g gbti-networkIf I would rather not install it globally, tell me to use
npx gbti-networkinstead. -
Register the GBTI Network MCP server with Claude Code. Run:
claude mcp add gbti-network -- npx gbti-network-mcpIf I manage MCP servers through a config file instead, add this entry:
{ "mcpServers": { "gbti-network": { "command": "npx", "args": ["gbti-network-mcp"] } } } -
Sign me in to GitHub, through the MCP server itself (no separate command needed). Call the
logintool. It returns a verification URL and a short code. Give me both, tell me to open the URL, enter the code, and approve. Then call thelogin_confirmtool. If it returnspending, wait a moment and calllogin_confirmagain. Repeat until it returnsokwith my identity. This uses GitHub device flow and stores no secret; once I am signed in, publishing keeps working with my browser closed.If I would rather sign in from the terminal, I can run
gbti logininstead (same device flow), then continue. -
Confirm the connection. Call
whoamiand tell me my login, membership status, and whether I can publish. Then list thegbti-networkMCP tools and summarize what each lets me do, especially:add_prompt,add_product,add_post: create that content type and open a publish pull request.publish_content: the general form (also handles a profile).validate_content: check a draft against the schema before publishing.list_my_content,get_content,list_prs,pr_status: review my content and the gate status of my pull requests.
-
Remind me of the rules of the road:
- Publishing is for paid members. On a free trial, my drafts stay on my own fork until I upgrade.
- Every change ships as a pull request through the GBTI gate, and the gate is the only thing that merges it. Nothing here can write to the live site directly.
- I can publish into my own member folder. To change another member’s folder, that folder owner has to approve my contribution.
When setup is verified, ask me what I would like to create first, and offer to draft it and open the pull request with add_prompt, add_product, or add_post.
You are setting up GBTI Network authoring access inside Claude Code, so I can publish and manage my GBTI Network content (posts, products, prompts, and my member profile) through GBTI's pull-request flow without touching Git by hand.
Work through the steps below, and confirm each one with me before moving on.
1. Install the GBTI Network client. Run:
```bash
npm install -g gbti-network
```
If I would rather not install it globally, tell me to use `npx gbti-network` instead.
2. Register the GBTI Network MCP server with Claude Code. Run:
```bash
claude mcp add gbti-network -- npx gbti-network-mcp
```
If I manage MCP servers through a config file instead, add this entry:
```json
{
"mcpServers": {
"gbti-network": { "command": "npx", "args": ["gbti-network-mcp"] }
}
}
```
3. Sign me in to GitHub, through the MCP server itself (no separate command needed). Call the `login` tool. It returns a verification URL and a short code. Give me both, tell me to open the URL, enter the code, and approve. Then call the `login_confirm` tool. If it returns `pending`, wait a moment and call `login_confirm` again. Repeat until it returns `ok` with my identity. This uses GitHub device flow and stores no secret; once I am signed in, publishing keeps working with my browser closed.
If I would rather sign in from the terminal, I can run `gbti login` instead (same device flow), then continue.
4. Confirm the connection. Call `whoami` and tell me my login, membership status, and whether I can publish. Then list the `gbti-network` MCP tools and summarize what each lets me do, especially:
- `add_prompt`, `add_product`, `add_post`: create that content type and open a publish pull request.
- `publish_content`: the general form (also handles a profile).
- `validate_content`: check a draft against the schema before publishing.
- `list_my_content`, `get_content`, `list_prs`, `pr_status`: review my content and the gate status of my pull requests.
5. Remind me of the rules of the road:
- Publishing is for paid members. On a free trial, my drafts stay on my own fork until I upgrade.
- Every change ships as a pull request through the GBTI gate, and the gate is the only thing that merges it. Nothing here can write to the live site directly.
- I can publish into my own member folder. To change another member's folder, that folder owner has to approve my contribution.
When setup is verified, ask me what I would like to create first, and offer to draft it and open the pull request with `add_prompt`, `add_product`, or `add_post`.
From the author
GBTI NetworkWe built this prompt to make it easier for our GBTI Network members to publish and manage content from inside Claude Code. If you use Claude Code and want to create posts, products, or prompts on our network, this guide walks you through the setup so you can work naturally without juggling Git commands. Follow along and you will be publishing through our pull-request gate in minutes.
0 Comments
No comments yet. Be the first. Members comment from the GBTI local client, where comments are submitted as pull requests and auto-published for paid members.
Become a memberMembers write comments from the GBTI client or browser extension. Become a member to join the conversation.