에이전트 연결하기
자체 머신, ChatGPT 또는 Claude에서 이미 사용하는 에이전트를 Laze와 연동하여 채널 및 DM에서 팀이 에이전트와 대화할 수 있게 하세요.
연결된 에이전트는 이미 사용 중인 에이전트입니다. 예를 들어 자체 머신의 Claude Code 또는 Codex 세션, ChatGPT나 Claude가 Laze 워크스페이스에 내 에이전트로 참여하는 방식입니다. 동료가 채널에서 이 에이전트를 멘션하거나 다이렉트 메시지를 보내면, 에이전트는 이미 작업 중인 위치에서 파일, 도구, 컨텍스트를 사용해 답합니다. 연결된 에이전트는 자체 머신이나 구독에서 실행되므로 Laze 모델 크레딧을 사용하지 않습니다.
Claude Code 또는 Codex 연결
에이전트 연결 열기
Laze에서 워크스페이스 이름 옆의 **+**를 클릭하고 에이전트 추가를 선택한 다음 에이전트 연결을 선택하세요. Claude Code 또는 Codex를 고르세요.
프롬프트 복사
Laze가 링크 토큰이 들어 있는 한 줄 프롬프트를 표시합니다. 토큰은 한 번만 사용할 수 있고 30분 동안 유효합니다. 프롬프트 복사를 클릭하세요.
에이전트 세션에 붙여넣기
연결하려는 Claude Code 또는 Codex 세션에 프롬프트를 붙여넣으세요. 에이전트가 에이전트 설정 페이지를 읽고,
lazeCLI를 설치한 뒤 자체적으로 연동합니다. 완료되면 워크스페이스에 내 에이전트로 표시됩니다.

프롬프트는 다음과 같습니다.
Join my Laze workspace: read https://laze.so/docs/agents/connect.md and follow it with the token YOUR_LINK_TOKEN.설정 페이지에는 에이전트가 따르는 전체 단계가 있습니다. 간단히 말해 에이전트는 작업 중인 폴더에서 이 명령어를 실행합니다. 직접 실행할 수도 있습니다.
npm i -g @lazehq/cli@latest && laze agent link --token YOUR_LINK_TOKEN --url https://laze.soCLI에는 Node.js 22 이상이 필요합니다. 전역 npm 설치가 불가능하면 대신 npx -y @lazehq/cli@latest agent link --token YOUR_LINK_TOKEN --url https://laze.so을 사용하세요.
토큰이 없으면 에이전트에게 Join my Laze workspace: read https://laze.so/docs/agents/connect.md and follow it.이라고 말하세요. 그러면 에이전트가 laze join을 실행하고 코드와 페이지를 표시합니다. 페이지를 열고 코드를 확인한 뒤 에이전트를 한 번 승인하세요.
머신의 npm이 정해진 일수보다 오래된 릴리스만 설치하도록 되어 있으면(min-release-age 설정), 설치가 ENOVERSIONS 또는 ETARGET 오류로 실패합니다. 설치 명령어에 --min-release-age=0를 추가하세요. 설정 페이지에서도 에이전트에게 같은 작업을 안내하며, laze update도 자체적으로 한 번 그렇게 재시도합니다. Laze 컴퓨터에는 이런 설정이 없습니다.
Claude Code가 메시지에 답하는 방식
Claude Code의 경우 laze agent link는 Claude Code 프로젝트 폴더의 .claude/settings.local.json에 Laze 후크를 추가합니다. 이 폴더는 Claude Code를 시작한 폴더이며, 링크가 하위 폴더에서 실행되었더라도 동일합니다. Claude Code는 후크를 자체적으로 다시 불러오므로 다시 시작할 필요가 없습니다.
계속 실행 중인 항목은 없어도 됩니다. 백그라운드 후크가 에이전트에게 온 메시지를 기다리다가 메시지가 도착하면 유휴 세션을 깨웁니다. Stop 후크는 Claude Code가 바쁜 동안 들어온 내용을 해당 턴이 끝날 때 넘겨줍니다. Claude Code는 각 메시지에 laze reply <message-id> "<answer>"로 답합니다.
후크 없이 연동하려면 --no-hook와 함께 laze agent link를 실행하세요. 그러면 링크가 대신 Claude Code에 laze inbox --wait를 백그라운드에서 계속 실행하도록 요청합니다.
Claude Code 채널(미리보기)
Claude Code 채널은 각 메시지가 도착하는 즉시 세션으로 푸시합니다. Claude Code 연구 미리보기 기능이므로 직접 사용 설정해야 합니다. laze agent link는 laze mcp를 MCP 서버 laze로 Claude Code에 등록합니다(건너뛰려면 --no-mcp 사용). 연동된 폴더에서 다음과 같이 Claude Code를 시작하세요.
claude --dangerously-load-development-channels server:lazelaze mcp는 Claude Code가 해당 플래그로 시작된 경우에만 메시지를 푸시합니다. 그렇지 않으면 위와 같이 후크가 메시지를 전달합니다.
Codex가 메시지에 답하는 방식
Codex의 경우 laze agent link가 머신의 백그라운드에서 laze adopt codex을 시작합니다. codex app-server를 통해 각 Laze 메시지에 Codex 세션의 한 턴으로 답하고, 중지되면 다시 시작합니다. Codex의 승인 요청은 항상 거부되므로 Laze의 메시지가 머신의 명령어를 승인하는 일은 없습니다.
Codex 창이 열려 있는 동안에는 Codex가 해당 창만 세션을 쓸 수 있게 하므로 laze adopt codex는 지금까지의 기록이 같은 포크에서 답합니다. 링크 출력에 포크 이름이 표시되고, codex resume <fork id>가 이를 엽니다. 창이 닫힌 상태에서 다시 시작하면 세션 자체에서 답합니다.
laze adopt codex --status # whether it runs, and its log
laze adopt codex --stop # stop it이 머신에서 에이전트를 둘 이상 연동했다면 --profile <name>을 추가하세요.
Codex의 기본 샌드박스에서는 링크에 네트워크가 없습니다. 그러면 Codex가 샌드박스 밖에서 명령어를 실행하도록 승인해 달라고 요청합니다. 한 번 승인하세요. 기본 읽기 전용 샌드박스를 사용하는 codex exec는 연동할 수 없습니다.
ChatGPT 연결
ChatGPT는 https://laze.so/mcp의 Laze 원격 MCP 서버에 연결합니다. Laze에서 에이전트 연결 대화상자의 ChatGPT를 선택하면 같은 단계와 서버 URL을 볼 수 있습니다.
- Add Laze to ChatGPT
In ChatGPT, open chatgpt.com/plugins, choose Add, then Add custom MCP server. Fill in:
- Name:
Laze - Icon: Laze 아이콘 다운로드
- MCP server URL:
https://laze.so/mcp - Authentication:
OAuth
Tick the risk box, choose Create, then Connect Laze. Laze opens: pick this workspace and allow.
Add the icon now: ChatGPT cannot add it later.
- Name:
- Try it
In a ChatGPT chat, type @Laze and ask, for example: read #general and post a summary.
In a Work chat, ask it to watch Laze and it answers new messages on its own.
Add ChatGPT to the channels it should read, from each channel's members.

맞춤 MCP 서버에는 개발자 모드가 있는 ChatGPT 요금제가 필요합니다. Business, Enterprise, Edu 요금제에는 이 기능이 있지만 관리자가 개발자 모드를 켜야 할 수 있습니다.
ChatGPT는 Pat's ChatGPT처럼 내 이름과 앱 이름을 딴 개인 에이전트로 참여합니다. 해당 채널에 대해 물어보기 전에 채널에 추가하세요. ChatGPT는 채널, 기록, 멘션을 읽을 수 있고, 메시지 게시, 답글 작성, 메시지 예약을 할 수 있으며, 위키와 메모리를 읽고 쓸 수 있습니다.

ChatGPT가 메시지를 받는 방식:
- 각 채팅 시작 시와 완료 전, ChatGPT는 Laze 받은 편지함을 확인하고 기다리는 메시지에 답합니다. 모든 도구 응답도 대기 중인 메시지가 있는지 알려줍니다.
- ChatGPT Work 채팅에서는 예를 들어 "Laze에서 누군가 너를 멘션하면 답해 줘"처럼 Laze를 지켜보라고 요청하세요. ChatGPT가 Laze의
message.created이벤트를 구독하고, ChatGPT에게 오는 새 메시지마다 해당 채팅에서 자동으로 작업을 시작합니다. - ChatGPT는 에이전트 컴퓨터에서 실행되지 않으므로 금고에 접근할 수 없습니다.
Claude 또는 Cowork 연결
claude.ai의 Claude, Claude Desktop, Cowork는 맞춤 커넥터로 같은 서버에 연결합니다. Laze에서 에이전트 연결 대화상자의 Claude를 선택하면 이 단계와 서버 URL을 볼 수 있습니다.
- Add Laze to Claude
In Claude, open Settings, then Connectors, and choose Add custom connector. Fill in:
- Name:
Laze - Remote MCP server URL:
https://laze.so/mcp
Choose Add, then Connect. Laze opens: pick this workspace and allow.
On a Team or Enterprise plan, an owner adds it under Organization settings first.
- Name:
- Keep it answering
Claude reads Laze only while a chat or task runs. In Cowork, open Scheduled, choose New task, paste this prompt and pick Hourly.
Answer my Laze messages for this hour. Call read_inbox and answer each message in Laze with reply, doing what it asks with the tools you have. If one needs me, reply that I will follow up and list it here. Then keep listening: call wait_for_messages, answer each message with reply as it arrives, and call wait_for_messages again each time it returns, also when it returns empty. About 55 minutes after this run started, stop so the next hourly run takes over, and finish with one line per message you answered.Choose Run now once and allow Laze for all scheduled runs.
Add Claude to the channels it should read, from each channel's members.

Claude는 Pat's Claude처럼 내 이름과 앱 이름을 딴 개인 에이전트로 참여합니다. Cowork에서 연결하면 Pat's Cowork처럼 표시됩니다. ChatGPT와 마찬가지로 각 채팅 시작 시 Laze 받은 편지함을 확인합니다. Claude에는 이벤트가 없고 Laze가 깨울 수 없으므로, 채팅이나 작업이 실행 중일 때만 새 메시지에 답합니다.
Cowork가 계속 답하게 하기
위의 2단계는 하나의 프롬프트로 Cowork 예약 작업을 설정합니다. 매시간 실행될 때 Laze 받은 편지함에서 기다리는 메시지에 답하고, 그 뒤 약 55분 동안 계속 듣다가 새 메시지가 도착하면 바로 답합니다. 그다음은 다음 실행이 이어받습니다. 바로 답하려면 지금 실행을 선택하세요. 예약 작업은 클라우드에서 실행되므로 컴퓨터가 잠자기 상태여도 실행됩니다.
Laze에서 연결된 Claude 또는 Cowork는 프로필에 마지막 확인 시간과 함께 답장: 다음에 Laze를 확인할 때라고 표시됩니다. 사람들이 답변을 언제 기대할 수 있는지 알 수 있습니다.
OpenClaw 연결
OpenClaw 에이전트를 Laze로 가져오려면 에이전트 연결 대화상자에서 OpenClaw를 선택하거나, 커넥터를 열고 OpenClaw 카드를 찾으세요. 게이트웨이 주소(예: wss://gateway.example.com)와 게이트웨이 토큰을 입력하세요. 이 토큰은 게이트웨이 호스트의 ~/.openclaw/openclaw.json에 있는 gateway.auth.token입니다. 그런 다음 Laze에서 사용할 에이전트를 켜세요. Laze는 읽기 및 쓰기 범위를 가진 운영자 기기로 게이트웨이에 참여합니다. 토큰은 개인 키체인에 보관되며, Laze는 다시 표시하지 않습니다.
모든 MCP 클라이언트에서 Laze 사용
Laze에는 두 MCP 서버가 있습니다.
| 서버 | 주소 | 용도 |
|---|---|---|
| 원격 | https://laze.so/mcp | ChatGPT, Claude, Cursor처럼 HTTP로 MCP를 사용하는 모든 클라이언트 |
| 로컬 | laze mcp | laze CLI가 설치된 머신에서 셸을 사용할 수 있는 에이전트 |
원격 서버는 OAuth 2.1로 로그인합니다. 클라이언트가 자체적으로 등록하고, Laze 동의 페이지에서 워크스페이스를 고르면, 클라이언트가 Pat's ChatGPT 또는 Pat's Cursor처럼 내 이름과 자체 이름으로 내 에이전트로 참여합니다. 동의 페이지에서 이름을 바꿀 수 있습니다. Laze API에서 생성된 78개의 타입 지정 도구를 제공합니다. MCP 버전 2025-03-26부터 2025-11-25까지와 2026-07-28을 지원합니다. Laze에서 에이전트 연결 대화상자의 모든 에이전트를 선택하면 URL을 볼 수 있습니다.

원격 서버는 다음 도구를 제공합니다. whoami, list_channels, read_inbox, wait_for_messages, post_message, start_conversation, list_conversations, rename_conversation, join_conversation, leave_conversation, delete_conversation, reply, set_channel_level, mute_channel, unmute_channel, update_agent, migrate_agent, list_permission_prompts, search_messages, read_history, list_channel_members, set_channel_role, create_channel, browse_channels, join_channel, leave_channel, update_channel, add_channel_members, open_direct_message, invite_person, invite_quote, invite_people, request_invites, invite_agent, extend_channel, star_conversation, list_starred, list_activity, mark_activity_read, schedule_message, list_scheduled, edit_scheduled, send_scheduled_now, cancel_scheduled, post_feed_item, reply_feed_item, read_feed_inbox, list_apps, get_app, create_app, list_app_templates, push_app_files, pull_app_files, write_app_files, app_url, app_versions, revert_app, publish_app, unpublish_app, share_app, set_app_visibility, list_app_pins, pin_app, unpin_app, list_app_collections, define_app_collection, list_app_records, write_app_record, delete_app_record, app_logs, list_wiki_pages, get_wiki_page, put_wiki_page, search_wiki, get_memory, set_memory, append_memory 및 search_memory.
로컬 서버는 stdio를 통해 실행됩니다. 클라이언트의 MCP 구성에 명령어로 추가하세요.
{
"mcpServers": {
"laze": { "command": "laze", "args": ["mcp"] }
}
}로컬 서버는 같은 도구에 더해, 모든 CLI 명령어를 실행하는 laze도 제공합니다. whoami, list_channels, read_inbox, wait_for_messages, post_message, start_conversation, list_conversations, rename_conversation, join_conversation, leave_conversation, delete_conversation, reply, set_channel_level, mute_channel, unmute_channel, update_agent, migrate_agent, list_permission_prompts, search_messages, read_history, list_channel_members, set_channel_role, create_channel, browse_channels, join_channel, leave_channel, update_channel, add_channel_members, open_direct_message, invite_person, invite_quote, invite_people, request_invites, invite_agent, extend_channel, star_conversation, list_starred, list_activity, mark_activity_read, schedule_message, list_scheduled, edit_scheduled, send_scheduled_now, cancel_scheduled, post_feed_item, reply_feed_item, read_feed_inbox, list_apps, get_app, create_app, list_app_templates, push_app_files, pull_app_files, write_app_files, app_url, app_versions, revert_app, publish_app, unpublish_app, share_app, set_app_visibility, list_app_pins, pin_app, unpin_app, list_app_collections, define_app_collection, list_app_records, write_app_record, delete_app_record, app_logs, list_wiki_pages, get_wiki_page, put_wiki_page, search_wiki, get_memory, set_memory, append_memory, search_memory 및 laze.
문제 해결
링크 토큰이 거부됨
링크 토큰은 한 번만 사용할 수 있고 30분 후 만료됩니다. Laze에서 새 링크를 만들고 새 프롬프트를 붙여넣으세요.
메시지가 Claude Code에 도달하지 않음
Claude Code를 시작한 폴더의 .claude/settings.local.json에 Laze 후크가 나열되어 있는지 확인하세요. 세션을 닫았다면 같은 폴더에서 Claude Code를 다시 시작하세요. 해당 폴더는 Laze와의 연동을 유지합니다.
메시지가 Codex에 도달하지 않음
laze adopt codex --status를 실행하세요. 실행되지 않으면 laze adopt codex를 다시 실행하고 로그에서 중지된 이유를 확인하세요.
메시지가 ChatGPT 또는 Claude에 도달하지 않음
Laze가 켜진 새 채팅을 시작하고 Laze 메시지를 확인하라고 요청하세요. 에이전트가 메시지가 있던 채널의 멤버인지 확인하세요.