@ikijs/mcp 0.23.0 → 0.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/{chunk-YQECLFI4.mjs → chunk-SXLILLB6.mjs} +5 -3
- package/dist/chunk-SXLILLB6.mjs.map +1 -0
- package/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -4
- package/dist/chunk-YQECLFI4.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ikijs/mcp
|
|
2
2
|
|
|
3
|
-
> Part of [Iki](https://github.com/zeikar/iki), the open Live2D alternative that AI can build — free and MIT-licensed, with an open `.iki` format and a [Claude Code plugin](https://github.com/zeikar/iki/tree/main/plugin) that draws and rigs characters.
|
|
3
|
+
> Part of [Iki](https://github.com/zeikar/iki), the open Live2D alternative that AI can build — free and MIT-licensed, with an open `.iki` format and a [Claude Code / Codex plugin](https://github.com/zeikar/iki/tree/main/plugin) that draws and rigs characters.
|
|
4
4
|
|
|
5
5
|
A stdio [MCP](https://modelcontextprotocol.io/) server that exposes `.iki` model tools to AI agents (Claude, LLMs, and any MCP-compatible client): read/validate a model, and auto-rig one from role-named PNG layers.
|
|
6
6
|
|
|
@@ -89,7 +89,7 @@ npm install -g @ikijs/mcp
|
|
|
89
89
|
iki-mcp
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
## Claude Desktop / Claude Code config
|
|
92
|
+
## Claude Desktop / Claude Code / Codex config
|
|
93
93
|
|
|
94
94
|
Add to your MCP server config:
|
|
95
95
|
|
|
@@ -97,7 +97,11 @@ Add to your MCP server config:
|
|
|
97
97
|
{ "mcpServers": { "iki": { "command": "npx", "args": ["-y", "@ikijs/mcp"] } } }
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
For Claude Desktop this goes in `claude_desktop_config.json`; for Claude Code it goes in `.claude/mcp.json` (or the equivalent per-project config).
|
|
100
|
+
For Claude Desktop this goes in `claude_desktop_config.json`; for Claude Code it goes in `.claude/mcp.json` (or the equivalent per-project config). For Codex, register it from the shell:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
codex mcp add iki -- npx -y @ikijs/mcp
|
|
104
|
+
```
|
|
101
105
|
|
|
102
106
|
## Scope note
|
|
103
107
|
|
|
@@ -424,7 +424,9 @@ function expectInput(label, fn) {
|
|
|
424
424
|
var LOSSLESS_PAGE_ROLE = "nose";
|
|
425
425
|
async function renderAtlasPage(crops, quantizeColors) {
|
|
426
426
|
const layout = packAtlas(
|
|
427
|
-
crops.map((c) => ({ id: c.id, width: c.width, height: c.height }))
|
|
427
|
+
crops.map((c) => ({ id: c.id, width: c.width, height: c.height })),
|
|
428
|
+
void 0,
|
|
429
|
+
MAX_ATLAS_SIDE
|
|
428
430
|
);
|
|
429
431
|
const over = layout.pageWidth > MAX_ATLAS_SIDE ? { side: "width", crop: "widest" } : layout.pageHeight > MAX_ATLAS_SIDE ? { side: "height", crop: "tallest" } : void 0;
|
|
430
432
|
if (over !== void 0) {
|
|
@@ -3302,7 +3304,7 @@ async function composeLayersFromParts(input) {
|
|
|
3302
3304
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3303
3305
|
import { z } from "zod";
|
|
3304
3306
|
function createIkiMcpServer() {
|
|
3305
|
-
const server = new McpServer({ name: "iki", version: "0.23.
|
|
3307
|
+
const server = new McpServer({ name: "iki", version: "0.23.2" });
|
|
3306
3308
|
server.registerTool(
|
|
3307
3309
|
"validate_iki",
|
|
3308
3310
|
{
|
|
@@ -3547,4 +3549,4 @@ export {
|
|
|
3547
3549
|
composeLayersFromParts,
|
|
3548
3550
|
createIkiMcpServer
|
|
3549
3551
|
};
|
|
3550
|
-
//# sourceMappingURL=chunk-
|
|
3552
|
+
//# sourceMappingURL=chunk-SXLILLB6.mjs.map
|