Updated
Cline
Cline reads MCP servers from cline_mcp_settings.json, which you can edit directly in VS Code via the Cline MCP settings panel.
Local stdio setup
{
"mcpServers": {
"lyrashield": {
"command": "npx",
"args": ["-y", "@lyrashield/mcp"],
"env": {
"LYRASHIELD_API_KEY": "lsk_your_key_here",
"LYRASHIELD_API_URL": "https://app.lyrashieldai.com"
}
}
}
}Remote Streamable-HTTP setup
For environments where you prefer not to run a local process, connect to the remote endpoint.
Gotcha — set type explicitly: Cline defaults to legacy SSE transport when
type is omitted. For the LyraShield remote endpoint you must set "type": "streamableHttp" explicitly.{
"mcpServers": {
"lyrashield": {
"type": "streamableHttp",
"url": "https://app.lyrashieldai.com/api/mcp",
"headers": {
"Authorization": "Bearer lsk_your_key_here"
}
}
}
}Verify the connection
Open the Cline panel in VS Code and check the MCP server status. Ask Cline: "What LyraShield tools are available?" to confirm the server is connected.
Requirements: Node.js 20+ and a LyraShield workspace API key. The
@lyrashield/mcp package is published on npm, sonpx -y @lyrashield/mcp resolves directly.