Skip to content
LyraShield AIOpen beta

Updated

PiCode

PiCode uses the standard mcpServers configuration format. Add the LyraShield entry to your PiCode MCP settings file.

Configuration

{
  "mcpServers": {
    "lyrashield": {
      "command": "npx",
      "args": ["-y", "@lyrashield/mcp"],
      "env": {
        "LYRASHIELD_API_KEY": "lsk_your_key_here",
        "LYRASHIELD_API_URL": "https://app.lyrashieldai.com"
      }
    }
  }
}
API key: Create a workspace key under Settings → API keys in the LyraShield app. Keys begin with lsk_. Use a read-only key for inspection tools.

Verify the connection

Reload PiCode and confirm the lyrashield server appears in the MCP servers list. Ask the AI assistant to list available tools to verify the connection.

Requirements: Node.js 20+ and a LyraShield workspace API key. The@lyrashield/mcp package is published on npm, sonpx -y @lyrashield/mcp resolves directly.