units-static
units-static
高 单位换算 MCP 服务器,使用固定的换算表(无网络 I/O)。作为 meteo-static 的配套自用:这个仓库是 good MCP 基线——工具的设计旨在让 schema 清晰度评判者获得良好评分(清晰的命名、清晰的描述、严格的枚举、类型化的输出 schema)。
工具
工具 | 描述 |
| 列出支持的单位 ID(可选按维度过滤) |
| 在 SI / 英制单位之间换算长度 |
| 换算质量 / 重量 |
| 换算 °C / °F / K(拒绝低于绝对零度) |
| 换算液体体积(美制 + 英制 + SI) |
| 比较同一维度下的两个量 |
Related MCP server: gnomon-mcp
设计目标(对评判者友好)
命名:小写、描述性、动词开头(
convert_*、list_*、compare_*)描述:何时调用该工具、它做什么、不应用于什么
输入:封闭枚举 / 受限字段,带每个参数的描述
输出:Pydantic 模型 → MCP
outputSchema对象(无裸数组)确定性:静态因子表;适合 CI 评估
运行
STDIO(默认)
pip install -r requirements.txt
python src/server.pyStreamable HTTP
pip install -r requirements.txt
python src/server.py --transport http --port 8000导出 tools/list(本地)
pip install -r requirements.txt
python scripts/export_tools_list.py --output ci/tools-list.jsonGitHub Actions
共享 Actions 来自 plugin-federation/actions:
任务 | 目的 |
| 导出 |
| OIDC → catalog、schema 验证、选择面嵌入、LLM-as-judge(fail-on-judge-fail) |
| 功能评估( |
Nexus 流水线设置
变量 / 密钥 | 用途 |
| 例如 |
| 必须与 Nexus GitHub 受众匹配 |
| 目标租户 UUID |
| 新增 此服务器的稳定工具源 UUID |
| 评判模型 + 功能评估 |
| 嵌入( |
嵌入使用名称 + 描述 + 输入 schema(tool-embedding-report/v1)。嵌入失败不会导致评判失败。相似度报告由 Nexus 从注册的语义分析 profile 派生,其 profileVersion 和 model 与 text-embedding-3-small 匹配(1536 维,除非缩短)。CI 无法创建该 profile。
还需在租户 OIDC 信任策略中注册此仓库(与 meteo-static 相同的模式),并为 units-static 创建专用工具源。
状态
正常 — stdio + streamable HTTP
工具 — 六个转换工具,具有结构化 I/O
CI — Plugin Federation Actions,带硬失败门
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Read-only developer, date, finance, and text utilities. Authless remote MCP server by Clean.tools.
Read-only MCP server for The Quiet Protocol's engines, benchmarks, proof, and business data.
Read-only MCP server for the OPERANT AI operating-agent calibration benchmark.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA comprehensive suite of four MCP servers providing real-time stock market data, currency conversion between 160+ currencies, world timezone conversion, and unit conversion across 10 measurement categories. Features beautiful web interfaces and ChatGPT integration capabilities.-
- AlicenseAqualityCmaintenanceA small MCP server for the boring-but-essential utilities every model needs: dates, calendars, arithmetic, unit conversion. Use it so your assistant stops "next-token guessing" math and date math.41MIT
- AlicenseCqualityCmaintenanceA comprehensive MCP server that turns any AI assistant into a powerful mathematical computation engine, providing 52 advanced functions, 158 unit conversions, financial calculations, and secure AST-based evaluation.1813MIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server providing deterministic base conversions (binary, hex, octal, decimal, base64) for AI agents, eliminating hallucination risks in low-level data processing.183-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/plugin-federation/units-static'
If you have feedback or need assistance with the MCP directory API, please join our Discord server