Synap

com.synap402由 synap402.com 发布官方发布者v0.1.3更新于 Nov 8, 2026

Open-model LLM inference for agents. Pay per call in USDC via x402 or API key. First call free.

已验证Streamable HTTP可网页运行金融AI 与机器学习

概览

AI 生成的概览

Synap 让助手使用 Linkrra 的 OpenAI 兼容推理 API 调用开源模型:查看模型、估算费用并执行对话补全。

可以做什么
  • 列出 Synap 当前提供的模型,含每百万 token 价格、上下文窗口和擅长领域
  • 读取单个模型的完整目录记录:价格、限制、支持的参数、量化方式和数据保留政策
  • 根据 token 数量按实时价格估算一次对话补全的费用
  • 把对话发送给 Synap 模型并取回回复,也可让 Synap 自动路由到最便宜的可用模型
适用场景
适合希望助手通过一个 API 用开源模型生成文本或代码的场景,也适合在花钱之前比较模型价格或核算任务成本。免费且无需密钥的工具便于先查看模型目录。
运行要求
可作为远程端点运行,也可作为本地 npm 包通过 stdio 运行。付费补全需要 Synap API 密钥,通过 Authorization Bearer 头或 SYNAP_API_KEY 变量提供;没有密钥时,服务器可改用 x402 以 USDC 按次付费,需要 SYNAP_WALLET_KEY(EVM,Base)或 SYNAP_SOLANA_KEY(Solana)。SYNAP_MAX_PER_CALL_USD 可设置单次调用支出上限。列出模型和估算费用无需密钥。
安装前请注意
synap_chat_completion 是唯一收费工具,按提示与补全 token 计费,调用即产生费用。没有 API 密钥时服务器会用钱包签署 x402 支付,需要提供私钥(SYNAP_WALLET_KEY 或 SYNAP_SOLANA_KEY)或密钥文件;建议设置 SYNAP_MAX_PER_CALL_USD 限制支出。提示与补全内容会发送到 Synap 的服务器,模型记录中的数据保留政策值得事先查看。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Synap,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.synap402%2Fsynap-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "synap": {
      "type": "http",
      "url": "https://synap402.com/mcp"
    }
  }
}

工具

4

synap_chat_completion

Run a chat completion on Synap

Send a conversation to a model on Synap, Linkrra's OpenAI-compatible inference API, and get the model's reply. Use this when you need text generated, code written or a question answered by one of the open models Synap serves. This is the only tool here that costs money: it bills prompt and completion tokens to the Synap API key supplied as the Authorization: Bearer header on the MCP connection. With no key it returns an error and nothing is spent; a key with no balance returns insufficient_credits. Call synap_estimate_cost first if the price matters. Returns the standard OpenAI chat.completion JSON (choices[0].message.content holds the reply, usage holds token counts). The call is not streamed and keeps no memory between calls — send the full message history each time.

输入参数model必填messages必填max_tokenstemperature

synap_list_models

List Synap models and prices

List the models Synap serves right now, each with its price per million tokens, context window and what it is good at. Use this to choose a model id before calling synap_chat_completion, or to compare prices. Free, read-only, no API key needed, and safe to call repeatedly; the list is live, so models can appear or go between calls. Returns {"object":"list","count":N,"data":[{id,name,capability,tier,context_tokens,max_output_tokens,pricing,data_policy}]}; pricing is USD per million prompt and completion tokens and is absent for the auto-routing ids ("synap-v1"), which bill at the price of the model they route to. For every field of one model use synap_get_model.

输入参数query

synap_get_model

Get one Synap model in full

Return the complete catalogue record for one Synap model: pricing, context and output limits, supported parameters, quantisation, data-retention policy and readiness. Use this after synap_list_models when you need details the summary leaves out. Free, read-only and needs no API key. Returns the raw model object, or an error naming the id if Synap does not serve it.

输入参数model必填

synap_estimate_cost

Estimate the cost of a Synap call

Work out what a chat completion would cost on Synap from token counts, using the live price list. Use this before synap_chat_completion when budget matters, or to compare models for a job. Free, read-only, needs no API key and runs no model. Returns {model, prompt_tokens, completion_tokens, prompt_usd, completion_usd, total_usd, pricing}. It is an estimate: the real charge uses the token counts the model reports afterwards. Auto-routing ids such as "synap-v1" have no fixed price and return an error saying so.

输入参数model必填prompt_tokens必填completion_tokens

版本历史

1
  1. v0.1.3最新Nov 8, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。