@artifactly/mcp 0.1.1 → 0.1.5
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 +31 -0
- package/package.json +2 -1
- package/src/mcp/artifactly-mcp-server.test.ts +1 -0
package/README.md
CHANGED
|
@@ -18,3 +18,34 @@ npm test
|
|
|
18
18
|
npm run lint
|
|
19
19
|
npm run build
|
|
20
20
|
```
|
|
21
|
+
|
|
22
|
+
## npm publishing
|
|
23
|
+
|
|
24
|
+
The MCP package is published as `@artifactly/mcp`.
|
|
25
|
+
|
|
26
|
+
Codex and other MCP clients can launch the server with either of these forms:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx -y @artifactly/mcp
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npx -y --package=@artifactly/mcp artifactly-mcp
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The package also exposes a human CLI as `artifactly`.
|
|
37
|
+
|
|
38
|
+
Manual publish from a logged-in maintainer account:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm publish --access public
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Trusted publishing uses `.github/workflows/npm-publish.yml`. Configure npm trusted publishing for:
|
|
45
|
+
|
|
46
|
+
- Package: `@artifactly/mcp`
|
|
47
|
+
- Repository: `erck0004/ai-project-artifactly`
|
|
48
|
+
- Workflow: `npm-publish.yml`
|
|
49
|
+
- Environment: `npm`
|
|
50
|
+
|
|
51
|
+
After that, publish a new package version by bumping `package.json`, pushing the change, then publishing a GitHub Release for the matching commit/tag.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artifactly/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"bin",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"bin": {
|
|
12
12
|
"artifactly": "bin/artifactly.mjs",
|
|
13
|
+
"mcp": "bin/artifactly-mcp.mjs",
|
|
13
14
|
"artifactly-mcp": "bin/artifactly-mcp.mjs"
|
|
14
15
|
},
|
|
15
16
|
"scripts": {
|
|
@@ -11,6 +11,7 @@ describe("Artifactly MCP server packaging", () => {
|
|
|
11
11
|
it("exposes installable CLI bins for humans and MCP clients", () => {
|
|
12
12
|
expect(packageJson.bin).toEqual({
|
|
13
13
|
artifactly: "bin/artifactly.mjs",
|
|
14
|
+
mcp: "bin/artifactly-mcp.mjs",
|
|
14
15
|
"artifactly-mcp": "bin/artifactly-mcp.mjs",
|
|
15
16
|
});
|
|
16
17
|
expect(packageJson.dependencies).toHaveProperty("@modelcontextprotocol/sdk");
|