Kourier

sh.kourierv1.0.0更新於 Oct 11, 2026

Discover flat-rate DeepSeek plans, model limits, API-key instructions, and coding-client setup.

已驗證Streamable HTTP可網頁執行Developer ToolsAI & ML

概覽

AI 產生的概覽

讓助理查詢 Kourier 的固定費率 DeepSeek 方案、模型限制、API 金鑰步驟與程式編輯用戶端設定。

功能
這是一個遠端、無狀態的 MCP 伺服器,提供關於 Kourier 代管推論服務的唯讀資訊工具。get_pricing 回傳方案、月費、並行上限與用量上限資訊;get_models 回傳所服務模型的確切 API 識別碼及上下文與輸出限制;get_api_key_instructions 說明儀表板註冊、代理登入與含 PKCE 的 OAuth,但不會回傳金鑰;get_setup_instructions 回傳 oh-my-pi、claude-code、codex 或 openai-compatible 的用戶端設定。它也提供 kourier-setup Markdown 資源與 configure_kourier 提示。
適用情境
當你希望助理回答 Kourier 的方案、模型限制或 API 金鑰與用戶端設定問題,或為程式編輯用戶端產生設定指引時使用。它不是推論供應方:加入它不會改變驅動你用戶端的模型,推論需另外以訂閱金鑰設定。只有在你評估或已在使用 Kourier 時才值得加入。
執行需求
遠端 Streamable HTTP 端點 Authorization: Bearer 或 x-api-key 提供 API 金鑰(R9、R46)。
安裝前請注意
公開工具為唯讀且不需要金鑰(R11、R20),僅連線 MCP 伺服器不會授權計費或取得推論權限(R55)。付費方案為 Starter 每月 20 美元、Pro 每月 50 美元(R31-R33)。推論金鑰應保存在環境變數或用戶端私有憑證儲存區,切勿提交到儲存庫或貼到公開位置(R56、R57);公開資訊工具不需要推論金鑰(R58)。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Kourier,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "info": {
      "type": "http",
      "url": "https://kourier.sh/mcp"
    }
  }
}

README

Kourier MCP Server

Remote Model Context Protocol (MCP) server for Kourier — flat-rate hosted AI inference for coding agents.

Use the MCP server to discover plans, check model limits, get API-key instructions, and configure your coding client. Kourier serves DeepSeek V4.1 Flash through OpenAI-compatible and Anthropic-compatible inference APIs, with no per-token billing or request-volume quotas. Plans differ by concurrency.

text
https://kourier.sh/mcp

Transport: Streamable HTTP, stateless, JSON responses. Authentication: none required for the public MCP tools.

MCP provides service information and setup instructions, not model inference. Inference uses a subscription API key at https://api.kourier.sh/v1 (OpenAI-compatible) or https://api.kourier.sh/anthropic (Anthropic-compatible).

This repository documents the hosted service; there is no local server to install or run. The live MCP server is currently read-only: it does not purchase subscriptions, issue keys, or manage accounts directly.

Quick start

Claude Code

bash
claude mcp add --transport http kourier https://kourier.sh/mcp

Cursor / clients using mcpServers

Add this entry to your client's MCP configuration:

json
{  "mcpServers": {    "kourier": {      "url": "https://kourier.sh/mcp"    }  }}

Configuration formats vary by client; use the remote Streamable HTTP URL above where your client requests a server URL.

Once connected, ask: “What are Kourier's plans, and how do I configure my coding client to use it?”

Adding this MCP server does not change the model powering your coding client. Use get_setup_instructions to configure Kourier as the inference provider separately.

Tools

All currently hosted tools are read-only and require no authentication.

ToolArgumentsWhat it does
get_pricingNoneReturns public plans, monthly prices, concurrency limits, and usage-cap information.
get_modelsNoneReturns the served model's exact API identifier and context/output limits.
get_api_key_instructionsNoneExplains dashboard signup, agent sign-in, and OAuth with PKCE. Does not return an API key itself.
get_setup_instructionsOptional harnessReturns configuration guidance for oh-my-pi, claude-code, codex, or openai-compatible. Omit the argument for generic OpenAI-compatible settings.

For example, call get_setup_instructions with:

json
{  "harness": "claude-code"}

The server also exposes the kourier-setup Markdown resource and the configure_kourier prompt, which accepts the same optional harness value.

Hosted inference

Plans

PlanMonthly price (USD)Concurrent requests
Starter$201
Pro$503

Neither public plan has a five-hour, weekly, or monthly request or token quota. A concurrency slot becomes available when its request finishes. “No usage quotas” does not mean unlimited simultaneous requests.

Consult get_pricing or the pricing page for current terms; the MCP endpoint accepts JSON-RPC POST requests, not ordinary browser GET requests.

Model and endpoints

SettingValue
ModelDeepSeek V4.1 Flash
Exact API model identifierdeepseek-v4.1-flash
OpenAI-compatible base URLhttps://api.kourier.sh/v1
Anthropic-compatible base URLhttps://api.kourier.sh/anthropic
Maximum combined prompt + output context262,144 tokens (256K)
Maximum output per response16,384 tokens
AuthenticationAuthorization: Bearer <key>; the Anthropic surface also accepts x-api-key

Use the exact model identifier; aliases are not supported. Check get_models and the model documentation for current availability and limits.

Getting connected

  1. Create an account.
  2. Choose Starter or Pro in Billing.
  3. Create an API key in Dashboard → API Keys.
  4. Call get_setup_instructions for your client and apply the returned settings.

For agent-assisted sign-in, follow Kourier's auth.md and the agent sign-in guide. Human approval happens in the browser; connecting to the public MCP server alone does not authorize billing or grant inference access.

Keep API keys in environment variables or your client's private credential store. Never commit them to a repository or paste them into public issues. The public information tools do not need your inference key.

Inference request with curl

With an active subscription and KOURIER_API_KEY set in your environment:

bash
curl https://api.kourier.sh/v1/chat/completions \  -H "Authorization: Bearer $KOURIER_API_KEY" \  -H "Content-Type: application/json" \  --data '{    "model": "deepseek-v4.1-flash",    "messages": [{"role": "user", "content": "Explain what this coding API supports."}],    "max_tokens": 256  }'

Verify the MCP connection

Send an initialization request without an API key:

bash
curl https://kourier.sh/mcp \  -H "Content-Type: application/json" \  -H "Accept: application/json, text/event-stream" \  --data '{    "jsonrpc": "2.0",    "id": 1,    "method": "initialize",    "params": {      "protocolVersion": "2025-11-25",      "capabilities": {},      "clientInfo": {"name": "kourier-quickstart", "version": "1.0.0"}    }  }'

The response identifies the server as kourier-info and advertises tools, resources, and prompts. Supported protocol versions are 2025-11-25, 2025-06-18, and 2025-03-26.

List the available tools:

bash
curl https://kourier.sh/mcp \  -H "Content-Type: application/json" \  -H "Accept: application/json, text/event-stream" \  --data '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'

The endpoint does not offer a persistent SSE stream or MCP sessions. GET and DELETE return 405; use JSON-RPC POST. Normal MCP clients handle protocol initialization automatically.

Links

The hosted service is published in the official MCP Registry as sh.kourier/info. The repository includes server.json for registry metadata, glama.json for maintainer verification, and lhm.plugin.json for LobeHub publication. Directory account verification and review are separate from registry publication.

For documentation corrections, open an issue in this repository. For account or billing help, use the support options on Kourier's website or dashboard; do not disclose account credentials here.

來源:README.md,提交 cc57320

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.0最新Oct 11, 2026