Connect the ISMS Copilot MCP server to LlamaIndex
Setup tested on 2026-11-29 with llama-index-tools-mcp 0.7.0: the files below listed ISMS Copilot's tools and ran one read call on our test account.
LlamaIndex agents usually work over your own documents. With the llama-index-tools-mcp package they can also call ISMS Copilot, so an agent that has just retrieved a policy from your index can ask whether it meets ISO 27001 before it answers. BasicMCPClient takes the URL and a headers argument at the version we pinned, and McpToolSpec turns the server's tools into FunctionTools. The script below lists the tools and calls list_workspaces, with no model involved. It is the check we ran.
Who does what
LlamaIndex
Retrieves from your own documents, runs the agent with your model and calls ISMS Copilot as one of its tools.
ISMS Copilot
Judges what it is shown against the framework and says what is missing, with the requirement behind it.
You
Decide what the agent may retrieve and send, and approve its answer before it is used.
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 MCP tools package
In a virtual environment, install the version this page shows.
Install pip install "llama-index-tools-mcp==0.7.0" - 3
Run the check
Save the script as check_ismscopilot.py and run it with ISMS_COPILOT_TOKEN set. acall with no arguments fits list_workspaces, which takes none.
check_ismscopilot.py import asyncio, os from llama_index.tools.mcp import BasicMCPClient, McpToolSpec client = BasicMCPClient( "https://account.ismscopilot.com/v1/account/mcp", headers={"Authorization": f"Bearer {os.environ['ISMS_COPILOT_TOKEN']}"}, ) async def main(): tools = await McpToolSpec(client=client).to_tool_list_async() print([t.metadata.name for t in tools]) list_workspaces = next(t for t in tools if t.metadata.name == "list_workspaces") print(await list_workspaces.acall()) asyncio.run(main())
The server URL, if you add it by hand:
https://account.ismscopilot.com/v1/account/mcpWhat the test showed
to_tool_list_async returned 29 tools, and acall on list_workspaces returned the test account's sample workspaces.
Tested with llama-index-tools-mcp 0.7.0, Python 3.12. The token was read-only, on our test account with sample data.
Give the tools to an agent
Pass the tool list to a LlamaIndex agent such as FunctionAgent with your LLM, next to your query engine tools. 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
- Documents in your LlamaIndex index stay with you. ISMS Copilot sees only the text your agent puts into a tool call, so send the passage you want judged, not the whole index.
- 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
- A 401 from the server? BasicMCPClient sends the headers dict as given: the value must be Bearer, a space, and the token.
- Only want a few tools? McpToolSpec takes an allowed_tools list, for example the read tools.
LlamaIndex 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 LangChain. ISMS Copilot in Pydantic AI. ISMS Copilot in Google ADK. Building your own agent? The developer hub.
ISMS Copilot is made by Better ISMS. It is not affiliated with or endorsed by LlamaIndex. 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