@imgcli/mcp 0.1.0 → 0.1.1
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/LICENSE +21 -21
- package/README.md +29 -31
- package/THIRD_PARTY_NOTICES +26 -26
- package/catalog.json +70 -70
- package/package.json +37 -33
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Ricky (Imgcli) <https://imgcli.com>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ricky (Imgcli) <https://imgcli.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,31 +1,29 @@
|
|
|
1
|
-
# Imgcli MCP
|
|
2
|
-
|
|
3
|
-
Search Imgcli's free Remotion components, look up their install targets and props, and retrieve motion and design rules.
|
|
4
|
-
|
|
5
|
-
## Client setup
|
|
6
|
-
|
|
7
|
-
After the npm release, use Node 22 or 24 and add this to a client that accepts `mcpServers`. Replace `YOUR_KEY` with the MCP key from your [Imgcli account](https://imgcli.com/account). The server connects to `https://imgcli.com` by default.
|
|
8
|
-
|
|
9
|
-
```json
|
|
10
|
-
{
|
|
11
|
-
"mcpServers": {
|
|
12
|
-
"imgcli": {
|
|
13
|
-
"command": "npx",
|
|
14
|
-
"args": ["-y", "--prefer-online", "@imgcli/mcp@latest"],
|
|
15
|
-
"env": {
|
|
16
|
-
"IMGCLI_MCP_API_KEY": "YOUR_KEY"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Local development
|
|
24
|
-
|
|
25
|
-
Run `npm ci`, `npm test`, and `npm run build` in this repository. To run a checkout in a stdio client, set `command` to `node` and `args` to the absolute path of `dist/index.js` in a one-element array. To test against a local website, start Imgcli against a test database with the site's Drizzle migrations applied, create a key there, and set `IMGCLI_MCP_ORIGIN` to its loopback address, such as `http://127.0.0.1:3000`.
|
|
26
|
-
|
|
27
|
-
`catalog.json` and `src/catalog-schema.ts` are generated by `pnpm run mcp:sync` in the Imgcli website repository. Commit updated copies here with the package revision they belong to.
|
|
28
|
-
|
|
29
|
-
Run `npm pack` to build and inspect the local release archive. `npm run test:update` builds two test-only versions, starts each through npm's `@latest` resolution against a temporary loopback registry, and checks cache reuse and upgrade through the MCP handshake.
|
|
30
|
-
|
|
31
|
-
Original Imgcli MCP code is copyright Ricky (Imgcli) and licensed under MIT. The package includes the [MCP license](LICENSE) and the [upstream MIT notice for the bundled catalog](THIRD_PARTY_NOTICES).
|
|
1
|
+
# Imgcli MCP
|
|
2
|
+
|
|
3
|
+
Search Imgcli's free Remotion components, look up their install targets and props, and retrieve motion and design rules.
|
|
4
|
+
|
|
5
|
+
## Client setup
|
|
6
|
+
|
|
7
|
+
After the npm release, use Node 22 or 24 and add this to a client that accepts `mcpServers`. Replace `YOUR_KEY` with the MCP key from your [Imgcli account](https://imgcli.com/account). The server connects to `https://imgcli.com` by default.
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"mcpServers": {
|
|
12
|
+
"imgcli": {
|
|
13
|
+
"command": "npx",
|
|
14
|
+
"args": ["-y", "--prefer-online", "@imgcli/mcp@latest"],
|
|
15
|
+
"env": {
|
|
16
|
+
"IMGCLI_MCP_API_KEY": "YOUR_KEY"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Local development
|
|
24
|
+
|
|
25
|
+
Run `npm ci`, `npm test`, and `npm run build` in this repository. To run a checkout in a stdio client, set `command` to `node` and `args` to the absolute path of `dist/index.js` in a one-element array. To test against a local website, start Imgcli against a test database with the site's Drizzle migrations applied, create a key there, and set `IMGCLI_MCP_ORIGIN` to its loopback address, such as `http://127.0.0.1:3000`.
|
|
26
|
+
|
|
27
|
+
`catalog.json` and `src/catalog-schema.ts` are generated by `pnpm run mcp:sync` in the Imgcli website repository. Commit updated copies here with the package revision they belong to.
|
|
28
|
+
|
|
29
|
+
Run `npm pack` to build and inspect the local release archive. `npm run test:update` builds two test-only versions, starts each through npm's `@latest` resolution against a temporary loopback registry, and checks cache reuse and upgrade through the MCP handshake.
|
package/THIRD_PARTY_NOTICES
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
Snapcn Registry material in catalog.json
|
|
2
|
-
|
|
3
|
-
The bundled catalog includes component descriptions, notes, and examples
|
|
4
|
-
derived from Snapcn. The following notice applies to that upstream material.
|
|
5
|
-
|
|
6
|
-
MIT License
|
|
7
|
-
|
|
8
|
-
Copyright (c) 2026 Sri Nath (snap-cn)
|
|
9
|
-
|
|
10
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
-
in the Software without restriction, including without limitation the rights
|
|
13
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
-
furnished to do so, subject to the following conditions:
|
|
16
|
-
|
|
17
|
-
The above copyright notice and this permission notice shall be included in all
|
|
18
|
-
copies or substantial portions of the Software.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
-
SOFTWARE.
|
|
1
|
+
Snapcn Registry material in catalog.json
|
|
2
|
+
|
|
3
|
+
The bundled catalog includes component descriptions, notes, and examples
|
|
4
|
+
derived from Snapcn. The following notice applies to that upstream material.
|
|
5
|
+
|
|
6
|
+
MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 Sri Nath (snap-cn)
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|