# MCP Servers

{/* vale off */}

Run MCP servers as microVMs that wake in milliseconds when an agent calls them, and cost nothing between calls.

<ValueCards>
  <ValueCard title="Start bulky tools in milliseconds" metric="wakes in < 10 ms">
    Tools with expensive initialisation (indexes, model loads, browsers) are [snapshotted](/features/snapshots) warm and resumed on the call.
  </ValueCard>
  <ValueCard title="Costs nothing between calls" metric="zero idle cost">
    Agent traffic is bursty and mostly idle.
    A server that isn't being called isn't running, and isn't billed.
  </ValueCard>
  <ValueCard title="Run as many as you need" metric="100K+ microVMs / server">
    One isolated server per agent, per tool or per tenant, rather than one shared process handling everyone.
  </ValueCard>
</ValueCards>

<FlowDiagram caption="The agent calls; a standby MCP server wakes in milliseconds; its outbound call leaves through the shield, which supplies the credentials.">
  <FlowBox title="LLM client">
    Calls a tool when the agent needs it
  </FlowBox>
  <FlowArrow accent label="wakes in < 10 ms" lines={3} />
  <FlowStack>
    <FlowStackItem label="mcp server" chip="mid-request" active dot />
    <FlowStackItem label="mcp server" chip="standby" dot />
    <FlowStackItem label="mcp server" chip="standby" dot />
  </FlowStack>
  <FlowArrow label="outbound" />
  <FlowBox accent title="Network shield" chip="third-party API">
    Filters traffic, injects the secrets; servers never hold them
  </FlowBox>
</FlowDiagram>

---

## Under the hood

The platform features this use case is built on.

<FeatureTable>
  <FeatureRow
    links={[
      { label: "Stateful scale-to-zero", href: "/features/scale-to-zero#stateful-scale-to-zero" },
      { label: "templates", href: "/platform/instances#instance-templates" },
    ]}
  >
    Bulky tools start and resume in milliseconds, and consume nothing between tool calls.
  </FeatureRow>
  <FeatureRow title="Network shield" href="/features/network-shield">
    Injects secrets so the MCP server itself never has access to them, and filters its outbound traffic.
  </FeatureRow>
</FeatureTable>

<UseCaseCta
  title="Run your first MCP server"
  guideHref="/guides/mcp-server-arxiv"
  guideLabel="MCP servers guide"
>
  Sign up to Unikraft Cloud and follow the guide to run your first MCP server
</UseCaseCta>

{/* vale on */}
