mirror of
https://github.com/upstash/context7.git
synced 2025-11-30 09:00:13 +00:00
feat: add remote server connection for OpenAI Codex across all docs
This commit is contained in:
parent
0034839bbc
commit
11b7f66e2d
10
README.md
10
README.md
@ -514,6 +514,8 @@ See [OpenAI Codex](https://github.com/openai/codex) for more information.
|
||||
|
||||
Add the following configuration to your OpenAI Codex MCP server settings:
|
||||
|
||||
#### Local Server Connection
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
args = ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
|
||||
@ -521,6 +523,14 @@ command = "npx"
|
||||
startup_timeout_ms = 20_000
|
||||
```
|
||||
|
||||
#### Remote Server Connection
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
url = "https://mcp.context7.com/mcp"
|
||||
http_headers = { "CONTEXT7_API_KEY" = "YOUR_API_KEY" }
|
||||
```
|
||||
|
||||
> Optional troubleshooting — only if you see startup "request timed out" or "not found program". Most users can ignore this.
|
||||
>
|
||||
> - First try: increase `startup_timeout_ms` to `40_000` and retry.
|
||||
|
||||
@ -673,11 +673,22 @@ Lihat [Dokumentasi Protokol Konteks Model Kiro](https://kiro.dev/docs/mcp/config
|
||||
<summary><b>Instal di OpenAI Codex</b></summary>
|
||||
Lihat [OpenAI Codex](https://github.com/openai/codex) untuk informasi lebih lanjut.
|
||||
Tambahkan konfigurasi berikut ke pengaturan server MCP OpenAI Codex Anda:
|
||||
|
||||
#### Koneksi Server Lokal
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
args = ["-y", "@upstash/context7-mcp"]
|
||||
command = "npx"
|
||||
```
|
||||
|
||||
#### Koneksi Server Jarak Jauh
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
url = "https://mcp.context7.com/mcp"
|
||||
http_headers = { "CONTEXT7_API_KEY" = "YOUR_API_KEY" }
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
|
||||
@ -770,12 +770,22 @@ Opencode 설정 파일에 다음을 추가하세요. 자세한 내용은 [Openco
|
||||
|
||||
OpenAI Codex MCP 서버 설정에 다음 설정을 추가하세요:
|
||||
|
||||
#### 로컬 서버 연결
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
args = ["-y", "@upstash/context7-mcp"]
|
||||
command = "npx"
|
||||
```
|
||||
|
||||
#### 원격 서버 연결
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
url = "https://mcp.context7.com/mcp"
|
||||
http_headers = { "CONTEXT7_API_KEY" = "YOUR_API_KEY" }
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
## 🔨 사용 가능한 도구
|
||||
|
||||
@ -412,12 +412,22 @@ Veja mais em [OpenAI Codex](https://github.com/openai/codex).
|
||||
|
||||
Adicione a seguinte configuração às definições do servidor MCP do OpenAI Codex:
|
||||
|
||||
#### Conexão de Servidor Local
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
args = ["-y", "@upstash/context7-mcp"]
|
||||
command = "npx"
|
||||
```
|
||||
|
||||
#### Conexão de Servidor Remoto
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
url = "https://mcp.context7.com/mcp"
|
||||
http_headers = { "CONTEXT7_API_KEY" = "YOUR_API_KEY" }
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
|
||||
@ -775,12 +775,22 @@ Xem [OpenAI Codex](https://github.com/openai/codex) để biết thêm thông ti
|
||||
|
||||
Thêm cấu hình sau vào cài đặt OpenAI Codex MCP server của bạn:
|
||||
|
||||
#### Kết nối Server Cục bộ
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
args = ["-y", "@upstash/context7-mcp"]
|
||||
command = "npx"
|
||||
```
|
||||
|
||||
#### Kết nối Server Từ xa
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
url = "https://mcp.context7.com/mcp"
|
||||
http_headers = { "CONTEXT7_API_KEY" = "YOUR_API_KEY" }
|
||||
```
|
||||
|
||||
</details>
|
||||
<details>
|
||||
<summary><b>Cài đặt trong LM Studio</b></summary>
|
||||
|
||||
@ -447,12 +447,22 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY
|
||||
|
||||
将以下配置添加到您的 OpenAI Codex MCP 服务器设置中:
|
||||
|
||||
#### 本地服务器连接
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
args = ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
|
||||
command = "npx"
|
||||
```
|
||||
|
||||
#### 远程服务器连接
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
url = "https://mcp.context7.com/mcp"
|
||||
http_headers = { "CONTEXT7_API_KEY" = "YOUR_API_KEY" }
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
|
||||
@ -766,12 +766,22 @@ Windows 的設定與 Linux 或 macOS 略有不同(_範例以 Cline 為例_)
|
||||
|
||||
將下列設定加入你的 OpenAI Codex MCP 伺服器設定:
|
||||
|
||||
#### 本地伺服器連接
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
args = ["-y", "@upstash/context7-mcp"]
|
||||
command = "npx"
|
||||
```
|
||||
|
||||
#### 遠端伺服器連接
|
||||
|
||||
```toml
|
||||
[mcp_servers.context7]
|
||||
url = "https://mcp.context7.com/mcp"
|
||||
http_headers = { "CONTEXT7_API_KEY" = "YOUR_API_KEY" }
|
||||
```
|
||||
|
||||
</details>
|
||||
<details>
|
||||
<summary><b>在 LM Studio 安裝</b></summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user