Skip to content

For agents and the people who build them

Connect Lattice to Cursor or Claude Desktop

The JSON entry to add to your MCP configuration, where the key goes, and how to tell it is connected.

2 minute read

Add the entry

Add this to the mcpServers section of your MCP configuration file, with your own key in place of YOUR_KEY:

{
  "mcpServers": {
    "lattice": {
      "type": "http",
      "url": "https://lattice.namiq.io/mcp",
      "headers": { "X-API-Key": "YOUR_KEY" }
    }
  }
}

Check it

  • Restart the application. Lattice should list seven tools: graph_meta, graph_lookup, graph_search, graph_node, graph_neighbors, graph_path and graph_notices.
  • Ask: "For T1059, what detections does the graph hold, and which sources do they come from?"
  • Do not paste the key into a shared configuration file or a repository.

Where to go next