Skip to content

MCP Server

The Varman MCP server lets you and your team ask about your compliance program from inside any modern AI assistant. Ask in plain language; the AI uses Varman tools to read tasks, evidence, policies, controls, cloud results, vendors and more, under your API key’s scopes.

Built on the Model Context Protocol, an open standard that lets AI clients talk to external tools. The Varman MCP server publishes hundreds of tools spanning evidence, policies, integrations, frameworks, cloud security, vendors, risks, people, and tasks.

Compliance work is full of repetitive, multi-step actions: gathering evidence, answering questionnaires, reviewing tasks, connecting cloud accounts. The MCP server collapses those into one-line natural-language requests. Examples your team can run today:

  • “Show me my open SOC 2 controls and tell me which ones are missing evidence.”
  • “Which SOC 2 policies are still in To do, and who owns them?”
  • “Summarize the failing AWS checks from the last scan.”
  • “List employees who haven’t completed offboarding yet.”
  • “Which vendors are high risk and when were they last reviewed?”
  • “What’s left before we’re ready for the SOC 2 audit?”

The AI assistant figures out which tools to call. Your team types the request and reviews the result.

  1. Sign in to Varman.
  2. Open Settings → API Keys.
  3. Click Create new key. The Read-only preset is enough for the hosted MCP server.
  4. Copy the key (it starts with comp_). Copy the full string exactly, with no extra characters, spaces, or line breaks.

The key belongs to your organization and carries only the scopes you picked. The AI assistant can only do what the key allows.

Varman hosts the MCP server for you at:

https://mcp.varman.io/mcp

It speaks MCP over HTTP (streamable HTTP transport). Your client sends your key in an apikey header on every request. Nothing to install or run on your machine.

Replace comp_YOUR_KEY below with your key.

Terminal window
claude mcp add --transport http varman https://mcp.varman.io/mcp \
--header "apikey: comp_YOUR_KEY"

Any other client that supports remote MCP servers over HTTP with custom headers works the same way: URL https://mcp.varman.io/mcp, header apikey: <your key>.

Open a fresh chat in your AI client and ask:

“List my open compliance tasks.”

If the install succeeded, the AI will call Varman’s list-tasks tool and return tasks from your organization. If you see no tool calls or an authentication error, jump to Troubleshooting below.

The AI says it doesn’t have Varman tools available

Most common causes:

  • You didn’t fully quit and reopen your AI client after the install. Closing the window isn’t enough; quit it from the menu / dock and reopen.
  • The JSON config has a syntax error. Paste it into any JSON linter to find the error.
  • For Claude Desktop: confirm claude_desktop_config.json was saved to the right path: ~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows.
  • Check the URL is exactly https://mcp.varman.io/mcp and the header name is apikey.
401 / authentication error
  • Confirm your API key starts with comp_ and you copied the full string (these keys are long).
  • Confirm the key hasn’t been revoked in Varman → Settings → API Keys.
  • Confirm the key has the scope for the data you’re asking about (the Read-only preset covers every read tool).
  • An error saying an apikey request header is required means the header is missing or misnamed.
Every tool call fails with an encoding error (e.g. “character … value 8230”)

This means the API key in your config contains a stray non-standard character, most often an ellipsis (…) accidentally pasted in place of the real key. HTTP headers only allow plain characters, so the request can’t be sent.

Fix it by re-entering the key cleanly:

  1. In Varman → Settings → API Keys, copy your key again (or create a new one).
  2. In your config, replace the entire apikey value so it’s just your real key: comp_ followed by letters and numbers, with no …, spaces, or line breaks.
  3. Fully quit and reopen your AI client.
npx or command not found (Claude Desktop)

The mcp-remote bridge runs with Node.js. Install Node 18 or later and restart Claude Desktop. The other clients connect over HTTP and need nothing installed.

Tools show up but actions fail

Open Chrome / Safari DevTools (or your client’s debug log) and inspect the network response. Common causes:

  • Your role lacks the permission for that endpoint (RBAC enforced server-side).
  • You’re on a custom plan that doesn’t include the feature being called.
  • The Varman API is briefly unavailable; try again in a moment or check status.

The hosted server publishes the read tools across the Varman surface:

Area Examples
Evidence and tasks List tasks and their status, evidence submitted, what is overdue
Policies List policies, read their content, versions and approval status
Security questionnaires List questionnaires and read generated answers
Frameworks and controls SOC 2 / ISO 27001 / HIPAA / GDPR coverage and missing evidence
Integrations and cloud security Connected providers, check results and findings
Vendors and risks Vendors, assessments, risks and remediation status
People and devices Members, offboarding status, device compliance
Trust Center Trust Access requests and shared documents

Endpoints that change data, handle raw credentials, or stream long responses are not exposed. Use the Varman app or the API for those.

  • Audit readiness: Ask what is still missing for an audit: open tasks, unpublished policies, outdated documents.
  • Cloud check review: Ask the AI to summarize failing AWS, Azure or GCP checks and what each one means.
  • Questionnaire answers: Ask for the answers already generated for a questionnaire, or which questions still need review.
  • Vendor and risk overview: Ask which vendors or risks need attention and why.
  • Your API key, your scope. The hosted server forwards your key to the Varman API on each request. It carries only the scopes you gave the key, never more.
  • Read-only. The hosted server only exposes tools that read data, so an AI assistant cannot change anything in your organization through it.
  • Multi-tenant safety. Every request is scoped to the organization the API key belongs to. The AI cannot read data belonging to other Varman organizations.
  • Key storage. Your key lives in your AI client’s config file and travels over HTTPS to mcp.varman.io. Revoke it any time under Settings → API Keys.
  • Sensitive endpoints are hidden. Endpoints that handle raw secrets (credential rotation, vault material) are excluded from the MCP tool list.
  • Logged. API-key requests appear in your Varman audit log marked with API-key authentication.
If you want to… Use
Operate your compliance program day-to-day with help from an AI assistant MCP server
Build a custom internal tool, dashboard, or one-off automation Varman API directly
Pipe Varman data into your data warehouse on a schedule API directly
Onboard a new auditor or external reviewer to your Trust Center Varman web UI

The MCP server and the public API hit the same endpoints with the same RBAC, the only difference is the consumer (an AI assistant vs your own code).

Do I need to host the MCP server?

No. Varman hosts it at https://mcp.varman.io/mcp. You only add the URL and your API key to your AI client.

Does the MCP server work offline?

No. The hosted server calls the Varman API (https://api.varman.io) for every tool. An internet connection is required.

Can multiple teammates use it at the same time?

Yes. Each teammate adds the server with their own API key. Their requests are separately authenticated and audit-logged.

What if my AI client doesn’t support MCP yet?

You can still use the Varman API directly. The MCP server is an additional way to interact with the same endpoints, it doesn’t replace anything.

How do new features show up?

New tools ship with each Varman release on the hosted server. Your AI client picks them up the next time it connects; nothing to update.

Where can I report an issue?

Email support@varman.io.