---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/ip-geolocation/use-cases/verify-server-compliance/copilot
---
# How to Verify Server Compliance with Copilot

Copilot lets you verify server compliance from your infrastructure code. Parse IPs from Terraform state or cloud configs, resolve their physical locations, and check them against required data residency zones -- generating verification scripts and documentation alongside your infrastructure-as-code definitions.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Look up the locations of these server IPs from our infrastructure config"
3. Copilot resolves each IP to a physical location
4. Ask: "Are all of these within our required data residency zones?"
5. Update infrastructure docs with verified locations

## Example Prompt

```
Check the geolocation of the IPs in our Terraform output. Verify all production servers are in us-east-1 or eu-west-1 regions.
```

## Tips

- Integrate into infrastructure review workflows
- Copilot can parse Terraform state files to extract IPs automatically
- Run checks after every infrastructure deployment
