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