MCP Agente Clínico
POC — MCP服务器 + 临床智能体
针对第二阶段计划中两项服务的技术可行性概念验证,基于自有的 Model Context Protocol 服务器和 Anthropic API 构建。
文档扫描与分析 — 筛选、读取、结构化,建议续方供医生审批,并就文档未回答的问题与患者进行问询。
病史采集智能体 — 根据医生描述推导问诊路线,验证路线,将其注册为专科技能,并在病例需要时从全科医生转诊至专科医生。
共 11个流程 / 70个步骤,针对真实MCP服务器执行。未模拟任何响应:缺少凭证时,步骤即停止。
两行结论
目标1 — 可用,但有一个POC无法单独解决的问题:未测量真实手写体的准确率,而准确率决定了该服务是否实用。目标2 — 机制已就绪;LLM推导的问诊路线在临床上是否良好属于医学内容判断,而非技术可行性。
完整结论及逐步验证内容见 findings.md。
Related MCP server: atlas_mcp
运行方式
cp .env.example .env # preencha ANTHROPIC_API_KEY
npm install
npm run poc # servidor MCP (5190) + viewer (5180)在 http://localhost:5180 打开查看器并执行步骤。
第一步之前: 不存在沙盒环境——每次执行都会产生计费事件。请在Anthropic控制台设置支出限额。
MANUAL-SETUP.md包含此操作及其他仅您可执行操作的详细步骤。
建议顺序:先执行 doc-triagem/step-01(最便宜的步骤,约0.002美元——若失败,后续步骤均无意义),然后执行 doc-* 正常流程、doc-lote、ana-* 流程,最后执行备选流程。全部运行约需 0.60美元;doc-lote 是最贵的(0.60美元中约占0.22美元)。
npm run check # tsc + validação dos fluxos + suíte de defesas (27 casos)查看器
查看器并非装饰——它是POC的阅读界面。每个步骤显示:
发送至MCP服务器的原始HTTP请求,可逐字段编辑;
其使用的fixture,内联渲染(照片显示为图像,PDF显示在框架中)——并配有**替换…**按钮,可接受您手写的照片,无需触碰任何文件即可重新执行;
调用经过的代码路径,按顺序:传输层 → 工具 → 领域 → LLM。可点击,在编辑器中打开(在
.env中设置POC_EDITOR)。
架构说明
MCP服务器采用 Streamable HTTP 无状态模式——sessionIdGenerator: undefined,enableJsonResponse: true,每次请求创建新的服务器和传输实例。每次调用变为带有JSON响应的 POST JSON-RPC,这使得查看器能够以HTTP形式显示调用。Node 22通过 tsx 直接运行 .ts 文件,无需构建。
mcp-server/ servidor MCP: transporte, tools, domínio, chamadas à LLM
handlers/ os poucos passos cujo corpo não cabe num template declarativo
flows/ os 11 fluxos, em steps.json editáveis
fixtures/ receitas, exames, PDFs — inclusive os de prompt injection
public/ o viewer
server.ts o viewer (back-end)
checar-defesas.ts / checar-fluxos.py a suíte que `npm run check` roda有两项内容贯穿两个目标,本身也具有价值:
三阶段流水线已两次证明其价值。 成本: 筛选在Haiku上运行,在Sonnet进行OCR查看图像之前回答一个低成本的感知问题。安全性: 将读取与解释分离,为注入内容提供了自然的转录、标记和拒绝位置,而非被其执行。
确定性规则是防止建议变为决策的关键。 续方否决、支出上限、技能目录、医生验证——这些均不依赖模型自行记忆,且不消耗任何token。
范围
此POC覆盖了可运行的最简单用例。安全性、性能和合规性有意排除在范围之外,属于后续阶段的工作——findings.md 在"未决问题"中逐一列出。
模型有明确的退役日期——因此 ANTHROPIC_MODEL 和 ANTHROPIC_MODEL_TRIAGEM 存在于 .env 而非代码中。findings.md 记录了执行时已知的日期。
文档
文件 | 内容 |
结论、已验证内容、工作原理、阻塞项及未决问题 | |
文档未说明的内容、耗时事项、实际执行中暴露的问题 | |
仅您可执行的操作:密钥、支出限额、fixtures、CFM的CRM、合规性 |
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 Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive Model Context Protocol (MCP) server for medical document processing with advanced AI capabilities, including OCR, medical NER, local embeddings, and vector search.3811MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that brings AI-powered search and conversation to your FHIR clinical documents.1MIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server that analyzes patient symptoms using AI, suggests potential diagnoses, and retrieves relevant medical literature from PubMed.
- AlicenseAqualityBmaintenanceThis MCP is capable of analyzing medical documents and prescriptions and giving patient all the medical info it needs and answering their questions8MIT
Related MCP Connectors
Hosted MCP for denial, prior auth, reimbursement, workflow validation, batch scoring, and feedback.
MCP server for medicare-coverage
Hosted MCP server exposing US hospital procedure cost data to AI assistants
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/rbrthmn/poc-mcp-agente-clinico'
If you have feedback or need assistance with the MCP directory API, please join our Discord server