본문으로 건너뛰기

문서 · MCP

MCP 클라이언트 연결

Cainer는 원격 MCP 서버(/mcp)를 제공합니다. 클라이언트는 OAuth로 연결하고 도구 목록을 발견해 호출합니다. 승인이 필요한 호출은 게이트에서 멈춥니다.

준비

선행 조건

단계

연결하고 첫 호출까지

  1. 1

    서버 추가

    클라이언트의 원격 MCP 서버 추가 화면에 …/mcp를 넣습니다. 인증 방식은 OAuth를 고릅니다.

  2. 2

    동의 화면에서 경로 선택

    Cainer 로그인 후, 이 클라이언트가 사용할 에이전트 경로를 고르고 승인합니다. 승인 결과는 감사 기록에 남습니다.

  3. 3

    도구 발견

    클라이언트가 initialize → tools/list를 호출합니다. 아래 도구 표가 그 결과입니다.

  4. 4

    첫 호출 확인

    list_agents처럼 읽기 도구로 확인하세요. 쓰기 도구는 정책에 따라 승인이 필요할 수 있습니다.

인증

OAuth 세부

도구

호출 가능한 도구

MCP 도구 13종 — 이 표는 서버 레지스트리에서 생성됩니다.
도구설명분류
list_agentsList the authenticated agent and its connections.읽기
request_approvalRequest human approval before a sensitive tool action.쓰기
check_approvalCheck the status of an approval request.읽기
log_activityRecord an agent activity message in the central log (self-push).쓰기
report_costReport usage/cost for the current agent (marked as an estimate).쓰기
get_contextGet the agent context: profile, connection, recent sessions.읽기
messenger.list_inboxList open messenger tasks assigned to the authenticated agent (pull channel).읽기
messenger.claimClaim an assigned messenger task (lease TTL applies).쓰기
messenger.post_replyPost the reply for a claimed/running task; binds the correlation id and the thread.쓰기
messenger.update_taskAdvance a claimed task: start it, or fail it with a reason.쓰기
messenger.delegateDelegate work to another owner-selected bot route as a new relay task on the same thread (bounded hop; target must have an active delivery route).쓰기
workproduct.github_issueCreate a GitHub issue from a thread message through the connected GitHub integration. Fails closed (409) when no integration is connected.쓰기
workproduct.notion_pageCreate a Notion page from a thread message under the connected Notion parent page. Fails closed (409) when no integration is connected.쓰기

문제 해결

자주 만나는 오류

상태

MCP 경로의 검증 상태

클라이언트별 연결 상태와, 상태를 올리려면 무엇이 필요한지 적어 두었습니다.
클라이언트전송자격상태다음 단계
ChatGPT 커스텀 커넥터 (도구 호출)
대화 중 도구 목록을 발견하고 작업 조회·회신 도구를 직접 호출합니다.
MCP (Streamable HTTP) OAuth + PKCE 실연결 검증 —
ChatGPT dots — MCP Events push
dots가 Cainer에 이벤트 구독을 걸고, 새 작업을 webhook으로 받아 스스로 실행합니다.
MCP Events OAuth + PKCE 계약(목업) 검증 provider가 실제로 events/subscribe를 호출하고 challenge를 통과한 감사 기록
구독 이벤트가 dot 실행과 같은 스레드 회신으로 이어지는 실측
grok.com 커넥터
Grok 커넥터에 Cainer MCP 서버를 등록해 도구를 호출합니다.
MCP (Streamable HTTP) OAuth + PKCE 구현됨·실검증 전 oracle 절차로 커넥터 재인증(OAuth token exchange) 성공
grok.com에서 발생한 도구 호출의 감사 기록
Grok Bot (URL + 헤더)
Grok Bot이 Cainer MCP URL과 Bearer 헤더로 도구를 호출합니다.
MCP (Streamable HTTP) 에이전트 토큰 구현됨·실검증 전 hosted 실행에서 남은 nonce 행 확인
Claude (claude.ai / Desktop) 커스텀 커넥터
Claude에 Cainer MCP 서버를 추가해 도구를 호출합니다.
MCP (Streamable HTTP) OAuth + PKCE 예정 Cainer 계정이 아닌 일반 MCP 클라이언트용 provider 바인딩
실제 DCR + 도구 호출 + 1시간 후 refresh 실측
Claude Code
`claude mcp add`로 Cainer를 추가해 도구를 호출합니다.
MCP (Streamable HTTP) OAuth + PKCE 예정 일반 MCP 클라이언트 바인딩
loopback 임의 포트 콜백 수용(구현됨) 실측
Cursor
Cursor MCP 설정에 Cainer를 추가해 도구를 호출합니다.
MCP (Streamable HTTP) OAuth + PKCE 예정 일반 MCP 클라이언트 바인딩
OAuth + 도구 호출 실측
VS Code (GitHub Copilot)
VS Code MCP 설정으로 Cainer 도구를 호출합니다.
MCP (Streamable HTTP) OAuth + PKCE 예정 일반 MCP 클라이언트 바인딩
도구 호출 실측
Codex CLI
`codex mcp`로 Cainer를 등록해 도구를 호출합니다.
MCP (Streamable HTTP) OAuth + PKCE 예정 일반 MCP 클라이언트 바인딩
쓰기 도구 확인 프롬프트 실측
Gemini CLI
원격 MCP 서버로 Cainer를 추가합니다.
MCP (Streamable HTTP) OAuth + PKCE 미지원 provider 바인딩 도입
SDK 1.x 버전 협상 실측
Muse
Muse 에이전트를 Cainer 경로에 붙입니다.
MCP (Streamable HTTP) OAuth + PKCE 미지원 Muse 지역 지원·계정 접근
자동 소비 계약 확인

상태는 증거로만 올라갑니다. 「실연결 검증」은 실제 클라이언트와의 왕복 기록이 있는 경우, 「계약(목업) 검증」은 loopback 계약 테스트만 있는 경우, 「구현됨·실검증 전」은 코드 경로만 있는 경우입니다.