@imazeo/mcp 1.0.1 → 1.0.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/CONTRIBUTING.md CHANGED
@@ -1,16 +1,16 @@
1
- # Contributing
2
-
3
- Use a supported Node.js release and run the following from the project directory.
4
-
5
- ```sh
6
- npm ci
7
- npm run lint
8
- npm run typecheck
9
- npm test
10
- npm run check:package
11
- npm run check:registry
12
- ```
13
-
14
- The final check downloads the published MCP Registry schema. The other checks run without production Imazeo credentials. Use mock API responses based on the public contract. Keep fixtures synthetic and include coverage for contract changes, data disclosure, idempotency and local file handling as applicable.
15
-
16
- Keep the public tool surface aligned with the [Imazeo API documentation](https://imazeo.com/docs/). Describe each tool's data, credits and state effects in its description and annotations. Use the official Imazeo TypeScript SDK when it matches deployed behavior. When changing the package version or tool behavior, update the release metadata and affected guides. See [releasing](docs/releasing.md) for the publishing procedure.
1
+ # Contributing
2
+
3
+ Use a supported Node.js release and run the following from the project directory.
4
+
5
+ ```sh
6
+ npm ci
7
+ npm run lint
8
+ npm run typecheck
9
+ npm test
10
+ npm run check:package
11
+ npm run check:registry
12
+ ```
13
+
14
+ The final check downloads the published MCP Registry schema. The other checks run without production Imazeo credentials. Use mock API responses based on the public contract. Keep fixtures synthetic and include coverage for contract changes, data disclosure, idempotency and local file handling as applicable.
15
+
16
+ Keep the public tool surface aligned with the [Imazeo API documentation](https://imazeo.com/docs/). Describe each tool's data, credits and state effects in its description and annotations. Use the official Imazeo TypeScript SDK when it matches deployed behavior. When changing the package version or tool behavior, update the release metadata and affected guides. See [releasing](docs/releasing.md) for the publishing procedure.
package/README.md CHANGED
@@ -9,7 +9,7 @@ The official Imazeo MCP server connects local AI clients to an Imazeo project ov
9
9
  Use Node.js 22.19 or later in the 22.x line, 24.x, or 26.x. Get an Imazeo project API key from the [customer portal](https://app.imazeo.com/). After the npm release, configure your MCP client to run the following command.
10
10
 
11
11
  ~~~sh
12
- npx --yes @imazeo/mcp@1.0.1
12
+ npx --yes @imazeo/mcp@1.0.2
13
13
  ~~~
14
14
 
15
15
  For a source checkout, run `npm ci` and `npm run build`. Configure the client to run `node` with the absolute path to `dist/cli.js`.
package/dist/server.js CHANGED
@@ -4,7 +4,7 @@ import { createApi, REQUEST_TIMEOUT_MS } from './api.js';
4
4
  import { describeError } from './errors.js';
5
5
  import { registerMedia } from './tools/media.js';
6
6
  import { registerProject } from './tools/project.js';
7
- export const identity = { name: 'com.imazeo/media', title: 'Imazeo Media', version: '1.0.1' };
7
+ export const identity = { name: 'com.imazeo/media', title: 'Imazeo Media', version: '1.0.2' };
8
8
  const annotations = {
9
9
  read: { readOnlyHint: true, openWorldHint: true },
10
10
  download: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
package/docs/clients.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Local MCP clients
2
2
 
3
- Use a supported Node.js version. The examples pin the npm release. For a source checkout, use `node` as the command and supply the absolute path to the built `dist/cli.js` as its only argument. If a Windows client cannot resolve `npx`, use `cmd.exe` with arguments `["/d", "/c", "npx", "--yes", "@imazeo/mcp@1.0.1"]`.
3
+ Use a supported Node.js version. The examples pin the npm release. For a source checkout, use `node` as the command and supply the absolute path to the built `dist/cli.js` as its only argument. If a Windows client cannot resolve `npx`, use `cmd.exe` with arguments `["/d", "/c", "npx", "--yes", "@imazeo/mcp@1.0.2"]`.
4
4
 
5
5
  Add the optional `IMAZEO_INPUT_DIR` and `IMAZEO_OUTPUT_DIR` variables to the `env` object if you plan to upload or download files. Set each to the absolute path of a dedicated local directory. On Windows, escape backslashes in JSON or use forward slashes. Keep API keys and personal directory locations in private configuration.
6
6
 
@@ -14,7 +14,7 @@ Use the `mcpServers` object in `.cursor/mcp.json` or in the global MCP configura
14
14
  "imazeo": {
15
15
  "type": "stdio",
16
16
  "command": "npx",
17
- "args": ["--yes", "@imazeo/mcp@1.0.1"],
17
+ "args": ["--yes", "@imazeo/mcp@1.0.2"],
18
18
  "env": {
19
19
  "IMAZEO_API_KEY": "${env:IMAZEO_API_KEY}"
20
20
  }
@@ -32,7 +32,7 @@ Open Settings, then Developer, then Edit Config. Replace the placeholder in your
32
32
  "mcpServers": {
33
33
  "imazeo": {
34
34
  "command": "npx",
35
- "args": ["--yes", "@imazeo/mcp@1.0.1"],
35
+ "args": ["--yes", "@imazeo/mcp@1.0.2"],
36
36
  "env": {
37
37
  "IMAZEO_API_KEY": "<project-api-key>"
38
38
  }
@@ -51,7 +51,7 @@ Use `.mcp.json` for a project-scoped server. Claude Code expands the API key fro
51
51
  "imazeo": {
52
52
  "type": "stdio",
53
53
  "command": "npx",
54
- "args": ["--yes", "@imazeo/mcp@1.0.1"],
54
+ "args": ["--yes", "@imazeo/mcp@1.0.2"],
55
55
  "env": {
56
56
  "IMAZEO_API_KEY": "${IMAZEO_API_KEY}"
57
57
  }
@@ -78,7 +78,7 @@ Use the native MCP configuration in `.vscode/mcp.json` or open the user configur
78
78
  "imazeo": {
79
79
  "type": "stdio",
80
80
  "command": "npx",
81
- "args": ["--yes", "@imazeo/mcp@1.0.1"],
81
+ "args": ["--yes", "@imazeo/mcp@1.0.2"],
82
82
  "env": {
83
83
  "IMAZEO_API_KEY": "${input:imazeo-api-key}"
84
84
  }
package/docs/releasing.md CHANGED
@@ -1,67 +1,82 @@
1
- # Releasing Imazeo Media
2
-
3
- Release from `Imazeohq/imazeo-mcp` with the npm package `@imazeo/mcp` and the MCP Registry name `com.imazeo/media`. Release steps require maintainer authorization.
4
-
5
- ## Release a new version
6
-
7
- After the [first publication](#first-publication) and [trusted publisher setup](#trusted-publishing-for-subsequent-versions), start from a clean `main` with the changes you want to release committed and verified. Put any new changelog notes under `## Unreleased` before committing them.
8
-
9
- ```sh
10
- npm ci
11
- npm run release
12
- ```
13
-
14
- Choose `patch`, `minor`, `major`, or enter the exact next `X.Y.Z` version. The command updates both npm manifests, the MCP manifest, the server identity and pinned client examples. It labels any unreleased changelog notes, runs the local checks, then commits and pushes `main` and the new annotated tag together. You can also pass a version explicitly with `npm run release -- 1.0.1`.
15
-
16
- The tag starts **Release MCP package**. It builds and tests the server, uploads the checked npm tarball and matching `server.json`, and starts the protected npm publishing job. If Git rejects the push, the release command prints the exact retry command for the existing local tag and commit. To prepare just the release files, run the workflow manually on the tag with the publish checkbox clear.
17
-
18
- ## Publish to npm
19
-
20
- ### First publication
21
-
22
- npm requires an existing package before you can add a trusted publisher. Once the `v1.0.0` commit is reachable from `origin/main`, push the tag with `git push origin tag v1.0.0` to prepare the first artifact. Download and extract it. From the directory containing the tarball, an authorized `@imazeo` maintainer can publish it with an interactive npm login and two-factor authentication. [npm trust prerequisites](https://docs.npmjs.com/cli/v11/commands/npm-trust/)
23
-
24
- ```sh
25
- npm login --registry=https://registry.npmjs.org
26
- npm publish ./imazeo-mcp-1.0.0.tgz --access public --ignore-scripts
27
- ```
28
-
29
- ### Trusted publishing for subsequent versions
30
-
31
- Configure the `npm` GitHub environment with deployment rules allowing release tags. GitHub publishes automatically unless the environment has a reviewer or other approval gate. When the next version is ready, add the following trusted publisher in `@imazeo/mcp` package settings on npmjs.com. Complete its first successful publish within two days of creating the connection. [npm trusted publishing](https://docs.npmjs.com/trusted-publishers/)
32
-
33
- | npm setting | Value |
34
- | --- | --- |
35
- | Provider | GitHub Actions |
36
- | Organization or user | `Imazeohq` |
37
- | Repository | `imazeo-mcp` |
38
- | Workflow filename | `publish.yml` |
39
- | Environment | `npm` |
40
- | Allowed action | Enable direct `npm publish` |
41
-
42
- Run `npm run release` to start publishing. To retry publication for an existing tag, run **Release MCP package** manually with the publish checkbox selected. The publish job sends the checked tarball to npm with GitHub OIDC and provenance. Verify the version and `mcpName` on npm before submitting the registry listing.
43
-
44
- ```sh
45
- npm view @imazeo/mcp@1.0.0 version mcpName repository.url
46
- ```
47
-
48
- Replace `1.0.0` with the version you published.
49
-
50
- ## Publish to the MCP Registry
51
-
52
- Publish the matching npm version first. Use `server.json` from the same workflow artifact. The Registry checks the versioned npm manifest's `mcpName` against the server name in `server.json`. The artifact's manifest passes `npm run check:registry` during preparation.
53
-
54
- Authenticate with domain verification for `imazeo.com`. With DNS verification configured, run the following from the extracted artifact directory. The key file holds the hex signing key and belongs outside the checkout. The Registry also supports HTTP verification for this namespace. [MCP Registry authentication](https://github.com/modelcontextprotocol/registry/blob/main/docs/modelcontextprotocol-io/authentication.mdx) [Publisher commands](https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/cli/commands.md)
55
-
56
- ```sh
57
- mcp-publisher login dns --domain=imazeo.com --private-key-file=/secure/path/to/key.hex
58
- mcp-publisher publish server.json
59
- ```
60
-
61
- Verify that the listing shows `com.imazeo/media`, the released version, and the `@imazeo/mcp` stdio package.
62
-
63
- ## Submit to other registries
64
-
65
- Registries that import the official MCP Registry can discover the listing after it is published. For direct submissions, reuse the artifact's `server.json` wherever the registry accepts the standard manifest. If it accepts individual fields, use `com.imazeo/media`, the public repository URL, and the same versioned launch command, such as `npx --yes @imazeo/mcp@1.0.0`. Declare `IMAZEO_API_KEY` as a required secret and the two local directory settings as optional. Choose the local `stdio` listing type where available. Follow each registry's account verification and submission process. [MCP Registry aggregators](https://github.com/modelcontextprotocol/registry/blob/main/docs/modelcontextprotocol-io/registry-aggregators.mdx)
66
-
67
- If a correction is needed after publication, prepare a new version and repeat the checks. Coordinate any npm deprecation or Registry withdrawal with maintainers before changing a published listing.
1
+ # Releasing Imazeo Media
2
+
3
+ Release from `Imazeohq/imazeo-mcp` with the npm package `@imazeo/mcp` and the MCP Registry name `com.imazeo/media`. Release steps require maintainer authorization.
4
+
5
+ ## Release a new version
6
+
7
+ After the [first publication](#first-publication) and [trusted publisher setup](#trusted-publishing-for-subsequent-versions), merge the changes you want to release into `main`. Put any changelog notes under `## Unreleased` before merging them.
8
+
9
+ 1. Open **Actions → Create MCP release → Run workflow** and select `main`.
10
+ 2. Choose `patch` for a fix, `minor` for a compatible feature, or `major` for a breaking release. Leave the confirmation checkbox clear to see the exact next tag in the run summary.
11
+ 3. Run the workflow again with the same choice and check confirmation to release. GitHub checks the chosen version against npm and existing Git tags, then tests and pushes the release commit and its annotated tag together. Resolve an unpublished current tag before starting a new release.
12
+
13
+ GitHub dispatches **Release MCP package** on the new tag. That run publishes to npm through OIDC and creates a GitHub Release with the checked tarball and `server.json`. The workflow uses `GITHUB_TOKEN` to push `main` and the tag, so GitHub rules for those refs must permit the release write.
14
+
15
+ To open the workflow in your browser from a terminal, sign in to the GitHub CLI and run the following from this repository.
16
+
17
+ ```sh
18
+ npm run release
19
+ ```
20
+
21
+ ## Publish to npm
22
+
23
+ ### First publication
24
+
25
+ npm requires an existing package before you can add a trusted publisher. A publish log can show signed provenance before npm rejects the upload with `E404`. If `@imazeo/mcp` is still absent, download and extract the `imazeo-mcp-v1.0.1` artifact from the existing `v1.0.1` workflow run. If the artifact expired, run **Release MCP package** on that tag with publication unchecked to regenerate it. From the directory containing the tarball, an authorized `@imazeo` maintainer can publish it with an interactive npm login and two-factor authentication. [v1.0.1 workflow run](https://github.com/Imazeohq/imazeo-mcp/actions/runs/45367185621) · [npm trust prerequisites](https://docs.npmjs.com/cli/v11/commands/npm-trust/)
26
+
27
+ ```sh
28
+ npm login --registry=https://registry.npmjs.org
29
+ npm publish ./imazeo-mcp-1.0.1.tgz --access public --ignore-scripts
30
+ ```
31
+
32
+ If you need to select the existing tag from a terminal, run `gh workflow run publish.yml --repo Imazeohq/imazeo-mcp --ref v1.0.1 -f publish=false`.
33
+
34
+ ### Trusted publishing for subsequent versions
35
+
36
+ Configure the `npm` GitHub environment with deployment rules allowing release tags. GitHub publishes automatically unless the environment has a reviewer or other approval gate. When the next version is ready, add the following trusted publisher in `@imazeo/mcp` package settings on npmjs.com. Complete its first successful publish within two days of creating the connection. [npm trusted publishing](https://docs.npmjs.com/trusted-publishers/)
37
+
38
+ | npm setting | Value |
39
+ | --- | --- |
40
+ | Provider | GitHub Actions |
41
+ | Organization or user | `Imazeohq` |
42
+ | Repository | `imazeo-mcp` |
43
+ | Workflow filename | `publish.yml` |
44
+ | Environment | `npm` |
45
+ | Allowed action | Enable direct `npm publish` |
46
+
47
+ If publication still returns `E404` once the package is public, verify the exact spelling of these settings, the direct publish permission, and whether the trusted publisher configuration has expired.
48
+
49
+ ### Retry an existing tag
50
+
51
+ When a later release fails before npm accepts it, fix the underlying issue and rerun the failed job for that tag. You can also run **Release MCP package** manually on the same tag and check its publish option. The GitHub CLI supports an exact tag ref if needed.
52
+
53
+ ```sh
54
+ gh workflow run publish.yml --repo Imazeohq/imazeo-mcp --ref v1.0.2 -f publish=true
55
+ ```
56
+
57
+ Verify the published version and `mcpName` before submitting the registry listing.
58
+
59
+ ```sh
60
+ npm view @imazeo/mcp@1.0.1 version mcpName repository.url
61
+ ```
62
+
63
+ Use the version you published in this command.
64
+
65
+ ## Publish to the MCP Registry
66
+
67
+ Publish the matching npm version first. Use `server.json` from the same GitHub Release or workflow artifact. The Registry checks the versioned npm manifest's `mcpName` against the server name in `server.json`. The artifact's manifest passes `npm run check:registry` during preparation.
68
+
69
+ Authenticate with domain verification for `imazeo.com`. With DNS verification configured, run the following from the extracted artifact directory. The key file holds the hex signing key and belongs outside the checkout. The Registry also supports HTTP verification for this namespace. [MCP Registry authentication](https://github.com/modelcontextprotocol/registry/blob/main/docs/modelcontextprotocol-io/authentication.mdx) [Publisher commands](https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/cli/commands.md)
70
+
71
+ ```sh
72
+ mcp-publisher login dns --domain=imazeo.com --private-key-file=/secure/path/to/key.hex
73
+ mcp-publisher publish server.json
74
+ ```
75
+
76
+ Verify that the listing shows `com.imazeo/media`, the released version, and the `@imazeo/mcp` stdio package.
77
+
78
+ ## Submit to other registries
79
+
80
+ Registries that import the official MCP Registry can discover the listing after it is published. For direct submissions, reuse the artifact's `server.json` wherever the registry accepts the standard manifest. If it accepts individual fields, use `com.imazeo/media`, the public repository URL, and the same versioned launch command, such as `npx --yes @imazeo/mcp@1.0.0`. Declare `IMAZEO_API_KEY` as a required secret and the two local directory settings as optional. Choose the local `stdio` listing type where available. Follow each registry's account verification and submission process. [MCP Registry aggregators](https://github.com/modelcontextprotocol/registry/blob/main/docs/modelcontextprotocol-io/registry-aggregators.mdx)
81
+
82
+ If a correction is needed after publication, prepare a new version and repeat the checks. Coordinate any npm deprecation or Registry withdrawal with maintainers before changing a published listing.
package/package.json CHANGED
@@ -1,41 +1,41 @@
1
- {
2
- "name": "@imazeo/mcp",
3
- "version": "1.0.1",
4
- "description": "Official Imazeo stdio MCP server for images, PDFs, document rendering, website capture, QR codes, and barcodes",
5
- "type": "module",
6
- "license": "MIT",
7
- "author": "Imazeo",
8
- "bin": { "imazeo-mcp": "dist/cli.js" },
9
- "mcpName": "com.imazeo/media",
10
- "files": ["dist", "docs", "server.json", "CHANGELOG.md", "SECURITY.md", "CONTRIBUTING.md"],
11
- "engines": { "node": "^22.19.0 || ^24.0.0 || ^26.0.0" },
12
- "scripts": {
13
- "build": "tsc -p tsconfig.json",
14
- "typecheck": "tsc -p tsconfig.json --noEmit",
15
- "lint": "eslint .",
16
- "test": "npm run build && node --test test/*.test.mjs",
17
- "check:package": "node scripts/check-package.mjs",
18
- "check:registry": "node scripts/check-registry.mjs",
19
- "release": "node scripts/release.mjs",
20
- "prepack": "npm run build"
21
- },
22
- "keywords": ["mcp", "model-context-protocol", "imazeo", "image-processing", "pdf", "document-rendering", "website-screenshot", "qr-code", "barcode"],
23
- "repository": { "type": "git", "url": "git+https://github.com/Imazeohq/imazeo-mcp.git" },
24
- "bugs": { "url": "https://github.com/Imazeohq/imazeo-mcp/issues" },
25
- "homepage": "https://imazeo.com/docs/",
26
- "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" },
27
- "dependencies": {
28
- "@imazeo/sdk": "1.1.1",
29
- "@modelcontextprotocol/server": "2.4.0",
30
- "zod": "^4.1.13"
31
- },
32
- "devDependencies": {
33
- "@modelcontextprotocol/client": "2.4.0",
34
- "@types/node": "^22.19.0",
35
- "ajv": "^8.17.1",
36
- "ajv-formats": "^3.0.1",
37
- "eslint": "^10.0.0",
38
- "typescript": "~5.9.3",
39
- "typescript-eslint": "^8.48.0"
40
- }
41
- }
1
+ {
2
+ "name": "@imazeo/mcp",
3
+ "version": "1.0.2",
4
+ "description": "Official Imazeo stdio MCP server for images, PDFs, document rendering, website capture, QR codes, and barcodes",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "Imazeo",
8
+ "bin": { "imazeo-mcp": "dist/cli.js" },
9
+ "mcpName": "com.imazeo/media",
10
+ "files": ["dist", "docs", "server.json", "CHANGELOG.md", "SECURITY.md", "CONTRIBUTING.md"],
11
+ "engines": { "node": "^22.19.0 || ^24.0.0 || ^26.0.0" },
12
+ "scripts": {
13
+ "build": "tsc -p tsconfig.json",
14
+ "typecheck": "tsc -p tsconfig.json --noEmit",
15
+ "lint": "eslint .",
16
+ "test": "npm run build && node --test test/*.test.mjs",
17
+ "check:package": "node scripts/check-package.mjs",
18
+ "check:registry": "node scripts/check-registry.mjs",
19
+ "release": "gh workflow view release.yml --repo Imazeohq/imazeo-mcp --web",
20
+ "prepack": "npm run build"
21
+ },
22
+ "keywords": ["mcp", "model-context-protocol", "imazeo", "image-processing", "pdf", "document-rendering", "website-screenshot", "qr-code", "barcode"],
23
+ "repository": { "type": "git", "url": "git+https://github.com/Imazeohq/imazeo-mcp.git" },
24
+ "bugs": { "url": "https://github.com/Imazeohq/imazeo-mcp/issues" },
25
+ "homepage": "https://imazeo.com/docs/",
26
+ "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" },
27
+ "dependencies": {
28
+ "@imazeo/sdk": "1.1.1",
29
+ "@modelcontextprotocol/server": "2.4.0",
30
+ "zod": "^4.1.13"
31
+ },
32
+ "devDependencies": {
33
+ "@modelcontextprotocol/client": "2.4.0",
34
+ "@types/node": "^22.19.0",
35
+ "ajv": "^8.17.1",
36
+ "ajv-formats": "^3.0.1",
37
+ "eslint": "^10.0.0",
38
+ "typescript": "~5.9.3",
39
+ "typescript-eslint": "^8.48.0"
40
+ }
41
+ }
package/server.json CHANGED
@@ -7,14 +7,14 @@
7
7
  "url": "https://github.com/Imazeohq/imazeo-mcp",
8
8
  "source": "github"
9
9
  },
10
- "version": "1.0.1",
10
+ "version": "1.0.2",
11
11
  "websiteUrl": "https://imazeo.com/docs/",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "registryBaseUrl": "https://registry.npmjs.org",
16
16
  "identifier": "@imazeo/mcp",
17
- "version": "1.0.1",
17
+ "version": "1.0.2",
18
18
  "runtimeHint": "npx",
19
19
  "transport": { "type": "stdio" },
20
20
  "environmentVariables": [