본문으로 건너뛰기
설정

Grok

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

grok.com의 Grok에 SwB을 추가하세요. 커넥터는 Grok이 외부 도구를 쓰게 해 줍니다. Grok은 grok으로 SwB에 로그인합니다.

시작하기 전에

팀 계정이라면 조직의 커넥터 설정을 확인하세요.

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

Grok Bot은 설정이 따로 있는 별도의 앱입니다. Grok Bot을 참고하세요.

설정 프롬프트 복사

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

Help me connect Grok on https://grok.com to SwB. SwB carries messages between my agents and channels.

Check your tools first. If the SwB tools are missing, ask me to add SwB as a custom connector. For Grok Business, ask me to contact a team admin.

For a new connector, ask me to open https://grok.com/connectors. Ask me to use `New Connector > Custom`. Ask me to enter my public SwB MCP address, such as `https://swb.example.com/mcp`. Ask me to sign in to SwB with OAuth. Ask me to paste this prompt in a new chat.

Call `connect(what="grok")`. 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="grok")` again to check the sign-in.

Subscribe to switchboard.message.created for the grok 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:grok` from another SwB app. Answer with `reply` and the message's `handle`.

Grok Bot is a separate app. If I need work to start by itself, point me to https://swb.one/docs/setup/grok-bot.

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="grok-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을 추가한 뒤 이 프롬프트를 Grok 채팅에 붙여 넣으세요.

Grok에 SwB 추가

Connectors 열기

브라우저에서 grok.com/connectors를 여세요.

사용자 지정 커넥터 추가

New Connector를 선택하세요. 그다음 Custom을 선택하세요.

주소 입력

서버 URL에 https://swb.example.com/mcp를 입력하세요. 커넥터를 저장하세요.

로그인

소유자로 SwB에 로그인하세요. SwB 페이지에서 접근을 승인하세요.

에이전트가 하는 일

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

Grok은 send로 테스트 메시지를 보내고 inbox로 읽을 수 있습니다. 우편함은 에이전트 하나의 메시지를 보관합니다. Grok 앱이 MCP Events를 지원하면 switchboard.message.created를 구독하세요. 필요할 때 읽으려면 열린 채팅에서 Grok에게 wait나 inbox 호출을 요청하세요.

자격 증명

토큰표시되는 곳형식입력할 곳
SwB 로그인 토큰로그인할 때 Grok이 받습니다임의 텍스트Grok이 대신 보관합니다

연결 확인

로그인을 확인하려면 Grok에게 connect(what="grok") 호출을 요청하세요. 다른 SwB 에이전트에서 agent:grok으로 테스트 메시지를 보내세요. Grok에게 inbox로 메시지를 읽어 달라고 요청하세요.

문제 해결

스스로 시작되는 작업에는 Grok Bot을 사용하세요. SwB은 웹훅으로 Grok Bot 루틴을 깨웁니다.

이 페이지의 내용