deploying-openmed-mcp

仓库创建 2025年10月4日最近提交 3 小时前SkillHot 收录 3 小时前
▸ 精选理由

让编码型代理直接调用临床NLP工具,简化集成流程

▸ 风险提示

运行本地服务会开放网络端口,需做好访问控制与认证。

这个 Skill 做什么

在本地运行 MCP 服务,将 OpenMed 的NER/去标识化作为可被代理调用的工具。

把 OpenMed 的 NER、PII 检测和去标识化作为 MCP(Model Context Protocol)工具对外暴露,让像 Claude Code、Codex 这样的 agent 能像调用工具一样本地调用这些能力。适合想把临床 NLP 功能接入编程代理或聊天客户端、通过 stdio 或可流式 HTTP 提供服务并容器化部署的场景。服务在本地运行、模型不外传,并提供一组标准工具和运行时配置方便集成。

▸ 展开 SKILL.md 英文原文

Run OpenMed's Model Context Protocol (MCP) server so coding agents (Claude Code, Codex) and chat clients can call clinical NER, PII extraction, and de-identification as tools, on-device. Use when the user wants to add OpenMed to an agent's MCP config, expose de-id/NER as MCP tools, run an MCP server over stdio or Streamable HTTP, give Claude/Codex access to OpenMed, or containerize the MCP server. Covers the mcp extra, create_mcp_server, the 7 tools (openmed_analyze_text, openmed_extract_pii, openmed_deidentify, openmed_list_models, openmed_list_pii_languages, openmed_loaded_models, openmed_unload_model), the resources and prompts, stdio vs streamable-http transports, ServiceRuntime env config, and MCP client config snippets.

开发编程MCP服务Agent集成本地工具Claude CodeCodex
4.7k
Stars
581
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/maziyarpanahi/openmed/master/skills/deploying-openmed-mcp/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/maziyarpanahi/openmed/master/skills/deploying-openmed-mcp/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Deploying the OpenMed MCP server

`openmed.mcp.server` exposes OpenMed's clinical NLP as **Model Context Protocol**
tools, so coding agents (Claude Code, Codex) and chat clients can de-identify and
analyze clinical text by calling tools instead of writing glue code. It runs
**on-device** — models are local, no telemetry — and the server instructs
clients to send real PHI only to instances the user operates.

## When to use this skill

When an agent or LLM client should be able to *invoke* OpenMed: add it to a
coding agent's MCP config, give a chat client de-id/NER tools, or run a shared
MCP endpoint for a team. For programmatic HTTP from your own services, prefer
`serving-openmed-rest-api`
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有