Codex에서 GlobalGPT CLI를 설치하고 사용하는 방법

If you already use Codex for real work, switching between separate websites for research, coding, image generation, and video creation quickly breaks your workflow. GlobalGPT CLI brings these capabilities into Codex, allowing it to call GlobalGPT models and tools while continuing to manage your files, tasks, and next steps in the same workspace.

In this tutorial, you’ll learn how to use GlobalGPT CLI in Codex from a clean installation to a working multi-model workflow. We’ll install the official npm package using either Terminal or Codex, authorize a GlobalGPT account, enable the bundled Skills, connect the MCP server, and verify the setup. You’ll then use the integration for practical tasks including web research, coding, image generation, and video creation.

What GlobalGPT Adds to Codex

GlobalGPT CLI, the bundled Skills, and the MCP server are three parts of the same integration. The CLI supplies the commands, the Skills teach Codex when and how to use them, and MCP exposes GlobalGPT capabilities as callable tools.

Commands

GlobalGPT CLI

Provides account, chat, image, video, Skill, and MCP commands.

Guidance

GlobalGPT Skills

Teach Codex how to handle chat, coding, image, and video tasks.

도구

GlobalGPT MCP

Exposes chat and media functions that Codex can call directly.

You do not need to choose only one of the three. Install the CLI first, then add the Skills and MCP connection so Codex can use the same GlobalGPT account in different ways.

전제 조건

Before starting, make sure you have:

  • Codex installed and working.
  • Node.js and npm available on your computer.
  • A GlobalGPT account with enough credits for the models you plan to use.
  • A browser for the one-time authorization step.

The npm installation command is the same on macOS, Windows, and Linux. You can type it in your normal terminal or give the command to Codex.

Install GlobalGPT CLI

Choose either method below. Both install the same official GlobalGPT CLI package and lead to the same setup steps afterward.

Method 1: Install GlobalGPT CLI in Terminal

Open Terminal, PowerShell, or your preferred command-line application and run the official installation command:

COPY THIS
npm i -g @glbgpt/cli
Run the official npm command in your terminal.
Successful GlobalGPT CLI installation result in Terminal

Wait for npm to finish. A successful installation ends without an npm error and reports the packages that were added.

Verify the installed CLI:

COPY THIS
glbgpt --version

성공 확인: In this test, the installed package was @glbgpt/cli@0.1.1 and the version command returned 0.1.1. Your version may be newer when you follow the guide.

Method 2: Ask Codex to Install GlobalGPT CLI

If you prefer to stay inside Codex, send this instruction:

COPY THIS
Install the official GlobalGPT CLI with this command:

npm i -g @glbgpt/cli

After installation, verify the installed package version and confirm
that both glbgpt and globalgpt command entries are available.
English Codex instruction to install the official GlobalGPT CLI
Codex confirmation that GlobalGPT CLI version 0.1.1 was installed

Codex can run the npm command, inspect the installed package, and verify the command entries for you.

Method 2 complete: Both installation methods lead to the same shared setup below. Do not install the package twice.

Log In to GlobalGPT

Start the browser authorization flow:

COPY THIS
glbgpt login

You can also ask Codex:

COPY THIS
Start the GlobalGPT CLI login process.

The CLI opens an authorization page in your browser. Confirm that you initiated the request on your own device, then select Authorize. Do not send your password, verification code, or authorization URL to an AI assistant.

Check the active account privately with:

COPY THIS
glbgpt whoami

Privacy note: This command can display your email address and credit balance, so avoid including its raw output in public screenshots.

Install the GlobalGPT Skills in Codex

The official CLI bundles four Skills for agent applications:

  • globalgpt for account access and general GlobalGPT tasks.
  • globalgpt-coding for explicitly delegated coding work.
  • globalgpt-image for image generation and editing.
  • globalgpt-video for video and image-to-video generation.

Install all four with:

COPY THIS
glbgpt skill install

Expected result: The tested installer reported 4 skills installed and added the bundle to the supported agent Skill directories. Restart Codex or open a new task after installation so the application can load them.

Once loaded, you can make a natural-language request such as:

COPY THIS
Use GlobalGPT to research three recent productivity app launches
from official company blogs. Include the title, date, URL, and one
launch-message pattern from each source.

Connect GlobalGPT MCP to Codex

The MCP connection exposes GlobalGPT chat, model discovery, image generation, video generation, and task-status functions directly to Codex.

만약 glbgpt is available in your normal command path, register the stdio server with:

COPY THIS
codex mcp add globalgpt -- glbgpt mcp --max-credits 4000

그리고 --max-credits value is a session budget for media generation. Registering the MCP server does not itself generate media or spend credits.

You can also ask Codex to configure it:

COPY THIS
Register GlobalGPT as a Codex MCP server using:

glbgpt mcp --max-credits 4000

Then verify that the server is enabled. Do not generate any media yet.

Verify the saved configuration:

COPY THIS
codex mcp get globalgpt
COPY THIS
codex mcp list

MCP connected: Open a new Codex task after registration. In the tested setup, Codex loaded five GlobalGPT MCP tools.

  • Chat with a GlobalGPT model.
  • List chat, image, and video models.
  • Generate or edit an image.
  • Generate a video from text or reference frames.
  • Check an image or video generation task.

Build a Complete AI Workflow in Codex

Installation only proves that the commands exist. The more useful question is what the integration adds to real work. To test that, we used GlobalGPT inside Codex to prepare a launch package for a fictional productivity app called FlowNote.

The workflow connected four different capabilities:

  1. Use a web-enabled LLM to collect current official examples.
  2. Turn the research into a launch brief.
  3. Generate a landing-page hero image.
  4. Animate the visual into an eight-second promotional video.
FlowNote Workflow SetupFirst-valid outputs
장소Codex + GlobalGPT
역량Web, text, image, video
Retry policyNo quality rerolls

Each stage used the first valid output. External facts were checked against official pages, while generated media limitations were retained and disclosed.

Step 1: Research Current Information with a Web-Enabled LLM

Tool-capable GlobalGPT chat models can search the web and fetch pages when a question requires current information. The test prompt asked for three recent productivity-product announcements from official company blogs:

COPY THIS
Use web search to find three recent productivity app launches or
major product updates announced on official product blogs.

For each example, provide:
- Product name
- Exact announcement title
- Publication date
- Official source URL
- One landing-page or launch-message pattern worth learning from

Use official product or company sources, not news summaries.
Clearly separate verified facts from your recommendations.

The first valid response found Asana, Linear, and Notion announcements. We then checked each URL independently. All three returned HTTP 200, and the page titles and publication dates matched the answer.

Web Research and Source Audit3 of 3 verified
제품Official announcement날짜검증
AsanaAsana Spring 2026 ReleaseMay 20, 2026Title and date matched
Linear AgentIntroducing Linear Agent2026년 3월 24일Title and date matched
Notion 3.0Introducing Notion 3.0September 18, 2025Title and date matched
View the complete first-valid research result

Asana

Observed launch pattern: Start with the organizational problem, explain why current tools fall short, present a unified response, and then support it with feature-level proof.

Linear Agent

Observed launch pattern: Turn abstract capabilities into concrete use cases by showing the user situation, the exact action, and the immediate output.

Notion 3.0

Observed launch pattern: Put a short TL;DR before the longer narrative, followed by the pain point, product vision, demonstrations, use cases, and CTA.

The source titles, dates, and URLs were treated as facts. The launch patterns were the model’s analysis and were not presented as statements made by the companies.

Step 2: Turn the Research into a Launch Brief

The next GlobalGPT MCP call transformed those verified patterns into a practical FlowNote brief. The model defined the audience, core message, three benefits, landing-page structure, visual direction, video concept, and CTA.

FlowNote Launch BriefComplete

Core message: Turn scattered thoughts into focused action.

CTA: Try FlowNote — Capture what matters. Act on what’s next.

View the complete launch brief

Target audience: Knowledge workers, founders, students, and small teams that capture ideas in multiple places and struggle to turn scattered notes into clear next actions.

  1. Capture without breaking focus: Record ideas, decisions, and tasks in one consistent flow.
  2. Move from note to next step: Convert selected text into an action with an owner, date, or priority.
  3. See what matters now: Bring relevant notes and open actions into a focused daily view.

The proposed page structure was: hero and TL;DR, market tension, pain-point story, unified product vision, situation-to-output demonstrations, use cases, and final CTA.

Because FlowNote is fictional, the brief explicitly prohibited unverified customer counts, testimonials, integrations, prices, security certifications, performance claims, and brand endorsements.

Step 3: Generate a Landing-Page Hero Image

The installed globalgpt-image Skill first estimated the job, then generated one 16:9 image with the account’s default image model. The CLI selected Nano Banana 2 and estimated approximately 400 credits.

COPY THIS
Create a clean 16:9 hero image for FlowNote, a fictional productivity
app that turns scattered notes into organized daily plans. Show a
modern desktop workspace with disconnected note cards smoothly
converging into one focused daily plan. Use a refined blue-and-violet
palette, soft depth, calm professional lighting, and generous negative
space. No readable text, logos, brand marks, watermarks, people, or
device mockup frames.
FlowNote hero image showing scattered notes converging into an organized digital daily planner
Image Generation ResultFirst valid
모델나노 바나나 2
출력2752 × 1536
EstimateAbout 400 credits

Practical result: The composition and color direction worked, but the model added readable interface text despite the prompt. The first valid image was retained.

The image succeeded at the main concept: scattered notes visibly converge toward an organized planner in a blue-and-violet workspace. It did not follow every detail. The interface contains readable words such as “TODAY” and “Tasks,” despite the instruction to avoid readable text. We kept the first valid result instead of rerolling it.

If you want to refine your own prompt, see the 나노 바나나 2 프롬프트 가이드. You can also access Nano Banana 2 in GlobalGPT outside the CLI workflow.

Step 4: Turn the Hero Image into a Promo Video

그리고 globalgpt-video Skill used the hero image as the starting frame. The default video route selected Grok Imagine, estimated approximately 800 credits, and returned one eight-second video.

COPY THIS
Animate the FlowNote hero image into an 8-second product-launch visual.
Disconnected paper notes and digital task cards should glide smoothly
from left to right and organize themselves into the focused daily
planner on the monitor. Use calm professional motion, subtle blue-and-
violet light trails, a locked camera, and a polished landing-page style.
Preserve the workspace composition. Do not introduce people, logos,
brand marks, watermarks, new readable text, camera shake, or abrupt
transitions.
Image-to-Video ResultFirst valid
모델그로크 이매진
출력1280 × 720 · 8.042s
EstimateAbout 800 credits

Practical result: The output was playable and preserved the overall workspace idea, but it changed the starting composition substantially.

The returned file was 1280×720, 8.042 seconds long, and encoded with H.264. A representative frame kept the desk, monitor, and note-card concept, but the composition changed substantially and the monitor interface became nearly blank. This is a useful reminder that image-to-video generation may reinterpret a reference frame rather than preserve it exactly.

You can explore the same model through Grok Imagine in GlobalGPT.

What This Workflow Demonstrates

The value is not any single answer or media file. Codex can coordinate the sequence: current web research becomes a brief, the brief becomes a visual direction, and the visual becomes a video. GlobalGPT supplies additional models and media tools while Codex keeps the project context and organizes the work.

Workflow stageGlobalGPT capabilityUseful output
Current researchWeb-enabled chat model through MCPOfficial sources and reusable launch patterns
기획GlobalGPT chat modelStructured launch brief with claim boundaries
Visual productionGlobalGPT Image SkillLanding-page hero image
Motion productionGlobalGPT Video SkillShort promotional video

Useful GlobalGPT CLI Commands

Use this compact reference when you need to check an account, discover a model, or start a generation task.

GlobalGPT CLI Command Library12 commands

Setup and account

Show the installed versionglbgpt --version
Authorize in a browserglbgpt login
Show the active account privatelyglbgpt whoami
Install the bundled Skillsglbgpt skill install
Start the stdio MCP serverglbgpt mcp
Inspect the latest media taskglbgpt task show last

Models and generation

List chat modelsglbgpt model list chat
List image modelsglbgpt model list image
List video modelsglbgpt model list video
Run one chat callglbgpt exec "..." -m <model>
Estimate an image jobglbgpt image "..." --estimate
Estimate a video jobglbgpt video "..." --estimate

문제 해결

glbgpt: command not found

Close and reopen your terminal first. If the error remains, check whether npm’s global binary directory is included in your shell PATH. Installing the npm package and making the command discoverable are separate steps. You can also ask Codex to locate the installed package and explain which PATH entry is missing.

Codex does not see the newly installed Skills

Run the Skill installer, then restart Codex or open a new task. Skills are loaded when the agent starts; an already-open task may not refresh its Skill inventory automatically.

COPY THIS
glbgpt skill install

The MCP server is enabled but no tools appear

Confirm the saved MCP configuration, then open a new Codex task:

COPY THIS
codex mcp get globalgpt

If Codex starts outside your terminal environment, locate the full GlobalGPT executable path:

COPY THIS
command -v glbgpt

A model returns no output

Treat authentication, transport, provider capacity, and empty responses as operational errors, not proof that the model is weak. Do not keep retrying media generation blindly because an interrupted server-side task may still consume credits. Check the error and task status first.

자주 묻는 질문

Are GlobalGPT CLI, Skill, and MCP the same thing?

They belong to the same integration, but they have different roles. The CLI supplies commands, the Skills guide Codex’s behavior, and MCP exposes functions as tools.

Can Codex install GlobalGPT CLI for me?

Yes. Give Codex the official command below and ask it to verify the installed version and command entries.

COPY THIS
npm i -g @glbgpt/cli

Do I need to keep Terminal open?

No. After installation and configuration, Codex can launch the CLI or MCP server when needed. Terminal is useful for setup, verification, and troubleshooting.

Can GlobalGPT models search the web from Codex?

Tool-capable chat models can search the web and fetch pages. Web search may consume additional credits. Always verify important URLs, dates, prices, and product claims against the cited source.

Can I generate images and videos inside Codex?

Yes. The bundled globalgpt-image 그리고 globalgpt-video Skills use your GlobalGPT account, and the MCP server also exposes image and video tools.

Does MCP replace the CLI?

No. The MCP server is launched by the CLI. MCP makes the capabilities easier for Codex to call as tools, while the CLI remains the underlying local interface.

How do I switch GlobalGPT accounts?

How do I update GlobalGPT CLI?

Install the current package again:

COPY THIS
npm i -g @glbgpt/cli

Refresh the bundled Skills, then restart Codex:

COPY THIS
glbgpt skill install

최종 결론

GlobalGPT CLI turns Codex into a broader multi-model workspace. The CLI handles the local connection, Skills make natural-language delegation predictable, and MCP lets Codex call chat and media tools directly. Once all three are connected, a task can move from current research to structured planning, image generation, and video generation without breaking the workflow into unrelated apps.

If you want to use the same multi-model account outside the command line, you can also open GlobalGPT in your browser.

게시물을 공유하세요:

관련 게시물