Transports
The Lore MCP Server supports two transport modes.
stdio (Local)
The stdio transport is used when the AI harness spawns the MCP Server as a subprocess. Best for local developer setups.
Configuration (Claude Code ~/.claude/settings.json):
{
"mcpServers": {
"lore": {
"command": "lore-mcp",
"args": ["--transport", "stdio"],
"env": {
"LORE_AUTH_TOKEN": "<token>",
"LORE_REGISTRY": "https://registry.lore.infraestrutura.app"
}
}
}
}Startup:
lore-mcp --transport stdioHTTP-SSE (Hosted)
The http-sse transport is used for the hosted MCP Server at mcp.lore.infraestrutura.app. Clients connect via Server-Sent Events.
Configuration (Claude Code):
{
"mcpServers": {
"lore": {
"type": "http",
"url": "https://mcp.lore.infraestrutura.app/sse"
}
}
}Self-hosted deployment:
lore-mcp --transport http-sse --port 8080Environment Variables
| Variable | Description | Default |
|---|---|---|
LORE_AUTH_TOKEN | Bearer token for registry auth | — |
LORE_REGISTRY | Registry base URL | https://registry.lore.infraestrutura.app |
LORE_TARGET | Default render target | Auto-detected |