
NexaLayer
io.github.NexaLayer由 GitHub 帳號 NexaLayer 發布v0.2.0更新於 Oct 27, 2026
Managed proxy sessions, health, rotation, usage, and spend controls for AI agents.
概覽
NexaLayer 讓助理瀏覽代理產品、建立與輪替付費代理工作階段,並查看工作階段健康、用量、預算與支出。
- 可以做什麼
- 依類型、國家與庫存篩選瀏覽代理產品目錄及目前價格與可用性
- 讀取工作階段詳情、健康狀態、用量、預算、警示、餘額與交易紀錄
- 建立或輪替付費代理工作階段,可選擇回傳代理憑證
- 變更 API 金鑰與每日預算上限
- 任務結束時終止工作階段
- 查詢服務狀態與已知問題,提交並輪詢支援工單
- 適用情境
- 當代理需要託管代理工作階段,且希望助理先報價、再建立或輪替工作階段,並依預算追蹤用量與支出時使用。適合購買與政策變更都需經擁有者明確核准的工作流程。
- 執行需求
- 以 stdio 在本機執行,通常透過 npx 使用 npm 套件或 Docker 映像。需在 NEXALAYER_API_KEY 環境變數提供 NexaLayer API 金鑰,並能連線至 NexaLayer API;NEXALAYER_BASE_URL 為選用。付費工作階段需要帳戶餘額或試用額度。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 NexaLayer,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
NexaLayer MCP Server
This directory contains the MCP server package and implementation. For the repository overview, installation options, complete 16-tool catalog, and backend relationship, see the root README.
Connect an MCP client to NexaLayer products, sessions, health, usage, and spend controls.
The server writes protocol messages only to stdout. API errors go through MCP tool results. Tool annotations mark reads, paid writes, policy changes, and destructive cleanup so compatible clients can apply approval policies.
Tools
- Read: products and exact prices, session detail, health, usage, budget, alerts, balance, and transactions.
- Paid write: create or rotate a Session. Use a unique
idempotency_keyand owner approval. - Policy write: change API-Key and daily budget limits. Require owner approval.
- Cleanup: terminate a Session when the task ends. Early termination does not imply a refund. If the upstream is down, billing stops at the first terminate attempt and NexaLayer retries the release in the background.
- Support (no charge):
nexalayer_check_status,nexalayer_known_issues,nexalayer_report_issue, andnexalayer_get_ticket.
nexalayer_list_products returns a compact, cursor-paginated catalog. It defaults to 20 currently available products, supports type, country, in_stock, limit, and cursor, and excludes internal pricing and supplier fields.
nexalayer_create_session incurs charges against the account balance. Read the current quote and budget, then obtain owner approval before calling it. POST /sessions does not honor include_credentials and omits proxy credentials. PRICE_MISMATCH (409): re-read prices, retry once. BUDGET_EXCEEDED and INSUFFICIENT_BALANCE (402): ask the owner, don't retry.
nexalayer_get_session and nexalayer_rotate_session accept optional include_credentials (default false) and pass it to the API. Credentials are omitted unless include_credentials=true; never log them.
Always read nexalayer_list_products before purchase because it returns the current openAgent-backed quote and availability. Exclusive static proxy sessions are $1.43–$5.86/month (launch pricing, live API authoritative).
Common API error codes include AUTH_INVALID_KEY, INSUFFICIENT_BALANCE, BUDGET_EXCEEDED, PRICE_MISMATCH, IDEMPOTENCY_CONFLICT, and RATE_LIMIT_EXCEEDED.
PRICE_MISMATCH is HTTP 409: re-read prices, retry once. BUDGET_EXCEEDED and INSUFFICIENT_BALANCE are HTTP 402: ask the owner, don't retry.
Errors and support
Failed API calls return an MCP tool error (isError: true) with a one-line summary and the full NexaLayer error object in structuredContent.error: code, retryable, retry_after, suggested_action, side_effects, doc_url, known_issue_id, and request_id. Branch on those fields, not on the message text.
When an error is not self-explanatory:
The server keeps the last 20 request ids and error codes it saw and attaches them to nexalayer_report_issue automatically, along with the MCP client name and package version. Never put API keys, proxy passwords, or full_url in a ticket. Response targets are early-access targets, not guarantees: S1 4h, S2 24h, S3 3 business days, S4 best effort. Human contact: [email protected] (Telegram @LEWISMIN).
Docker
Build the stdio MCP server from the repository root:
The container can start and expose its tool catalog without credentials, which allows MCP directories and clients to inspect it safely:
Pass the API Key only at runtime when calling NexaLayer tools:
NEXALAYER_BASE_URL remains optional. The image uses stdio and does not expose a network port or contain credentials.
Request an API key and one-time trial credit at https://nexalayer.net/agents?source=mcp-readme.
來源:mcp/README.md,提交 00db651
工具
0版本歷史
6- v0.2.0最新Oct 19, 2026
- v0.1.6Oct 17, 2026
- v0.1.5Oct 16, 2026
- v0.1.4Oct 16, 2026
- v0.1.3Oct 15, 2026
- v0.1.1Oct 15, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分