프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Octri API Docs

제작자: octridev버전 1.4.2i★ 4i내 컴퓨터에서 실행
레지스트리 이름dev.octri/mcp

설치 방법

What it does

Search an Octri project's API docs and call its endpoints as tools, shaped by its SDK Studio config.

  • Connects 내 컴퓨터에서 실행
  • Account or key Needs OCTRI_API_TOKEN, OCTRI_API_KEY, OCTRI_API_KEY_HEADER, OCTRI_API_PASSWORD · 1 setting to fill in (OCTRI_PROJECT_ID)
  • Category 검색 및 AI 기억

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 14일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있지만 먼저 준비가 필요해요

Octri API Docs 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (OCTRI_PROJECT_ID) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

  1. 제작자 설치 파일 내려받기

    제작자의 .mcpb 파일 다운로드

    .mcpb 파일은 제작자에게서 바로 온 것으로, 우리는 바꾸지 않았어요

  2. 파일을 두 번 클릭한 뒤 컴퓨터용 Claude 앱에서 Install 누르기

  3. 해 보기

    Octri API Docs을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 Octri API Docs을 쓰고 있다고 하거나 답에 Octri API Docs 도구 이름이 나오면 연결된 거예요

추가 설정 2개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • OCTRI_API_BASE_URL Base URL for endpoint calls. Defaults to the Base URL set in the project's SDK Studio.
  • OCTRI_API_USERNAME Basic-auth username for the documented API.

설명은 아직 영어 원문입니다.

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 Octri API Docs에 연결할 수 없어요

Octri API Docs는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요

대신 이렇게 할 수 있어요

A · Octri API Docs에 연결되는 앱 쓰기

  • Octri API Docs 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (OCTRI_PROJECT_ID) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
  • Octri API Docs 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (OCTRI_PROJECT_ID) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • Octri API Docs 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (OCTRI_PROJECT_ID) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • Octri API Docs 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (OCTRI_PROJECT_ID) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

B · 검색 및 AI 기억에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있지만 먼저 준비가 필요해요

Octri API Docs 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (OCTRI_PROJECT_ID) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. Octri API Docs에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Octri API Docs 사이트 열기 ↗

  3. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • OCTRI_PROJECT_ID The Octri project whose docs and endpoints this server exposes.

    설명은 아직 영어 원문입니다.

  4. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  5. 이 명령을 붙여 넣고 Enter

    claude mcp add --scope user octri --env OCTRI_PROJECT_ID=your-value --env OCTRI_API_TOKEN=your-value --env OCTRI_API_KEY=your-value --env OCTRI_API_KEY_HEADER=your-value --env OCTRI_API_PASSWORD=your-value -- npx -y @octri/mcp

    Enter 전에 “your-value”를 내 키로 바꾸세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. Claude Code에서 /mcp 입력

    Octri API Docs이 목록에 있고 연결됨으로 보이면 돼요

  7. 해 보기

    Octri API Docs을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 Octri API Docs을 쓰고 있다고 하거나 답에 Octri API Docs 도구 이름이 나오면 연결된 거예요

추가 설정 2개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • OCTRI_API_BASE_URL Base URL for endpoint calls. Defaults to the Base URL set in the project's SDK Studio.
  • OCTRI_API_USERNAME Basic-auth username for the documented API.

설명은 아직 영어 원문입니다.

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있지만 먼저 준비가 필요해요

Octri API Docs 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (OCTRI_PROJECT_ID) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. Octri API Docs에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Octri API Docs 사이트 열기 ↗

  3. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • OCTRI_PROJECT_ID The Octri project whose docs and endpoints this server exposes.

    설명은 아직 영어 원문입니다.

  4. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  5. 키 입력

    Octri API Docs 설정에서 OCTRI_API_TOKEN, OCTRI_API_KEY, OCTRI_API_KEY_HEADER, OCTRI_API_PASSWORD, OCTRI_PROJECT_ID가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. Cursor에서 AI 채팅을 Agent 모드로 열기

  7. 해 보기

    Octri API Docs을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 Octri API Docs을 쓰고 있다고 하거나 답에 Octri API Docs 도구 이름이 나오면 연결된 거예요

추가 설정 2개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • OCTRI_API_BASE_URL Base URL for endpoint calls. Defaults to the Base URL set in the project's SDK Studio.
  • OCTRI_API_USERNAME Basic-auth username for the documented API.

설명은 아직 영어 원문입니다.

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있지만 먼저 준비가 필요해요

Octri API Docs 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (OCTRI_PROJECT_ID) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. Octri API Docs에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Octri API Docs 사이트 열기 ↗

  3. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • OCTRI_PROJECT_ID The Octri project whose docs and endpoints this server exposes.

    설명은 아직 영어 원문입니다.

  4. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  5. 키 입력

    Octri API Docs 설정에서 OCTRI_API_TOKEN, OCTRI_API_KEY, OCTRI_API_KEY_HEADER, OCTRI_API_PASSWORD, OCTRI_PROJECT_ID가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. VS Code에서 AI 채팅을 Agent 모드로 열기

  7. 해 보기

    Octri API Docs을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 Octri API Docs을 쓰고 있다고 하거나 답에 Octri API Docs 도구 이름이 나오면 연결된 거예요

추가 설정 2개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • OCTRI_API_BASE_URL Base URL for endpoint calls. Defaults to the Base URL set in the project's SDK Studio.
  • OCTRI_API_USERNAME Basic-auth username for the documented API.

설명은 아직 영어 원문입니다.

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? Octri API Docs을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

컴퓨터에 설치

Claude Code

claude mcp add --scope user octri --env OCTRI_PROJECT_ID=your-value --env OCTRI_API_TOKEN=your-value --env OCTRI_API_KEY=your-value --env OCTRI_API_KEY_HEADER=your-value --env OCTRI_API_PASSWORD=your-value -- npx -y @octri/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "octri": {
      "command": "npx",
      "args": [
        "-y",
        "@octri/mcp"
      ],
      "env": {
        "OCTRI_PROJECT_ID": "your-value",
        "OCTRI_API_TOKEN": "your-value",
        "OCTRI_API_KEY": "your-value",
        "OCTRI_API_KEY_HEADER": "your-value",
        "OCTRI_API_PASSWORD": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "octri": {
      "command": "npx",
      "args": [
        "-y",
        "@octri/mcp"
      ],
      "env": {
        "OCTRI_PROJECT_ID": "your-value",
        "OCTRI_API_TOKEN": "your-value",
        "OCTRI_API_KEY": "your-value",
        "OCTRI_API_KEY_HEADER": "your-value",
        "OCTRI_API_PASSWORD": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "octri": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@octri/mcp"
      ],
      "env": {
        "OCTRI_PROJECT_ID": "your-value",
        "OCTRI_API_TOKEN": "your-value",
        "OCTRI_API_KEY": "your-value",
        "OCTRI_API_KEY_HEADER": "your-value",
        "OCTRI_API_PASSWORD": "your-value"
      }
    }
  }
}

직접 입력할 값

  • OCTRI_PROJECT_ID 필수 env
    The Octri project whose docs and endpoints this server exposes.
  • OCTRI_API_BASE_URL env
    Base URL for endpoint calls. Defaults to the Base URL set in the project's SDK Studio.
  • OCTRI_API_TOKEN 비밀 필수 env
    Bearer or OAuth2 token for the documented API, not for Octri.
  • OCTRI_API_KEY 비밀 필수 env
    API key for the documented API, not for Octri. Sent in the OCTRI_API_KEY_HEADER header.
  • OCTRI_API_KEY_HEADER 비밀 필수 env
    Header that carries OCTRI_API_KEY.
  • OCTRI_API_USERNAME env
    Basic-auth username for the documented API.
  • OCTRI_API_PASSWORD 비밀 필수 env
    Basic-auth password for the documented API.

설명은 아직 영어 원문입니다.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
579/주
확인된 도메인
✓ octri.dev
연결 방식
내 컴퓨터에서 실행
최신 버전i
1.4.2
레지스트리 공개i
2026년 11월 4일
코드 마지막 변경i
2026년 11월 4일
제작자
octridev
패키지
npm: @octri/mcp
mcpb: …/octri-mcp-1.4.2.mcpb
웹사이트
octri.dev
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 14일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 도메인 octri.dev 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 10일 전

  • ✓ 통과

    라이선스 있음

    MIT 사용

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

Google로 로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

Google로 로그인하고 리뷰 쓰기

검색 및 AI 기억 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 6116개 중 88%보다 스타가 많아요
  • 이 카테고리의 다른 서버 6116개 중 80%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 6116개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Octri API Docs, 안전한가요?

해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: OCTRI_API_TOKEN, OCTRI_API_KEY, OCTRI_API_KEY_HEADER, OCTRI_API_PASSWORD

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 10일 전 변경됐고, 최신 버전(1.4.2)은 10일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js, MCPB도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Context7, Codebase Memory, OpenSEO

같은 카테고리의 다른 것

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Context7

Up-to-date docs for AI agents

제작자: upstash널리 사용됨↓ 125만/주★ 6.5만그저께 업데이트

컴퓨터 또는 클라우드

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

제작자: DeusData널리 사용됨↓ 1.7만/주★ 4.9만28일 전 업데이트

내 컴퓨터에서 실행

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

제작자: every-app널리 사용됨★ 2.8만오늘 업데이트

클라우드에서 실행✓ everyapp.com

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

@octri/mcp

An MCP server that turns your API documentation into tools an AI assistant can call. Claude, Cursor, VS Code Copilot, and any other MCP client can search your endpoints, open a guide, pull a ready-to-use SDK snippet in any supported language, and check the changelog for breaking changes, all from the same OpenAPI spec your docs are built from.

Octri turns an OpenAPI spec into a documentation site, client SDKs for ten languages, an MCP server your AI assistant can call, and monitoring for the API behind them. This package is the MCP server. See octri.dev/mcp.

Node 20 or newer. Runs over stdio for a local client, or Streamable HTTP when you host it.

Operation bodies use documented media type. For multipart or binary values, pass files only as bounded inline descriptor: { "filename": "report.csv", "content": "base64...", "contentType": "text/csv" }. Paths and URLs are intentionally unsupported.

Explicit URL-encoded deepObject fields with explode: true use bracketed wire keys, including nested objects and arrays. This covers APIs such as Stripe that mark fields like invoice_settings and tax_id_data as deepObject.

Install

npx -y @octri/mcp

Most clients are configured with that command, so a global install is optional. The Installation section below has the exact config block for each one.

Or install it in one click. VS Code asks for your project ID; Cursor writes YOUR_PROJECT_ID into its mcp.json for you to replace.

Listed in the official MCP Registry as dev.octri/mcp.

Tools

ToolDescription
search_docsSearch the API documentation for an endpoint or concept
get_endpointGet full documentation for a specific API endpoint
list_endpointsList all available API endpoints, optionally filtered by section
get_changelogGet recent API changes and breaking changes
list_sdksList the available SDK client libraries (languages, versions, download links)
get_guideGet the full content of a written guide by its slug
get_sdk_methodsGet ready-to-use SDK code snippets for each endpoint in every supported language

Installation

Claude Desktop

One click: download octri-mcp- .mcpb from the latest release and open it. Claude Desktop installs the server and asks for the project ID and the API's credentials, keeping secrets in the system keychain. No Node install, no config file.

Or by hand: add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "my-api-docs": { "command": "npx", "args": ["@octri/mcp", "--project-id", "YOUR_PROJECT_ID"] } } }

Cursor

Add to .cursor/mcp.json in your project root (or ~/.cursor/mcp.json globally):

{

"mcpServers": { "my-api-docs": { "command": "npx", "args": ["@octri/mcp"], "env": { "OCTRI_PROJECT_ID": "YOUR_PROJECT_ID" } } } }

VS Code (Copilot / MCP extension)

Add to .vscode/mcp.json:

{

"servers": { "my-api-docs": { "type": "stdio", "command": "npx", "args": ["@octri/mcp", "--project-id", "YOUR_PROJECT_ID"] } } }


Environment variables

VariableRequiredDefaultDescription
OCTRI_PROJECT_IDYes*NoneThe project to connect to. Can also be set via --project-id CLI flag.
OCTRI_GROUPNoNoneServe only one tool group the project owner published (for example billing). Can also be set via --group. A group the project does not have serves no tools.
OCTRI_SKIP_PROMPTSNoNonePrompts to leave out, by name, comma-separated. Can also be set via --skip-prompts. The project's Claude Code plugin sets it for the prompts it already ships as slash commands, so each shows once.
OCTRI_API_URLNohttps://api.octri.dev/api/v1Override the API base URL for local development or an authorized private test endpoint. Hosted Octri self-hosting is not available.
MCP_TRANSPORTNostdiohttp for remote hosting (Streamable HTTP), or sse for the legacy transport.
PORTNo3000HTTP port for the http and sse transports.
MCP_HOSTNo127.0.0.1Interface to bind. Widening it requires MCP_AUTH_TOKEN.
MCP_ALLOWED_ORIGINSNoNoneComma-separated browser origins allowed to reach an HTTP transport.
MCP_AUTH_TOKENWhen MCP_HOST is not loopbackNoneBearer token every HTTP request must send as Authorization: Bearer .

\* Required unless every tool call passes projectId explicitly.

Credentials for the API being called

Operation tools call your real API, and these supply its credentials:

VariableDescription
OCTRI_API_BASE_URLTarget API base for operation calls (falls back to the studio's Base URL).
OCTRI_API_TOKENBearer / OAuth2 token.
OCTRI_API_KEY (+ OCTRI_API_KEY_HEADER)API-key value, and the header it goes in (default X-API-Key).
OCTRI_API_USERNAME / OCTRI_API_PASSWORDBasic-auth credentials.

All of these are sent as HTTP headers. An API that takes its credentials in the request *body* instead (Plaid's client_id and secret, for example) is not served by them: those are ordinary body fields, so they appear as tool arguments and the agent passes them like any other field. Setting OCTRI_API_KEY for such an API adds a header it ignores.

Permissions

The project owner sets every operation tool to run on its own, ask first, or off, and publishes that from the MCP page. Reads run on their own by default and everything else asks first. An "ask first" call is shown to the user through MCP elicitation (Claude Code 2.1.76+, VS Code) with its method, URL and body, and is sent only on approval. A client that cannot ask is refused the call instead.

These narrow what the owner allowed. Only ALLOW widens anything, and nothing brings back a tool the owner turned off:

VariableFlagEffect
OCTRI_READ_ONLY=1--read-onlyList and run only tools that read.
OCTRI_DENY_TOOLS=a,b--deny-tools a,bNever list or run these tools. Matches a tool's name, its endpoint slug, or the name it had before the project owner renamed it.
OCTRI_ALLOW_TOOLS=a,b--allow-tools a,bRun these "ask first" tools without asking (* for all). Matches a tool's current name or its endpoint slug; after a rename, an old name asks again.
OCTRI_ALLOW_WRITES=1--allow-writesSame as OCTRI_ALLOW_TOOLS=*.
OCTRI_DRY_RUN=1--dry-runBuild each call and return it to the agent unsent.
OCTRI_PRACTICE=1--practicePractice mode: answer every call with fake data built from the API's documentation, keeping records the agent creates for the session. Nothing is sent and no credential is needed. The project's owner must turn practice mode on.
Tool groups

A project owner can split the tools into groups, each served as its own MCP server, so a team connects only the tools a job needs. Pass --group (or set OCTRI_GROUP) to serve one. Inside a group every tool keeps the owner's permissions and the limits above: a group only takes tools away. Each group can also be reached hosted, at https://api.octri.dev/api/v1/public/mcp/ /g/ /mcp.

Usage reporting

Each tool call reports its tool name, outcome, duration, tool group (when one is served) and the client's name to Octri, so the project owner can see which tools agents use. Arguments and responses are never sent. Set OCTRI_TELEMETRY=0 or pass --no-telemetry to turn it off.


Remote hosting

Use Streamable HTTP (MCP_TRANSPORT=http), the transport the MCP spec has defined for remote servers since revision 2025-03-26 and the one a current client tries first:

docker build -t octri-mcp .

docker run -p 3000:3000 \ -e MCP_AUTH_TOKEN= \ -e OCTRI_PROJECT_ID=YOUR_PROJECT_ID \ octri-mcp

The image binds all interfaces, so it refuses to start without MCP_AUTH_TOKEN; clients send it as Authorization: Bearer . It runs as a non-root user, and GET /health answers a container or load balancer probe without the token.

It serves a single endpoint, /mcp. A client's first request opens a session and gets its id back in the mcp-session-id header; every later request carries it and reaches the same server. That is what lets a tool that asks first work: the approval prompt goes out in the middle of a call and the answer comes back on another request. Sessions idle for 30 minutes are closed. Behind more than one replica, route by mcp-session-id (sticky sessions). Point a remote MCP client at http://your-host:3000/mcp.

Legacy HTTP+SSE transport

MCP_TRANSPORT=sse serves the older 2024-11-05 design, kept so existing deployments keep working. It exposes GET /sse to open a connection and POST /messages?sessionId= to relay client messages. Prefer http for anything new.

Binding and origins

Both HTTP transports bind 127.0.0.1 by default and refuse any request whose Origin is not listed in MCP_ALLOWED_ORIGINS, or whose Host is not loopback. This server holds your API credentials, and any page the browser visits can reach a loopback port.

Widening MCP_HOST puts those credentials on the network, so the server then refuses to start without MCP_AUTH_TOKEN, and every request must send Authorization: Bearer . Configure the same header in your MCP client, and list browser origins explicitly.


Check your setup

npx -y @octri/mcp doctor --project-id YOUR_PROJECT_ID

Confirms the project and its tools load, the base URL and credentials are set, and makes one real read call, then says what to fix if anything fails. --no-call skips the call. Exits non-zero on a failure.


Keep the credential out of the config

npx -y @octri/mcp login --project-id YOUR_PROJECT_ID

Asks for the API credential the project's scheme needs and saves it in your system keychain (macOS Keychain, Windows Credential Manager, or the Secret Service on Linux). Your MCP client's config then needs no OCTRI_API_* variable. A variable set in the config still wins. logout removes it.

The keychain store, @napi-rs/keyring, is an optional dependency. Where it cannot install or the system has no secret store, login says so and env variables work as before.


Local development

# Build

pnpm build

Run in stdio mode

OCTRI_PROJECT_ID=my-project node dist/index.js

Run in Streamable HTTP mode (POST /mcp)

MCP_TRANSPORT=http OCTRI_PROJECT_ID=my-project node dist/index.js

Run in the legacy SSE mode

MCP_TRANSPORT=sse OCTRI_PROJECT_ID=my-project node dist/index.js

As a library

The octri-mcp command is one host for the server core. createServer takes the tool source and everything else a host decides:

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요