@liche/mcp-installer
v0.8.1
Published
MCP server config installer extension for Liche CLIs.
Readme
@liche/mcp-installer
MCP server config installer extension for @liche/core CLIs.
Adds an mcp add command that writes the MCP server config to the right file for the targeted agent. Built-in adapters cover claude-code (writes ~/.claude.json global or ./.mcp.json local) and cursor (writes ~/.cursor/mcp.json or ./.cursor/mcp.json). Unknown agents fall back to ~/.config/liche/mcp/<name>.json.
import { defineCli } from '@liche/core'
import { mcpInstaller } from '@liche/mcp-installer'
import { mcpServer } from '@liche/mcp-server'
defineCli({
name: 'shipyard',
extensions: [mcpServer(), mcpInstaller()],
})writeMcp(name, options) is also exported for callers that want to perform the install programmatically without registering the command.
For the MCP server runtime that handles --mcp and /mcp requests, see @liche/mcp-server.
