Skip to content
Products
By Type
By Industry
Applications
A suite of applications built on InterSystems IRIS data platform and optimized to address industry specific challenges.
A FHIR®-enabled care management software solution that allows the entire care team to create and share comprehensive care plans.
A cloud-based, on-demand service delivering near real-time, secure access to patient data from across the nation.
Analytics solution that provides real-time care insights and in-depth analysis for clinical, business, and population health management.
A next-generation enterprise master person index – an automated, easily integrated solution for identity resolution.
A reimagined EHR with built-in GenAI at its core

Revenue Cycle Management
Medication Management
Helps clinicians, care managers, and care teams strengthen coordination, enhance continuity of care, and improve patient engagement in under-served rural areas.
Enables health systems, independent providers, health plans, HIEs, governments and software developers to create a digital front door.
Collects, consolidates, and publishes information about healthcare providers' relationships to patients, health plans, and one another.
A powerful, flexible EHR that supports leading healthcare interoperability standards & profiles.

TrakCare Assistant
Revenue Cycle Management
Medication Management
Enterprise solution supports any clinical lab service, public or private, independent to extensive national laboratory systems.
Low Code Platforms
A suite of low code platforms built on InterSystems IRIS and optimized to address industry-specific challenges.
An aggregated, normalized and deduplicated patient record created from patient data across multiple sources.
A high-availability, high-performance integration engine created specifically for healthcare.
A cloud-based data pipeline and management solution combining FHIR with an out-of-the-box transformation to the CDM and OMOP repository.
One integration that standardizes data exchange between Epic Payer Platform and your clinical and administrative applications.
Interoperability solutions designed to help U.S. health insurers address CMS-0057 and CMS-9115.
Platforms & Components
Versatile foundation supporting a range of solutions, with built-in APIs for integration.
Rapidly access & use FHIR data from diverse sources without the need to create your own FHIR computing infrastructure.
A high-performance data platform designed to make it easy to build applications that support mission-critical processes.
Fully managed cloud-native SaaS offerings that provide customers the fastest time to value for InterSystems data management software.
A digital health data platform that provides the building blocks needed to work with any healthcare data standard, including FHIR.
An AI-enabled supply chain decision intelligence platform that predicts disruptions before they occur, and optimally handles when they do.
Healthcare
InterSystems HL7 FHIR-based technology and solutions power success for organizations across the entire healthcare ecosystem.
A cloud-based, on-demand service delivering near real-time, secure access to patient data from across the nation.
A suite of solutions that work together to capture information, share it in a meaningful way, aid understanding, and drive transformative action.
Analytics solution that provides real-time care insights and in-depth analysis for clinical, business, and population health management.
Rapidly access & use FHIR data from diverse sources without the need to create your own FHIR computing infrastructure.
A high-availability, high-performance integration engine created specifically for healthcare.
A reimagined EHR with built-in GenAI at its core

Revenue Cycle Management
Medication Management
A digital health data platform that provides the building blocks needed to work with any healthcare data standard, including FHIR.
A cloud-based data pipeline and management solution combining FHIR with an out-of-the-box transformation to the CDM and OMOP repository.
One integration that standardizes data exchange between Epic Payer Platform and your clinical and administrative applications.
Interoperability solutions designed to help U.S. health insurers address CMS-0057 and CMS-9115.
Helps clinicians, care managers, and care teams strengthen coordination, enhance continuity of care, and improve patient engagement in under-served rural areas.
A powerful, flexible EHR that supports leading healthcare interoperability standards & profiles.

TrakCare Assistant
Revenue Cycle Management
Medication Management
Enterprise solution supports any clinical lab service, public or private, independent to extensive national laboratory systems.
Financial Services
Enabling firms to transform at scale, so they can increase customer satisfaction, adopt generative AI, maintain compliance, grow revenue, and optimize efficiency.
A high-performance data platform designed to make it easy to build applications that support mission-critical processes.
The fastest way for financial services firms to break down silos and transform disparate data into a single unified resource of actionable information.
Launch new funds, accelerate AI initiatives, automate reporting with a self-service solution tailor-made for asset management firms.
Supply Chain
Empowering organizations with real-time supply chain visibility and the ability to make optimized, real-time, AI-driven decisions.
An AI-enabled supply chain decision intelligence platform that predicts disruptions before they occur, and optimally handles when they do.
A data gateway that speeds and simplifies data access for supply chain applications and practitioners.
Knowledge Hub
Developer Websites
New to InterSystems? Start here, this is your gateway to developer sites, tutorials and more.
Connect, grow, share. The developer community is full of resources, news, and events and a community of people to connect with.
Everything you need to know about our products and more.
Develop. Learn. Share. Network. All with InterSystems Global Masters program where you can join an engaged community of developers.
Experience first hand the community’s dedication to the evolution of our technology with applications.
Education
Get to know InterSystems products and technologies your way, with self-paced online materials and classroom courses.
Online learning presents self-paced materials to help you build and support your organization's most critical applications.
In-person courses maximize learning in a distraction-free environment with face-to-face engagement.
InterSystems proudly supports the free use of InterSystems products for university and college coursework.
View the full list of course offerings and our current course schedule.
Certification
Offers industry-standard exams, flexible testing options, certification badges, and career advancement opportunities demonstrating expertise in InterSystems technologies.
InterSystems Learning Services offers industry-standard certification exams that allow you to prove your mastery of our technology.
Digital credentials that represent the varying levels of achievement you can earn with InterSystems.
Everything you need to know about preparing for, scheduling, and taking InterSystems Exams.
Retake Policies & Support, Beta Exams and more.
Answers to common questions regarding exams, including exam preparation, practice exams, retaking exams, and certifications.
InterSystems Blogs
Explore InterSystems blogs featuring expert insights, industry trends, technology innovations, data management strategies, and thought leadership.
Healthcare industry experts talk about pressing challenges, issues, and trends at the intersection of healthcare and technology.
Addressing various business, data, and technology-related issues for the line of business.
Partners
Partner Programs
Our partners ensure that organizations around the globe are already ready for tomorrow’s opportunities.
Bring together people, processes and technology to deliver solutions that solve complex customer challenges.
Combine your expertise with our proven data, analytics and interoperability capabilities to deliver optimal solutions.
Specialists whose services and guidance ensure consistent, effective delivery of InterSystems technology.
Provide complementary tools and platforms that strengthen and expand our technologies' capabilities.
InterSystems powers data-driven digital startups across healthcare, financial services, and supply chain.
Cloud Partners
InterSystems works with the world's leading cloud providers to give customers the freedom to deploy our technology where it delivers the most value.
The speed, scale, and capabilities of InterSystems and AWS can streamline operations, improve access to data and power breakthrough applications.
InterSystems IRIS and InterSystems IRIS for Health Data Platforms are Preferred Solutions on Azure Marketplace.
InterSystems and Google Cloud empower you to quickly build new apps or modernize existing ones to increase agility and reap the benefits of the multicloud.
InterSystems works with the world’s leading cloud providers - including Amazon Web Services (AWS), Microsoft Azure, Google Cloud, TenCent and Alibaba
Company
About Us
Our technologies provide the connective tissue that transforms disparate data into a single, complete view, enabling better outcomes.
News
News and resources for media including press releases, media kits, tools and more.
The latest news and coverage from our corporate headquarters in Boston, MA.
Core information about InterSystems, our background, our products and technologies, and more.
Please contact Corporate Affairs & Communications regarding media inquiries.
Events
Check out conferences and events we're hosting and attending, and view on-demand content for anything you missed.
Browse our upcoming conference and event schedule to see where we'll be and what we'll be covering.
View our library of on-demand content, including keynote speeches from InterSystems READY, webinars and live event footage.
Watch keynote presentations from InterSystems READY 2026.
Support
Product Support
We provide expert technical assistance to customers 24 hours a day, every day, with support advisors in 15 countries.
Read about support alerts, critical issues, fixes, and product releases.
Access current and previous versions and related notes for InterSystems products.
Contact the WRC for Immediate Help
Documentation
Detailed technical information for InterSystems products, technologies, solutions, and more.
Products
By Type
By Industry
Applications
A suite of applications built on InterSystems IRIS data platform and optimized to address industry specific challenges.
A FHIR®-enabled care management software solution that allows the entire care team to create and share comprehensive care plans.
A cloud-based, on-demand service delivering near real-time, secure access to patient data from across the nation.
Analytics solution that provides real-time care insights and in-depth analysis for clinical, business, and population health management.
A next-generation enterprise master person index – an automated, easily integrated solution for identity resolution.
A reimagined EHR with built-in GenAI at its core

Revenue Cycle Management
Medication Management
Helps clinicians, care managers, and care teams strengthen coordination, enhance continuity of care, and improve patient engagement in under-served rural areas.
Enables health systems, independent providers, health plans, HIEs, governments and software developers to create a digital front door.
Collects, consolidates, and publishes information about healthcare providers' relationships to patients, health plans, and one another.
A powerful, flexible EHR that supports leading healthcare interoperability standards & profiles.

TrakCare Assistant
Revenue Cycle Management
Medication Management
Enterprise solution supports any clinical lab service, public or private, independent to extensive national laboratory systems.
Low Code Platforms
A suite of low code platforms built on InterSystems IRIS and optimized to address industry-specific challenges.
An aggregated, normalized and deduplicated patient record created from patient data across multiple sources.
A high-availability, high-performance integration engine created specifically for healthcare.
A cloud-based data pipeline and management solution combining FHIR with an out-of-the-box transformation to the CDM and OMOP repository.
One integration that standardizes data exchange between Epic Payer Platform and your clinical and administrative applications.
Interoperability solutions designed to help U.S. health insurers address CMS-0057 and CMS-9115.
Platforms & Components
Versatile foundation supporting a range of solutions, with built-in APIs for integration.
Rapidly access & use FHIR data from diverse sources without the need to create your own FHIR computing infrastructure.
A high-performance data platform designed to make it easy to build applications that support mission-critical processes.
Fully managed cloud-native SaaS offerings that provide customers the fastest time to value for InterSystems data management software.
A digital health data platform that provides the building blocks needed to work with any healthcare data standard, including FHIR.
An AI-enabled supply chain decision intelligence platform that predicts disruptions before they occur, and optimally handles when they do.
Healthcare
InterSystems HL7 FHIR-based technology and solutions power success for organizations across the entire healthcare ecosystem.
A cloud-based, on-demand service delivering near real-time, secure access to patient data from across the nation.
A suite of solutions that work together to capture information, share it in a meaningful way, aid understanding, and drive transformative action.
Analytics solution that provides real-time care insights and in-depth analysis for clinical, business, and population health management.
Rapidly access & use FHIR data from diverse sources without the need to create your own FHIR computing infrastructure.
A high-availability, high-performance integration engine created specifically for healthcare.
A reimagined EHR with built-in GenAI at its core

Revenue Cycle Management
Medication Management
A digital health data platform that provides the building blocks needed to work with any healthcare data standard, including FHIR.
A cloud-based data pipeline and management solution combining FHIR with an out-of-the-box transformation to the CDM and OMOP repository.
One integration that standardizes data exchange between Epic Payer Platform and your clinical and administrative applications.
Interoperability solutions designed to help U.S. health insurers address CMS-0057 and CMS-9115.
Helps clinicians, care managers, and care teams strengthen coordination, enhance continuity of care, and improve patient engagement in under-served rural areas.
A powerful, flexible EHR that supports leading healthcare interoperability standards & profiles.

TrakCare Assistant
Revenue Cycle Management
Medication Management
Enterprise solution supports any clinical lab service, public or private, independent to extensive national laboratory systems.
Financial Services
Enabling firms to transform at scale, so they can increase customer satisfaction, adopt generative AI, maintain compliance, grow revenue, and optimize efficiency.
A high-performance data platform designed to make it easy to build applications that support mission-critical processes.
The fastest way for financial services firms to break down silos and transform disparate data into a single unified resource of actionable information.
Launch new funds, accelerate AI initiatives, automate reporting with a self-service solution tailor-made for asset management firms.
Supply Chain
Empowering organizations with real-time supply chain visibility and the ability to make optimized, real-time, AI-driven decisions.
An AI-enabled supply chain decision intelligence platform that predicts disruptions before they occur, and optimally handles when they do.
A data gateway that speeds and simplifies data access for supply chain applications and practitioners.
Knowledge Hub
Developer Websites
New to InterSystems? Start here, this is your gateway to developer sites, tutorials and more.
Connect, grow, share. The developer community is full of resources, news, and events and a community of people to connect with.
Everything you need to know about our products and more.
Develop. Learn. Share. Network. All with InterSystems Global Masters program where you can join an engaged community of developers.
Experience first hand the community’s dedication to the evolution of our technology with applications.
Education
Get to know InterSystems products and technologies your way, with self-paced online materials and classroom courses.
Online learning presents self-paced materials to help you build and support your organization's most critical applications.
In-person courses maximize learning in a distraction-free environment with face-to-face engagement.
InterSystems proudly supports the free use of InterSystems products for university and college coursework.
View the full list of course offerings and our current course schedule.
Certification
Offers industry-standard exams, flexible testing options, certification badges, and career advancement opportunities demonstrating expertise in InterSystems technologies.
InterSystems Learning Services offers industry-standard certification exams that allow you to prove your mastery of our technology.
Digital credentials that represent the varying levels of achievement you can earn with InterSystems.
Everything you need to know about preparing for, scheduling, and taking InterSystems Exams.
Retake Policies & Support, Beta Exams and more.
Answers to common questions regarding exams, including exam preparation, practice exams, retaking exams, and certifications.
InterSystems Blogs
Explore InterSystems blogs featuring expert insights, industry trends, technology innovations, data management strategies, and thought leadership.
Healthcare industry experts talk about pressing challenges, issues, and trends at the intersection of healthcare and technology.
Addressing various business, data, and technology-related issues for the line of business.
Partners
Partner Programs
Our partners ensure that organizations around the globe are already ready for tomorrow’s opportunities.
Bring together people, processes and technology to deliver solutions that solve complex customer challenges.
Combine your expertise with our proven data, analytics and interoperability capabilities to deliver optimal solutions.
Specialists whose services and guidance ensure consistent, effective delivery of InterSystems technology.
Provide complementary tools and platforms that strengthen and expand our technologies' capabilities.
InterSystems powers data-driven digital startups across healthcare, financial services, and supply chain.
Cloud Partners
InterSystems works with the world's leading cloud providers to give customers the freedom to deploy our technology where it delivers the most value.
The speed, scale, and capabilities of InterSystems and AWS can streamline operations, improve access to data and power breakthrough applications.
InterSystems IRIS and InterSystems IRIS for Health Data Platforms are Preferred Solutions on Azure Marketplace.
InterSystems and Google Cloud empower you to quickly build new apps or modernize existing ones to increase agility and reap the benefits of the multicloud.
InterSystems works with the world’s leading cloud providers - including Amazon Web Services (AWS), Microsoft Azure, Google Cloud, TenCent and Alibaba
Company
About Us
Our technologies provide the connective tissue that transforms disparate data into a single, complete view, enabling better outcomes.
News
News and resources for media including press releases, media kits, tools and more.
The latest news and coverage from our corporate headquarters in Boston, MA.
Core information about InterSystems, our background, our products and technologies, and more.
Please contact Corporate Affairs & Communications regarding media inquiries.
Events
Check out conferences and events we're hosting and attending, and view on-demand content for anything you missed.
Browse our upcoming conference and event schedule to see where we'll be and what we'll be covering.
View our library of on-demand content, including keynote speeches from InterSystems READY, webinars and live event footage.
Watch keynote presentations from InterSystems READY 2026.
Support
Product Support
We provide expert technical assistance to customers 24 hours a day, every day, with support advisors in 15 countries.
Read about support alerts, critical issues, fixes, and product releases.
Access current and previous versions and related notes for InterSystems products.
Contact the WRC for Immediate Help
Documentation
Detailed technical information for InterSystems products, technologies, solutions, and more.
Search to learn about InterSystems products and solutions, career opportunities, and more.
Abstract data representation

RAG vs MCP: What Each Does, When to Use Both

Based on insights from Don Woodlock, President of InterSystems, from his Code to Care YouTube series.

The Quick Answer

RAG (Retrieval Augmented Generation) retrieves relevant documents from your data to ground LLM responses. MCP (Model Context Protocol) gives LLMs a standardized way to interact with tools and take actions on external systems. RAG fills the model's knowledge gap and MCP fills its action gap. Most production AI systems need both.

ai-server.png

RAG vs MCP Is the Wrong Question

The question "should we use RAG or MCP?" keeps surfacing in enterprise architecture discussions. It's the wrong question.

Retrieval Augmented Generation (RAG) and Model Context Protocol (MCP) operate at different layers. RAG retrieves data from your documents. MCP performs actions on external systems. Asking which one to choose is like asking whether you need a library or a telephone.

One of RAG's original co-authors and CEO of Contextual AI, Douwe Kiela explains; "I think people have rebranded it now as context engineering, which includes MCP and RAG." If one of the people who created RAG doesn't see them as competitors, you probably shouldn't either.

The real question: does your data infrastructure support both? Modern AI systems often use RAG to find relevant documents and MCP to take actions based on that information. The organizations deploying agentic AI at scale are already doing both.

diagram showing rag vs mcp architecture

What RAG Actually Does

RAG solves a specific problem: grounding LLM responses in your own data instead of the model's training data.


"The thing that this is used for is basically systems that
leverage large language models but on your own content."

Don Woodlock, President of InterSystems

What is RAG? (Retrieval Augmented Generation)

Consider a customer support chatbot. A user asks "How do I prepare for my knee surgery?"

Without RAG, the model draws on its internal knowledge and returns a generic answer. With RAG, the system retrieves relevant documents from your knowledge base and generates an accurate response grounded in that material.

How RAG Works

Your content gets broken into chunks, either paragraphs or short sections. An embedding model converts each chunk into a vector: a numerical representation of its semantic meaning. Similar content produces similar vectors. These go into a vector database.

When a user's query arrives, the system vectorizes it, retrieves the most semantically similar snippets, and packages them into the prompt alongside the query. Don calls this the "prompt before the prompt." The LLM generates a response based on only the context it was given and not its entire training set.

Why RAG Persists

Long-context models from Anthropic (200K tokens) and Google (1M+ tokens) have prompted speculation that RAG is dying. Four reasons it persists:

  1. Token usage at scale. Sending 200K tokens with every query is expensive for high-volume applications. Retrieving five targeted chunks is cheaper by orders of magnitude.
  2. Retrieval quality. Five relevant paragraphs often produce better LLM responses than flooding the model with everything. Precision beats volume.
  3. Data freshness. Vector databases update incrementally as underlying data changes. Context window approaches require full re-ingestion.
  4. Privacy and compliance. RAG indexes can be encrypted and access-controlled independently. Sending all content to the LLM layer simultaneously is a problem in regulated industries where some content is restricted.

Clinical Evidence

In healthcare, RAG adoption is most advanced and the results here are concrete. A radiology clinical decision support study found that RAG eliminated hallucinations, dropping from 8% to 0%. In clinical nutrition, a RAG-augmented system achieved 99.25% accuracy summarizing clinical nutrition data from EHR nursing notes. A RAG system leveraging curated textbooks reached 91.5% accuracy on radiation oncology board examinations.

A variant called GraphRAG models entities and relationships as a knowledge graph rather than flat document chunks, enabling multi-hop retrieval logic for complex chronic disease management.

What MCP Actually Does

MCP solves a different problem: giving AI models a standardized way to perform actions on external systems.

Before MCP, every tool required custom integration code, which meant different parameters, different protocols, different response formats. MCP has standardizes tool access. In his video on MCP, Don defines it:


"MCP basically standardizes the way the framework itself (or your application) and the large language model refer to tools."

Don Woodlock, President of InterSystems

How MCP Works

An MCP server wraps one or more tools; internal APIs, external databases, or any callable service, and implements two methods:

  1. List tools - the LLM asks "what tools do you have?"
  2. Call tool - the LLM says "call this tool with these arguments"

That's it. An MCP client (built into the host application or agent framework) knows how to talk to any MCP server using this standard protocol.

Don draws a parallel:

"In our industry, you might think of this a little bit like a FHIR server. A FHIR server is just a REST server, but there's a particular way that you can ask for patient information, update patient information. The responses back have a certain format that you know how to digest. MCP is similar, it's a standardized way where tools are referred to and you can get results."

FHIR standardized healthcare data exchange. MCP standardizes AI tool access. Researchers are developing frameworks for integrating MCP with FHIR.

Why MCP Matters

Don outlines five reasons MCP matters for enterprise organizations:

1. Tool portfolios compound. Three tools on your first project won't justify the overhead. Scale to 100 tools, and the standardization pays off.

2. Technology agnostic. The tool can be written in any language. The client can be something else entirely. This arm's-length relationship means your tools outlast your current technology stack.

3. Standards simplify change. Switch LLM providers. Change agent frameworks. Your MCP tools don't need to be rewritten.

4. Vendors are shipping MCP servers. Salesforce, Jira, and enterprise platforms across categories now bundle MCP servers. In healthcare, GenomOncology launched BioMCP in April 2025 with 12 biomedical data entities spanning clinical trials, genomic variants, drugs, and published literature.

5. Internet-native. MCP servers don't have to run locally. Weather APIs, documentation services, external databases, any internet resource can be wrapped as an MCP server.

MCP servers are particularly valuable for internal tools where trusted users need to interact with structured data in unpredictable ways such as updating CRM records, fetching live data, triggering workflows.

MCP Adoption

Anthropic launched MCP in November 2024. OpenAI adopted it in March 2025. Google DeepMind followed in April 2025. In December 2025, Anthropic donated MCP to the Linux Foundation's Agentic AI Foundation (AAIF), co-founded with Block and OpenAI, reporting more than 10,000 active public MCP servers across platforms including ChatGPT, Cursor, Gemini, and Microsoft Copilot.

MCP vs Function Calling

Function calling is the mechanism inside an LLM where the model signals "I want to invoke a tool." Every platform implements it differently. MCP sits on top and it standardizes how tools are described and invoked regardless of which LLM you use. Function calling is the intent. MCP is the infrastructure that makes the intent portable.

RAG vs MCP: The Technical Distinction

Dimension

RAG

MCP

Primary function
Retrieve relevant context from data sources
Standardized tool access for AI agents
Data type
Unstructured data (documents, articles, manuals)
Structured data (APIs, databases, live systems)
Data flow
One-way: retrieve → inject → generate
Two-way: query → action → result → next step
State changes
No - read data only
Yes - can write, update, trigger actions
Scaling
Increase vector storage and re-indexing power
Add new server endpoints and connections
Core problem
LLM doesn't know your private data
LLM can't act on external systems consistently
Best for
Public-facing apps with predictable questions
Internal tools with unpredictable interactions

Dr. Peter Lee, President of Microsoft Research, described agentic AI as four interlocking capabilities: memory, entitlements, actions, and reasoning. RAG addresses memory which is the external context the agent needs. MCP addresses entitlements and actions such as what the agent can access and do. Reasoning is the LLM itself.

When to Use RAG, When to Use MCP, When to Use Both

Three questions clarify the decision.

Does your AI need to know things it wasn't trained on?

If the knowledge lives in static, unstructured data like clinical guidelines, policy manuals, product documentation, then RAG retrieves it at query time and injects it into the prompt.

If the knowledge is live, structured data such as current lab results, real-time inventory, pending order status, then MCP queries the source directly.

Does your AI need to do things, or just answer things?

If the use case is question-answering, summarization, or document search, RAG alone is likely sufficient.

If the AI needs to update a record, schedule an appointment, or trigger a workflow, it needs MCP.

Are you building one use case or a growing portfolio?

A single use case can start with RAG and add function calling if needed. But if you're planning multiple AI workflows across departments, invest in MCP infrastructure now. The tooling compounds.


"Play this out a few years — you might have 25, 75, 100
different tools. And when you need to build a new agentic workflow,
you'll be able to draw upon all these tools because they'll all be
written in the same way."

Don Woodlock, President of InterSystems

when-to-use-rag.png

Use Case Matrix

Scenario

Architecture

Why

Customer FAQ chatbot
RAG only
Read-only; retrieves from internal knowledge bases
Technical documentation search
RAG only
Semantic search over unstructured data
Drug interaction lookup
GraphRAG
Complex entity relationships require multi-hop reasoning
Prior authorization assistant
RAG + MCP
Needs policy knowledge (RAG) and can submit requests (MCP)
Clinical decision support
Agentic RAG + MCP
Multi-step retrieval + action across external data sources
CRM/EHR intake automation
MCP primary
Writes to databases, schedules, sends notifications
Real-time data dashboard
MCP primary
Fetches live structured data from multiple sources

The Combined Workflow

A patient referral workflow illustrates how both work together:

  1. MCP checks the patient's live record in the EHR (real-time structured data)
  2. RAG retrieves relevant clinical guidelines from the knowledge base (document retrieval)
  3. MCP submits the referral to the scheduling system (action)
  4. MCP sends a notification to the referring physician (action)
  5. The LLM synthesizes everything into a response and audit trail

Security and Compliance: What Each Architecture Risks

RAG Security

RAG provides safety through constraint. The system embeds and indexes content in advance; at query time, it retrieves only the relevant snippets. There's no direct connection to live systems, which limits the attack surface.

Organizations in regulated industries typically deploy RAG on-premises or in private cloud. Vector databases run inside the organization's infrastructure, embeddings are generated locally, and sensitive data never leaves the enterprise boundary.

MCP Security Risks

MCP's ability to perform actions introduces risks that read-only RAG architectures don't face. MCP enables AI to act on behalf of a human, which creates exposure if the server is compromised or poorly configured. OWASP published an MCP-specific Top 10 in 2025:

Token mismanagement. Hard-coded credentials and long-lived tokens in MCP configurations can expose connected systems if compromised. The protocol specifies OAuth2 for authentication, but enforcement depends on implementation.

Context and prompt injection. In MCP ecosystems, prompt injection can trigger automated actions and a user-submitted message containing embedded instructions that an over-permissioned agent executes against production systems. Bloated context windows compound the problem: the model may act on irrelevant or conflicting information.

Data exfiltration and schema discovery. A malicious actor could craft prompts to extract sensitive data from connected databases, or map out the entire database schema to plan further attacks. Over-permissioned agents amplify both risks.

Recommended mitigations: MCP server allowlisting with cryptographic verification, least-privilege access controls, human approval gates for high-risk operations, sandbox environments, and audit logging.

The FHIR Authentication Bridge

For healthcare organizations, FHIR's existing authentication framework such as SMART on FHIR with OAuth2 provides a natural security layer for MCP-connected agents.

An AI agent accessing patient data through a FHIR server wrapped as an MCP tool inherits the FHIR server's authentication, authorization, and audit infrastructure.

Organizations running InterSystems HealthShare or InterSystems IRIS for Health already have FHIR-native infrastructure with HITRUST r2 certification, giving their AI agents an existing compliance foundation.

Where RAG and MCP Converge: The Agentic Architecture

The most advanced AI systems combine RAG and MCP inside multi-agent architectures. Each LLM call becomes an agent with a distinct role. Not all agents are LLMs; some are tools. An orchestrator directs the workflow dynamically.


"There is no back button. These models do their work
without any sort of editing, reflection, or refinement —
unlike the way we write."

Don Woodlock, President of InterSystems

The agentic pattern gives AI the revision loop that single LLM calls lack.

Real-World Example: The Tumor Board Agent

In Don’s interview with Dr. Peter Lee of Microsoft Research, Lee described a healthcare orchestrator agent developed with Stanford Medicine for tumor board meetings.

The agent retrieves patient records (MCP), invokes radiology and pathology AI models (MCP), accesses published research from external data sources (RAG), and records meeting decisions (MCP). RAG and MCP, each doing what it's designed for.

Microsoft's MAI-DXO system extends this: multiple agents with distinct roles; a primary diagnostic agent, a contrarian agent that challenges every conclusion, a cost-conscious agent that questions every test order.

Through a "chain of debate," the system achieved 85.5% diagnostic accuracy on published NEJM case proceedings which is more than four times the rate of experienced physicians tested under the same conditions.


"These multi-agent systems reduce hallucination rates
simply through challenging each other."

Dr. Peter Lee, President of Microsoft Research

What to Do Now: Four Building Blocks

1. Audit your underlying data. RAG retrieves what's in your data sources. If your documentation is inconsistent or your policy documents contradict each other, RAG will surface those problems at scale. A unified data platform like InterSystems IRIS combines transactional, analytical, and vector search in a single engine which reduces the fragmentation that degrades retrieval quality.

2. Assess your API readiness. Your existing REST endpoints; including FHIR APIs for healthcare organizations are natural candidates for MCP server wrappers. If you already have well-documented internal APIs with OAuth2 authentication, you're closer to MCP readiness than you think.

3. Start with a RAG pilot. Customer chatbots, documentation search, and policy Q&A are proven entry points with bounded, well-maintained data sources.

4. Establish MCP governance before opening tool access. Allowlisting, access controls, human approval gates, and audit logging should be in place before agents interact with production systems. Joel Venco, CIO of Hartford Health, borrowed from Mario Andretti: "Really good brakes allow you to drive faster." Governance isn't a speed limiter — it's what lets you deploy with confidence.

Frequently Asked Questions

Is MCP replacing RAG?
No. MCP handles tool access and actions. RAG handles knowledge retrieval. MCP cannot search your documents, rank passages by semantic similarity, or inject relevant context into a prompt. If anything, MCP makes RAG more powerful — an MCP tool can invoke a RAG pipeline as part of a larger agentic workflow. They’re complementary layers, not generations.
What is context engineering?
The emerging term for managing everything that fills an LLM’s context window — system instructions, retrieved context (RAG), tool results (MCP), conversation history, and examples. Douwe Kiela, one of RAG’s co-authors, describes it as the natural evolution that encompasses both.
Is RAG HIPAA-compliant?
RAG is an architecture pattern, not a product — compliance depends on the implementation. On-premises deployment with encrypted vector storage, access controls, and audit logging can meet HIPAA requirements. Treat the vector database with the same security standards as any PHI data store.
What is MCP-powered RAG?
An architecture where the RAG pipeline is exposed as an MCP server. The LLM decides when to invoke retrieval (RAG), when to query a live database (another MCP tool), and when to take action (yet another tool) — all through the same protocol. This is the foundation of most agentic RAG systems.
What is GraphRAG?
GraphRAG extends standard RAG by modeling entities and relationships as a knowledge graph rather than flat document chunks. This enables more sophisticated retrieval logic — following connections across drug molecules, interactions, contraindications, and patient-specific factors. Studies show it outperforms standard RAG for complex queries requiring multi-hop reasoning.
What platforms support RAG and MCP in enterprise AI?
For RAG: any vector database (Pinecone, Weaviate, pgvector) or a data platform with native vector search like InterSystems IRIS. For MCP: agent frameworks (LangGraph, CrewAI, AutoGen) combined with API-rich data platforms. InterSystems IRIS supports both — native vector storage for RAG and FHIR endpoints for MCP — within a single HITRUST-certified platform.

Related Content

Mar 25, 2024
A summary of feedback and discussion points regarding GenAI in healthcare gathered at ViVE24.
Feb 07, 2025
White Paper
Revolutionizing How You Use Health Data
Nov 25, 2025
Solution Summary
Clean and Trusted Data Drives Better AI Outcomes for Health and Care

Take The Next Step

We’d love to talk. Fill in some details and we’ll be in touch.
*Required Fields
Highlighted fields are required
*Required Fields
Highlighted fields are required

By submitting your business contact information to InterSystems through this form, you acknowledge and agree that InterSystems may process this information, for the purpose of fulfilling your submission, through a system hosted in the United States, but maintained consistent with any applicable data protection laws.



** By selecting yes, you give consent to be contacted for news, updates and other marketing purposes related to existing and future InterSystems products and events. In addition, you consent to your business contact information being entered into our CRM solution that is hosted in the United States, but maintained consistent with applicable data protection laws.