Claude AI Integration¶
You can integrate your Sipfront account into Claude AI, so you can "chat" with your Sipfront account and let the AI automatically analyze your test results, find root causes for failed tests and perform business intelligence tasks such as gathering trends and insights.
The integration is done via the MCP interface and can be done in less than five minutes.
Prerequisites¶
You need two things to start chatting with Claude AI:
- Sipfront API Keys: Go to Account > API Keys and generate a new set of keys. To do so, enter a name like
claude-mcp-key
and pressGenerate Key
. Store both the public and the secret key for the next step.
- Claude Desktop App: Download and install the Claude Desktop App for macOS or Windows. It does not work with the mobile app.
Setup¶
To setup the Sipfront integration, you have to edit the MCP configuration file:
- Launch the Claude AI desktop app and go to the
Settings
tab. UnderDeveloper
, click theEdit Config
button.
- If (like on macOS) the Finder is shown and the
claude_desktop_config.json
is selected, open the file with a text editor of your choice and paste the following configuration into the file, so it looks like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
-
Put here the path to your docker binary
-
Here you paste your public API key you created before
-
And here goes the secret API key
Make sure to adapt the three marked fields in the file, namely the command
(the path to your docker binary), the your-public-key
(replace with your actual Sipfront API public key you created before) and your-secret-key
(replace with your actual Sipfront API secret key).
- Save the file and close the Claude AI app, then launch it again.
Using Claude AI with Sipfront¶
Now you can start chatting with Claude AI about your Sipfront account and its tests and test results.
While Claude will now be able to fetch and interpret data using the Sipfront API, the most efficient way is to use the Sipfront AI Assistant
integration, which pre-loads prompts for Claude to get more context about Sipfront, its API and the tests.
- Click the small
Integrations
button at the bottom of your prompt input box.
- Choose the
Sipfront AI Assistant
integration
- Claude will ask you for a topic to start with. Put something like
troubleshoot failed tests
here, so the integration will have a high-level idea of what you're planning to do and will prepare the context for your prompt accordingly.
- Now you can ask Claude questions about your Sipfront account, tests and test results, and Claude will fetch the data for you.
- Give permissions to Claude to access your Sipfront account data when it asks for it. Click the
Allow for This Chat
button to proceed. Claude will ask you for permission for the different API calls it will perform, so you will have to approve that a couple of times, e.g. for fetching test projects, for fetching tests in projects, for fetching results of test runs, for fetching the the call states and sip traces of test runs and for fetching individual measurements such as MOS scores and RTP statistics.
- Enjoy the insights and analysis Claude AI provides you with! Ask it for details on more subjects, such as individual test sessions etc.