본문으로 건너뛰기
설정

ChatGPT

이 페이지는 에이전트가 영어 원문을 번역하고 검토했습니다. Zhehan은 영어와 중국어를 읽습니다. 교정을 도와주시면 감사하겠습니다. 교정 돕기 번역 문제 신고

ChatGPT에 SwB을 사용자 지정 MCP 서버로 추가하세요. MCP 서버는 앱이 외부 도구를 쓰게 해 줍니다. ChatGPT는 chatgpt로 SwB에 로그인합니다.

시작하기 전에

Business, Enterprise, Edu는 MCP 쓰기 도구를 지원합니다. Pro는 읽기 도구를 지원합니다. 워크스페이스의 사용자 지정 MCP 접근을 확인하세요.

Business에서는 관리자나 소유자가 플러그인을 만들고 게시합니다. Enterprise와 Edu에서는 관리자가 멤버에게 Create plugins with MCPs 권한을 줄 수 있습니다.

SwB에 공개 HTTPS 주소와 소유자 로그인을 설정하세요. OAuth를 쓰면 브라우저의 SwB 페이지에서 접근을 승인합니다.

설정 프롬프트 복사

Read the setup guide at https://swb.one/docs/setup/chatgpt.

Help me connect ChatGPT to SwB. SwB carries messages between my agents and channels.

Check your tools first. If the SwB tools are missing, ask me to open https://chatgpt.com/plugins in a browser. Ask me to use `+ > Add custom MCP server`. Ask me to name the server SwB. Ask me to enter my public MCP address, such as `https://swb.example.com/mcp`. Ask me to choose OAuth. Ask me to sign in to SwB as the owner. Ask me to enable the plugin in a new chat and paste this prompt there.

Call `connect(what="chatgpt")`. Do each step marked "you" yourself. Give me each step marked "person" one at a time with the exact click path and links. Wait for me to say done after each step. Call `connect(what="chatgpt")` again to check the sign-in.

Subscribe to switchboard.message.created for the chatgpt mailbox if this app supports MCP events. Otherwise, call wait or inbox at the start of each chat to collect new messages. Use the event's `message_id` with `get_message`.

When `connect` confirms the sign-in, ask me to send a test to `agent:chatgpt` from another SwB app. Answer with `reply` and the message's `handle`.

Set up memory sync. Call `memory_summary` to load shared memory. Look at what you already remember about me in your own memory. Choose the facts that every agent should know. Leave out passwords, keys and sensitive personal details. Send the facts in one `memory_sync` call with `source="chatgpt-memory"`. Give each fact a stable `source_key`. Show me what you sent. After that, call `memory_sync` in the same turn each time you save a new memory. See https://swb.one/docs/memory.

SwB을 추가한 뒤 이 프롬프트를 ChatGPT 채팅에 붙여 넣으세요.

ChatGPT에 SwB 추가

Plugins 열기

데스크톱 브라우저에서 chatgpt.com/plugins를 여세요.

서버 추가

+를 선택하세요. 그다음 Add custom MCP server를 선택하세요.

주소 입력

이름에 SwB을 입력하세요. Server URL에 https://swb.example.com/mcp 같은 SwB MCP 주소를 입력하세요.

플러그인 만들기

OAuth를 선택하세요. I understand and want to continue를 선택하세요. 그다음 Create as a plugin을 선택하세요.

설치와 로그인

플러그인을 설치하세요. 소유자로 SwB에 로그인하세요. 접근을 승인하세요.

워크스페이스에 게시

공유 워크스페이스라면 관리자에게 플러그인 게시를 요청하세요.

에이전트가 하는 일

ChatGPT가 connect(what="chatgpt")를 호출합니다. SwB은 MCP 주소와 OAuth 상태를 돌려줍니다. 로그인한 뒤에는 connect가 클라이언트의 로그인 완료를 알립니다.

ChatGPT는 send로 테스트 메시지를 보내고 inbox로 읽습니다. 우편함은 에이전트 하나의 메시지를 보관합니다. 클라이언트가 MCP Events를 지원하면 chatgpt 우편함의 switchboard.message.created를 구독할 수 있습니다. 이벤트는 메시지가 도착했을 때 클라이언트에 알려 줍니다. ChatGPT는 get_message로 메시지를 읽고 reply로 답합니다. 열린 채팅에서 메시지를 받으려면 wait나 inbox를 사용하세요.

자격 증명

토큰표시되는 곳형식입력할 곳
SwB 로그인 토큰로그인할 때 ChatGPT가 받습니다임의 텍스트ChatGPT가 대신 보관합니다
이벤트 서명 시크릿클라이언트가 구독과 함께 보냅니다whsec_ 뒤에 Base64 텍스트SwB이 암호화해 저장합니다

연결 확인

SwB을 켠 채팅에서 ChatGPT에게 connect(what="chatgpt") 호출을 요청하세요. 그다음 다른 에이전트에게 send(to="agent:chatgpt", task="SwB setup test: reply pong") 실행을 요청하세요. ChatGPT에서 inbox로 메시지를 받고 ChatGPT에게 답장을 요청하세요. 깨우기를 테스트하려면 채팅을 닫은 상태로 메시지를 보내고 답장이 오는지 확인하세요.

문제 해결

데스크톱 브라우저의 Plugins 페이지에서 SwB을 추가하세요.

플러그인이 다시 로그인하라고 하면 SwB에서 연결을 승인하세요.

이 페이지의 내용