Provides monitoring capabilities for websites like Google through synthetic tests, as shown in the example of creating a test to monitor Google's homepage.
Integrates with Splunk Synthetics API to create, retrieve, update, and delete synthetic monitoring tests through natural language prompts and CRUD operations.
Synthetics MCP Server
Overview
The Synthetics MCP Server is a specialized monitoring solution designed to manage synthetic tests effectively. It leverages natural language prompts to create, retrieve, update, and delete synthetic tests, ensuring seamless integration with APIs like Splunk Synthetics.
Related MCP server: splunk-mcp
Features
Prompt-Based Test Creation: Create synthetic tests using natural language prompts.
RESTful API: Provides endpoints for managing synthetic tests.
Customizable: Easily extendable for additional synthetic monitoring use cases.
Project Structure
Setup Instructions
Clone the repository:
git clone <repository-url> cd synthetics-mcp-serverInstall dependencies:
npm installConfigure the application:
Set the
SPLUNK_API_TOKENin the.envfile for authentication.Update the
config/default.jsonfile with your desired settings.
Start the server:
npm start
API Endpoints
Prompt-Based Test Creation
Endpoint:
POST /api/synthetics/promptRequest Body:
{ "prompt": "Create a test for monitoring the homepage of https://google.com every 10 minutes." }
CRUD Operations
Create Synthetic Test:
POST /api/synthetics/createRetrieve Synthetic Test:
GET /api/synthetics/:idUpdate Synthetic Test:
PUT /api/synthetics/:idDelete Synthetic Test:
DELETE /api/synthetics/:id
License
This project is licensed under the MIT License. See the LICENSE file for details.