Configure the Virtual Appliance MCP server with an MCP client, such as Claude Desktop or Cursor, by generating an MCP key and updating the client configuration.
Configure the VA MCP server with your MCP clients such as Claude Desktop or Cursor.
- Obtain the MCP key by running the following command:
The MCP server key is generated. Save this key for a later step.
- Copy this snippet to your MCP client configuration file and insert the MCP server key that you generated.
Example: In Cursor, update the
mcpServers section in the
mcp.json file.
"AppDynamics VA": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://<va-address>/mcp",
"--header",
"Authorization: Bearer <MCP-SERVER-KEY>"
],
"env": {
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}
},
Note:
If no DNS is configured, replace <va-address> with <VA-IP-address>.nip.io. Alternatively, you may specify a custom Virtual Appliance hostname (e.g., va.example.com).
Remove the
env section if the following conditions are met:
"env": {
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}
- CA-signed certificates are configured on the Virtual Appliance.
- You specified a Virtual Appliance hostname in the MCP configuration.
mcp-remote is a remote proxy for Model Context Protocol that allows local-only clients to connect to remote servers. For more information, see mcp-remote.