Qsp Mcp

io.github.qso-graph由 GitHub 账号 qso-graph 发布v0.1.1更新于 Oct 24, 2026

QSP — relay MCP tools to any OpenAI-compatible local LLM (llama.cpp, Ollama, vLLM)

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

本地 MCP 客户端,在兼容 OpenAI 的本地 LLM 端点与已配置的 MCP 服务器之间转发工具调用。

可以做什么
  • 在本地兼容 OpenAI 的 LLM 与配置中列出的 MCP 服务器之间转发工具调用
  • 支持单次查询或交互式会话,并可用工具配置档限制暴露哪些服务器
  • 在命令行或交互命令中列出可用工具、切换配置档
  • 把 ADIF 业余无线电日志转换为 JSON 或 NDJSON,可按波段、模式、呼号和日期筛选
适用场景
适合在本地运行支持函数调用的模型(llama.cpp、Ollama、vLLM、SGLang),并希望它调用 MCP 工具,尤其是 qso-graph 业余无线电服务器,而不经过云端服务商时使用。
运行要求
作为本地进程从 PyPI 安装(uv tool install 或 pip)。需要一个可访问的兼容 OpenAI 的 chat-completions 端点与模型名,端点若要求则需 API 密钥。MCP 服务器写在兼容 Claude Desktop 的配置文件中。
安装前请注意
写入类工具默认关闭,只有传入启用写入的参数才会打开,届时模型可修改数据。端点 API 密钥通过命令行或配置文件传入,请保护配置文件。文档称外部连接仅用 HTTPS,局域网端点除外。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

qsp-client

[PyPI] [MCP Registry]

QSP — relay MCP tools to any OpenAI-compatible local LLM endpoint.

Named after the Q-signal QSP ("Will you relay?"), qsp-client relays tool calls between a local LLM and MCP servers. It is an MCP client: any model with function calling gains access to the qso-graph servers' tools, from local weights, not from cloud.

Formerly qsp-mcp. See Moving from qsp-mcp.

Install

bash
uv tool install qsp-client   # the qsp-client command, on your PATHpip install qsp-client       # or into your own environment

Quick Start

bash
# Interactive modeqsp-client --config ~/.config/qsp-client/config.json
# Single queryqsp-client --query "What bands are open from DN13 to JN48 right now?"
# Direct endpoint (no config file needed if no MCP servers configured)qsp-client --endpoint http://localhost:8000/v1/chat/completions --api-key sk-xxx

Configuration

The config format is Claude Desktop compatible — copy your existing mcpServers block directly:

json
{  "mcpServers": {    "ionis": {      "command": "ionis-mcp",      "env": { "IONIS_DATA_DIR": "/path/to/datasets/v1.0" }    },    "solar": {      "command": "solar-mcp"    },    "wspr": {      "command": "wspr-mcp"    }  },  "bridge": {    "endpoint": "http://localhost:8000/v1/chat/completions",    "model": "AstroSage-70B",    "temperature": 0.3,    "system_prompt": "You are an expert ham radio operator and RF engineer.",    "max_tool_calls_per_turn": 5,    "profiles": {      "contest": {        "servers": ["n1mm", "ionis", "solar", "wspr"],        "temperature": 0.2,        "system_prompt": "You are a contest advisor. Be concise."      },      "propagation": {        "servers": ["ionis", "solar", "wspr"],        "temperature": 0.3      },      "full": {        "servers": "*",        "temperature": 0.3      }    },    "server_timeouts": {      "ionis": 1,      "solar": 8,      "qrz": 5    }  }}

The mcpServers block uses the exact same format as Claude Desktop. The bridge section is qsp-client specific (ignored by Claude Desktop).

CLI Options

qsp-client [OPTIONS]
Options:  -c, --config PATH       Config file path (default: ~/.config/qsp-client/config.json)  -e, --endpoint URL      LLM endpoint URL (overrides config)  -k, --api-key KEY       API key for the LLM endpoint  -m, --model NAME        Model name (overrides config)  -p, --profile NAME      Tool profile (contest, dx, propagation, full)  -q, --query TEXT        Single query mode — ask one question and exit  --enable-writes         Enable write-capable tools (disabled by default)  --list-tools            List available tools and exit  --version               Show version

Interactive Commands

CommandAction
/toolsList available tools
/helpShow help
quitExit (also: exit, q, 73)

ADIF tools

qsp-adif-convert converts an ADIF (.adi) log to JSON or NDJSON, with filters for band, mode, callsign, date range and confirmed QSOs:

bash
qsp-adif-convert -i mylog.adi -o mylog.jsonqsp-adif-convert --help

It works on files on your own machine and opens no connection. It used to be adif-mcp convert; adif-mcp is now only the MCP server.

Design

qsp-client is a strict, stateless pipe between an LLM and MCP tools:

  • No caching, no shared state, no health polling
  • All state lives in MCP servers
  • All inference optimization lives in the inference server (prefix caching, KV-cache)
  • qsp-client just connects the two sides

Works with any OpenAI-compatible endpoint: llama.cpp, Ollama, vLLM, SGLang.

Security

  • Write-capable tools disabled by default (--enable-writes opt-in)
  • Credentials stay inside MCP servers (OS keyring) — never exposed to qsp-client or the LLM
  • No subprocess, no shell execution, no eval
  • All external connections HTTPS only (LAN endpoints exempted)

Moving from qsp-mcp

qsp-client is qsp-mcp, renamed: in the MCP world, -mcp names mark servers, and this is a client.

  • Install the new name: pip uninstall qsp-mcp && pip install qsp-client.
  • Your config keeps working: ~/.config/qsp-mcp/config.json and ~/.qsp-mcp.json are still read, after the new ~/.config/qsp-client/config.json and ~/.qsp-client.json.
  • The qsp-mcp command still works, and says it has moved. Use qsp-client.

License

GPL-3.0-or-later — see LICENSE.

Part of the qso-graph ecosystem

qso-graph.io — MCP servers for amateur radio.

来源:README.md,提交 bd6064b

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分