Skip to main content

AI assistants (MCP)

Loading last updated info...

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:

AskIt 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.

  1. In Claude, open Customize → Connectors → Add custom connector
  2. Name it EagleEye, and paste the MCP server URL
  3. Paste the sign-in client ID in the client ID field, and leave the client secret empty
  4. 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:

  1. Start Claude Code, type /mcp, pick eagleeye, and pick Authenticate
  2. 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 thisClaude appClaude Code
Sign in againCustomize → Connectors → EagleEye → Disconnect, then ConnectRun claude mcp logout eagleeye, then claude mcp login eagleeye
Change the URL or client IDRemove the connector, then add it againRemove it, then run the new command
Remove itCustomize → Connectors → EagleEye, and remove the connectorRun claude mcp logout eagleeye, then claude mcp remove eagleeye -s user

Troubleshooting

You seeCauseFix
404 MCP is turned offAllow MCP access is offAsk your EagleEye admin to turn it on
AADSTS50105You are not assigned to EagleEyeAsk your admin to assign you
"The window is N days..."The date range is too long for that questionAsk for shorter periods
Any other AADSTS errorEntra refused the sign-in: the setup is incomplete, or your organization's sign-in rules, e.g., MFA or Conditional Access, blocked itSend 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