Education
蛋白浓度单位一站式换算:µM = mg/mL × 1000 ÷ MW(kDa);1% (w/v) = 10 mg/mL = 1 g/L;1 µM = 1 pmol/µL。输入浓度并选择单位(mg/mL、µg/mL、g/L、% w/v、µM、nM、mM、pmol/µL)与分子量(kDa),同时输出全部 8 种单位。台架参考:BSA(66.4 kDa)10 mg/mL ≈ 151 µM;50 kDa 蛋白 100 µM = 5 mg/mL。来源:SI 词头与 % w/v 约定、Thermo Pierce 换算表、NEBioCalculator。仅供教学与实验规划。
用三种语言从你的代码中调用此工具。
curl -X POST 'http://127.0.0.1:3003/zh/api/tools/protein-concentration-converter' \
-H 'Content-Type: application/json' \
-d '{"concentration":10,"unit":"mgml","mwKda":66.4,"decimalPlaces":4}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST http://127.0.0.1:3003/zh/api/tools/protein-concentration-converter| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| concentration | number | 是 | Value in the unit selected below. |
| unit | select | 是 | Unit of the entered value. |
| mwKda | number | 是 | Protein molecular weight (monomer) in kDa — drives mass ↔ molar conversions. |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-protein-concentration-converter": {
"name": "protein-concentration-converter",
"description": "蛋白浓度单位一站式换算:µM = mg/mL × 1000 ÷ MW(kDa);1% (w/v) = 10 mg/mL = 1 g/L;1 µM = 1 pmol/µL。输入浓度并选择单位(mg/mL、µg/mL、g/L、% w/v、µM、nM、mM、pmol/µL)与分子量(kDa),同时输出全部 8 种单位。台架参考:BSA(66.4 kDa)10 mg/mL ≈ 151 µM;50 kDa 蛋白 100 µM = 5 mg/mL。来源:SI 词头与 % w/v 约定、Thermo Pierce 换算表、NEBioCalculator。仅供教学与实验规划。",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=protein-concentration-converter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}连接到 SSE 端点后,列出已开放的工具:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}通过工具 id 调用,参数由其参数表构建:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "protein-concentration-converter",
"arguments": {
"concentration": 10,
"unit": "mgml",
"mwKda": 66.4,
"decimalPlaces": 4
}
}
}有问题或反馈?请联系 [email protected]