Connect the ISMS Copilot MCP server to LangChain
Setup tested on 2026-11-29 with langchain-mcp-adapters 0.3.2: the files below listed ISMS Copilot's tools and ran one read call on our test account.
LangChain reaches MCP servers through the langchain-mcp-adapters package, which turns each MCP tool into a regular LangChain tool. Any LangChain or LangGraph agent can then ask ISMS Copilot before it answers a GDPR or ISO 27001 question in your product. The script below uses MultiServerMCPClient with one server over streamable_http, get_tools, then ainvoke on list_workspaces, with no model involved. It is the check we ran.
Who does what
LangChain
Builds the chain or graph, sends the conversation to your model and invokes the ISMS Copilot tools it picks.
ISMS Copilot
Supplies the GRC judgement those tools return: what the framework says, and whether the draft meets it.
You
Decide which tools the agent gets and approve what it produces before anyone outside sees it.
The tested setup
- 1
Create a token
Sign up at chat.ismscopilot.com (free, no card), open Settings, Connected apps, and create a token. The Agent delegation preset grants account:read, workspaces:read, conversations:create, company_context:read and memories:read, with no write scopes. Our own check used a narrower token with five read scopes only (account, workspaces, memories, documents, company context), which is enough for the check below. conversations:create lets your agent ask questions, and each question uses your plan's messages. Copy the pat-isms- value once and keep it in ISMS_COPILOT_TOKEN, never in a committed file.
- 2
Install the adapters
In a virtual environment, install the version this page shows. It brings the mcp client with it.
Install pip install "langchain-mcp-adapters==0.3.2" - 3
Run the check
Save the script as check_ismscopilot.py and run it with ISMS_COPILOT_TOKEN set. The client needs no explicit close: each tool call opens its own short session.
check_ismscopilot.py import asyncio, os from langchain_mcp_adapters.client import MultiServerMCPClient async def main(): client = MultiServerMCPClient({ "ismscopilot": { "transport": "streamable_http", "url": "https://account.ismscopilot.com/v1/account/mcp", "headers": {"Authorization": f"Bearer {os.environ['ISMS_COPILOT_TOKEN']}"}, } }) tools = await client.get_tools() print([t.name for t in tools]) list_workspaces = next(t for t in tools if t.name == "list_workspaces") print(await list_workspaces.ainvoke({})) asyncio.run(main())
The server URL, if you add it by hand:
https://account.ismscopilot.com/v1/account/mcpWhat the test showed
get_tools returned 29 tools, and ainvoke on list_workspaces returned the test account's sample workspaces as a text block.
Tested with langchain-mcp-adapters 0.3.2, Python 3.12. The token was read-only, on our test account with sample data.
Give the tools to an agent
Pass the list from get_tools to the agent you build in LangChain or LangGraph, together with your chat model. That run needs your model provider's key and was not part of our test.
Every tool, the scopes each one needs and the sign-in options: the ISMS Copilot MCP server.
What it does not do
- Each tool call opens a new MCP session by default. For many calls in a row, the adapters' session context keeps one open.
- ISMS Copilot works from what your agent sends it, plus the company profile, memories and documents you keep in ISMS Copilot. It does not read your systems on its own.
- Answers and findings are drafts for a person to decide. ISMS Copilot does not certify anyone; your auditor's judgement stays your auditor's.
If something does not work
- The tool returns a list of content blocks instead of plain text? That is how adapters 0.3 returns MCP text; read the text field of the first block.
- Want fewer tools in front of the model? Filter the list from get_tools by name before you hand it to the agent.
LangChain docs: MCP. Connect an agent with a token, in the ISMS Copilot docs.
Every AI and tool that connects: use ISMS Copilot in your AI. ISMS Copilot in LlamaIndex. ISMS Copilot in the OpenAI Agents SDK. ISMS Copilot in the Vercel AI SDK. Building your own agent? The developer hub.
ISMS Copilot is made by Better ISMS. It is not affiliated with or endorsed by LangChain. Product names belong to their owners. Agents get a Markdown version of this page by sending Accept: text/markdown.
The GRC expert your agent calls.
Free to start, no card. Create a token, run the check, then give the tools to your agent.

ISMS Copilot