This is a comprehensive guide for connecting to and using the Edgewatch MCP (Model Context Protocol) server to get insights about IP addresses using the official MCP SDK. The guide provides detailed instructions for authentication, connection setup, and tool usage with practical examples and best practices.
To use the Edgewatch MCP server, you must obtain a
client-id
and client-secret
. Please send an
email to
support@edgewatch.com
with the subject "MCP-Access-Request". We will
provide you with credentials. Access is currently
free during the testing phase. In the future, only
Edgewatch clients will have token-based access to the MCP server.
mcp.edgewatch.com
Install the required dependencies:
To connect to the MCP server, you must authenticate using your
client-id
and client-secret
. These
credentials must be included in your requests as HTTP headers or as
query parameters. The server will validate your credentials before
allowing access to any tools or data.
x-client-id
and
x-client-secret
?clientId=...&clientSecret=...
If authentication fails, you will receive a 401 or 403 error with details. If you do not have credentials, request them by emailing support@edgewatch.com.
Once authenticated, you can establish an SSE (Server-Sent Events) connection and interact with the MCP tools as described below.
The client will automatically try both transport methods:
Use the client to call tools with proper response validation:
To configure a client application (like Claude Desktop) to use the MCP server, add the following configuration:
This configuration tells the client application:
url
name
version
The client will handle errors in the following ways:
For additional support or questions, please contact the Edgewatch support team at support@edgewatch.com