Table of Contents
AI assistants (MCP)
EagleEye has an MCP (Model Context Protocol) server. Connect the Claude app or Claude Code, and ask about your EagleEye reports in plain language. You get the same numbers the Portal shows.
- Read-only - MCP can only read your reports. It cannot change tags, settings, scans or emails
- Your own sign-in - Each person signs in with their own Microsoft work account
- Off by default - Your EagleEye admin, whoever set up EagleEye for your organization, sets it up once and turns it on. See Set up MCP
What you can ask
MCP answers questions about your email and GitHub reports. For example:
| Ask | It looks at |
|---|---|
| Who was mentioned the most in emails last month? | Emails @Mentions |
| Who sent the most emails tagged Sales this quarter? | Emails Sent, by tag |
| How did Kudos emails trend week by week over the last 3 months? | Emails per week, by tag |
| How many GitHub issues did we open and close in September, and how long did closes take? | GitHub issues |
| Who approved the most pull requests in SSW.EagleEye last month? | GitHub pull request approvals |
Each question covers a date range. Email questions cover up to 92 days at a time (31 days when split by every tag), and GitHub questions up to 366 days. For a longer range, ask for shorter periods. Counts from each period can be added up, but rankings and averages can't.
Connect an app
In the EagleEye Portal, open Settings → AI assistants (MCP), and copy the MCP server URL and the Sign-in client ID (for Claude). If the card says setup is not finished, or shows no URL, ask your EagleEye admin to finish Set up MCP.
Claude app (Desktop and claude.ai)
1 connector works in both the Desktop app and claude.ai. It connects from Anthropic's cloud, so the MCP server URL must be reachable from the internet.
- In Claude, open Customize → Connectors → Add custom connector
- Name it
EagleEye, and paste the MCP server URL - Paste the sign-in client ID in the client ID field, and leave the client secret empty
- Click Add, then Connect, and sign in with your Microsoft work account
You cannot edit a connector's sign-in settings after you add it. To change them, remove the connector and add it again.
Claude Code
Once setup is finished, the Settings card shows this command with your values filled in: your MCP server URL, and your Sign-in client ID (for Claude) in place of <mcp-client-id>. Run it in a terminal. -s user makes EagleEye available in every folder, not only the current one.
Then:
- Start Claude Code, type
/mcp, pick eagleeye, and pick Authenticate - Sign in with your Microsoft work account
Test it
Ask one of the questions in What you can ask. The assistant calls EagleEye and answers with numbers from your reports.
Sign in again, change or remove an app
| To do this | Claude app | Claude Code |
|---|---|---|
| Sign in again | Customize → Connectors → EagleEye → Disconnect, then Connect | Run claude mcp logout eagleeye, then claude mcp login eagleeye |
| Change the URL or client ID | Remove the connector, then add it again | Remove it, then run the new command |
| Remove it | Customize → Connectors → EagleEye, and remove the connector | Run claude mcp logout eagleeye, then claude mcp remove eagleeye -s user |
Troubleshooting
| You see | Cause | Fix |
|---|---|---|
404 MCP is turned off | Allow MCP access is off | Ask your EagleEye admin to turn it on |
AADSTS50105 | You are not assigned to EagleEye | Ask your admin to assign you |
| "The window is N days..." | The date range is too long for that question | Ask for shorter periods |
Any other AADSTS error | Entra refused the sign-in: the setup is incomplete, or your organization's sign-in rules, e.g., MFA or Conditional Access, blocked it | Send your admin the error. See Set up MCP - Troubleshooting |
Known limitations
- Every EagleEye user can read every report - While MCP is on, anyone assigned to SSW.EagleEye.Api can read every report through it
- Every EagleEye user can turn MCP on or off - EagleEye has no admin role yet, so anyone who can open Settings can change it