Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions context7/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
24 changes: 24 additions & 0 deletions context7/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: v2
name: context7
description: Up-to-date code documentation for LLMs and AI code editors (MCP Server).

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: '1.0.3'

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "2.1.4"
82 changes: 82 additions & 0 deletions context7/OlaresManifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
olaresManifest.version: '0.11.0'
olaresManifest.type: app
metadata:
name: context7
icon: https://app.cdn.olares.com/appstore/context7/icon.png
description: Up-to-date code documentation for LLMs and AI code editors
appid: context7
title: Context7
version: '1.0.3'
categories:
- Developer Tools
- Productivity_v112
permission:
appData: true
appCache: true
spec:
versionName: '2.1.4'
fullDescription: |
Context7 brings up-to-date, version-specific documentation and code examples directly into your AI coding assistant. That means no more outdated code or hallucinated APIs.

Works in two modes:
- CLI + Skills — installs a skill that guides your agent to fetch docs using CLI commands (no MCP required)ctx7
- MCP — registers a Context7 MCP server so your agent can call documentation tools natively

Features
- Real-time Documentation Access: Provides AI models with access to current documentation for thousands of libraries and frameworks
- Automatic Library Resolution: Automatically finds and retrieves relevant documentation based on user queries
- Up-to-date Content: Always provides the latest documentation from official sources
- Easy Integration: Simple setup with no additional configuration required
- Seamless VS Code Integration: Works directly with VS Code's built-in AI features

developer: Upstash
website: https://context7.com/
sourceCode: https://github.com/upstash/context7
submitter: Olares
locale:
- en-US
- zh-CN
doc: https://context7.com/docs
license:
- text: MIT
url: https://github.com/upstash/context7/blob/master/LICENSE
requiredMemory: 500Mi
limitedMemory: 2Gi
requiredDisk: 512Mi
limitedDisk: 1Gi
requiredCpu: 0.2
limitedCpu: 1.5
supportArch:
- amd64
- arm64
options:
apiTimeout: 0
allowedOutboundPorts:
- 80
- 443
dependencies:
- name: olares
type: system
version: '>=1.12.3-0'
entrances:
- name: context7
port: 8080
host: context7ingress
title: Context7 Terminal
icon: https://app.cdn.olares.com/appstore/context7/icon.png
openMethod: window
authLevel: private
- name: mcpapi
port: 8081
host: context7ingress
title: Context7 MCP
icon: https://app.cdn.olares.com/appstore/context7/icon.png
invisible: true
openMethod: window
authLevel: internal
envs:
- envName: CONTEXT7_API_KEY
required: false
applyOnChange: true
type: string
editable: true
17 changes: 17 additions & 0 deletions context7/i18n/en-US/OlaresManifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
metadata:
title: Context7
description: Up-to-date code documentation for LLMs and AI code editors
spec:
fullDescription: |
Context7 brings up-to-date, version-specific documentation and code examples directly into your AI coding assistant. That means no more outdated code or hallucinated APIs.

Works in two modes:
- CLI + Skills — installs a skill that guides your agent to fetch docs using CLI commands (no MCP required)ctx7
- MCP — registers a Context7 MCP server so your agent can call documentation tools natively

Features
- Real-time Documentation Access: Provides AI models with access to current documentation for thousands of libraries and frameworks
- Automatic Library Resolution: Automatically finds and retrieves relevant documentation based on user queries
- Up-to-date Content: Always provides the latest documentation from official sources
- Easy Integration: Simple setup with no additional configuration required
- Seamless VS Code Integration: Works directly with VS Code's built-in AI features
17 changes: 17 additions & 0 deletions context7/i18n/zh-CN/OlaresManifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
metadata:
title: Context7
description: 为 LLM 和 AI 代码编辑器提供最新代码文档的 MCP 服务器
spec:
fullDescription: |
Context7 让最新、特定版本的代码文档和代码示例直接集成到你的 AI 编程助手中。这意味着不再有过时的代码或“臆想”API。

支持两种模式:
- CLI + Skills — 安装一个 Skill,通过 CLI 命令引导你的 Agent 获取文档(无需 MCP)
- MCP — 注册 Context7 MCP 服务器,使你的 Agent 能够原生调用文档工具

功能特点
- 实时文档访问:为 AI 模型提供数千个库和框架的最新官方文档
- 自动库解析:根据用户查询自动查找并获取相关文档
- 始终保持最新:始终提供来自官方来源的最新文档内容
- 易于集成:简单设置,无需额外配置
- 无缝 VS Code 集成:可直接与 VS Code 内置 AI 功能协同使用
8 changes: 8 additions & 0 deletions context7/owners
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
owners:
- 'LittleLollipop'
- 'TShentu'
- 'hysyeah'
- 'pengpeng'
- 'harveyff'
- 'zdf-org'
- 'lovehunter9'
106 changes: 106 additions & 0 deletions context7/templates/context7.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: context7
namespace: "{{ .Release.Namespace }}"
labels:
io.kompose.service: context7
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: context7
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/chrome-default: "true"
io.kompose.service: context7
bytetrade.io/terminal: context7
spec:
initContainers:
- name: init-tools
image: "docker.io/beclab/upstash-context7-mcp:2.1.4"
securityContext:
runAsUser: 0
command: ["/bin/sh", "-c"]
args:
- |
apk add --no-cache bash
npm install -g ctx7
cp -a /usr/local/* /mnt/tools/
cp /bin/bash /mnt/tools/bin/bash
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
volumeMounts:
- name: usr-local
mountPath: /mnt/tools
containers:
- name: context7
image: "docker.io/beclab/upstash-context7-mcp:2.1.4"
securityContext:
runAsUser: 1000
env:
- name: MCP_TRANSPORT
value: "http"
- name: PORT
value: "8080"
{{- if .Values.olaresEnv.CONTEXT7_API_KEY }}
- name: CONTEXT7_API_KEY
value: "{{ .Values.olaresEnv.CONTEXT7_API_KEY }}"
{{- end }}
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 50m
memory: 128Mi
ports:
- containerPort: 8080
protocol: TCP
volumeMounts:
- name: usr-local
mountPath: /usr/local
livenessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 30
periodSeconds: 15
timeoutSeconds: 5
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 5
volumes:
- name: usr-local
emptyDir: {}
restartPolicy: Always

---
apiVersion: v1
kind: Service
metadata:
name: context7
namespace: "{{ .Release.Namespace }}"
labels:
io.kompose.service: context7
spec:
ports:
- name: mcp
port: 8080
targetPort: 8080
selector:
io.kompose.service: context7
status:
loadBalancer: {}
Loading