npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

kontext-mcp-server

v0.1.0

Published

Kontext MCP Server - Context Packet provider for AI assistants

Readme

Kontext MCP Server

Kontext의 Context Packet을 Claude Desktop, Cursor, VS Code 등 AI 어시스턴트에서 조회할 수 있는 MCP(Model Context Protocol) 서버입니다.

설치 및 빌드

cd mcp-server
npm install
npm run build

API 키 발급

  1. Kontext 로그인
  2. Settings → API Keys 이동
  3. "새 키 생성" 클릭
  4. 생성된 키 (kx_...) 복사 후 안전하게 보관

Claude Desktop 설정

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 또는 %APPDATA%\Claude\claude_desktop_config.json (Windows) 파일에 다음 내용 추가:

{
  "mcpServers": {
    "Kontext": {
      "command": "node",
      "args": ["/절대경로/mcp-server/build/index.js"],
      "env": {
        "KONTEXT_URL": "https://kontext.so",
        "KONTEXT_API_KEY": "kx_your_key_here"
      }
    }
  }
}

중요: args의 경로는 절대 경로여야 합니다.

설정 후 Claude Desktop을 완전히 종료하고 다시 시작하세요.

환경변수

| 변수 | 설명 | 기본값 | |------|------|--------| | KONTEXT_API_KEY | API 키 (필수) | - | | KONTEXT_URL | Kontext 서버 URL | http://localhost:3000 |

제공 도구

1. get_context

Context Packet을 조회합니다.

파라미터:

  • packet_id (optional): 특정 패킷 ID. 없으면 최신 패킷 반환
  • format (optional): xml, markdown, json. 기본값: markdown

사용 예시:

"가장 최근 Context Packet을 보여줘"
"packet_abc123의 내용을 XML 형식으로 보여줘"

2. list_packets

사용 가능한 Context Packet 목록을 조회합니다.

파라미터:

  • limit (optional): 최대 개수. 기본값: 10

사용 예시:

"내 Context Packet 목록 보여줘"
"최근 5개 패킷만 보여줘"

3. list_canvases

Kontext 캔버스 목록을 조회합니다.

파라미터: 없음

사용 예시:

"내 캔버스 목록 보여줘"

개발 모드

npm run dev  # TypeScript 감시 모드

문제 해결

API 키 오류

  • Settings → API Keys에서 키가 활성화 상태인지 확인
  • 키가 kx_로 시작하는지 확인

연결 안 됨

  • Claude Desktop 완전히 종료 후 재시작
  • 설정 파일의 JSON 문법 오류 확인 (마지막 항목 뒤 쉼표 제거)
  • args의 경로가 절대 경로인지 확인

라이선스

MIT