Context7
Introduction to Context7
Knowledge Integration Platform
- Semantic search across technical documentation
- API for resolving library/package identifiers
- Documentation retrieval system
Context7 소개
지식 통합 플랫폼
- 기술 문서에 대한 시맨틱 검색
- 라이브러리/패키지 식별자 해결 API
- 문서 검색 시스템
Core Features
Library Resolution
<use_mcp_tool>
<server_name>context7</server_name>
<tool_name>resolve-library-id</tool_name>
<arguments>
{
"libraryName": "Roo Code"
}
</arguments>
</use_mcp_tool>
- Resolves ambiguous package names to canonical IDs
- Supports versioned package specifications
라이브러리 해결
(위 XML 예제 동일)
- 모호한 패키지 이름을 표준 ID로 변환
- 버전 지정 패키지 지원
Documentation Retrieval
<use_mcp_tool>
<server_name>context7</server_name>
<tool_name>get-library-docs</tool_name>
<arguments>
{
"context7CompatibleLibraryID": "/roovetgit/roo-code-docs",
"tokens": 10000
}
</arguments>
</use_mcp_tool>
- Fetches up-to-date documentation
- Token limit controls response size
문서 검색
(위 XML 예제 동일)
- 최신 문서 조회
- 토큰 제한으로 응답 크기 조절
MCP Integration Example
{
"server_name": "context7",
"tools": [
{
"name": "resolve-library-id",
"description": "Package identifier resolution service"
},
{
"name": "get-library-docs",
"description": "Technical documentation retrieval"
}
]
}
- Standard MCP server configuration
- Supports custom documentation sources
MCP 통합 예시
(위 JSON 예시 동일)
- 표준 MCP 서버 구성
- 사용자 정의 문서 소스 지원
Recommended Usage
- Resolve library IDs before documentation requests
- Use 10,000+ tokens for full documentation context
- Combine with codebase search for cross-referencing
권장 사용법
- 문서 요청 전 라이브러리 ID 해결
- 전체 문서 컨텍스트에는 10,000+ 토큰 사용
- 코드베이스 검색과 결합하여 상호 참조
Related Pages
- 1. Cline
- 2. Roo Code
- 3. Context7 MCP
- 4. Figma MCP
- 5. Agent Development Kit(ADK)