@imazeo/mcp 0.0.0-stage → 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.
@@ -0,0 +1,92 @@
1
+ # Local MCP clients
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.2"]`.
4
+
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
+
7
+ ## Cursor
8
+
9
+ Use the `mcpServers` object in `.cursor/mcp.json` or in the global MCP configuration. The Cursor process must have access to the environment variable used below. [Cursor MCP configuration](https://cursor.com/docs/mcp)
10
+
11
+ ~~~json
12
+ {
13
+ "mcpServers": {
14
+ "imazeo": {
15
+ "type": "stdio",
16
+ "command": "npx",
17
+ "args": ["--yes", "@imazeo/mcp@1.0.2"],
18
+ "env": {
19
+ "IMAZEO_API_KEY": "${env:IMAZEO_API_KEY}"
20
+ }
21
+ }
22
+ }
23
+ }
24
+ ~~~
25
+
26
+ ## Claude Desktop
27
+
28
+ Open Settings, then Developer, then Edit Config. Replace the placeholder in your private local configuration with a project key and restart Claude Desktop. Keep the configuration file private because the value is stored there. [Claude Desktop local server guide](https://modelcontextprotocol.io/docs/develop/connect-local-servers)
29
+
30
+ ~~~json
31
+ {
32
+ "mcpServers": {
33
+ "imazeo": {
34
+ "command": "npx",
35
+ "args": ["--yes", "@imazeo/mcp@1.0.2"],
36
+ "env": {
37
+ "IMAZEO_API_KEY": "<project-api-key>"
38
+ }
39
+ }
40
+ }
41
+ }
42
+ ~~~
43
+
44
+ ## Claude Code
45
+
46
+ Use `.mcp.json` for a project-scoped server. Claude Code expands the API key from the environment of the client process. Review the launch command when Claude Code asks you to trust the server. [Claude Code MCP configuration](https://code.claude.com/docs/en/mcp)
47
+
48
+ ~~~json
49
+ {
50
+ "mcpServers": {
51
+ "imazeo": {
52
+ "type": "stdio",
53
+ "command": "npx",
54
+ "args": ["--yes", "@imazeo/mcp@1.0.2"],
55
+ "env": {
56
+ "IMAZEO_API_KEY": "${IMAZEO_API_KEY}"
57
+ }
58
+ }
59
+ }
60
+ }
61
+ ~~~
62
+
63
+ ## VS Code
64
+
65
+ Use the native MCP configuration in `.vscode/mcp.json` or open the user configuration through the Command Palette. The password input keeps the key out of the checked-in configuration. [VS Code MCP configuration reference](https://code.visualstudio.com/docs/agents/reference/mcp-configuration)
66
+
67
+ ~~~json
68
+ {
69
+ "inputs": [
70
+ {
71
+ "id": "imazeo-api-key",
72
+ "type": "promptString",
73
+ "description": "Imazeo project API key",
74
+ "password": true
75
+ }
76
+ ],
77
+ "servers": {
78
+ "imazeo": {
79
+ "type": "stdio",
80
+ "command": "npx",
81
+ "args": ["--yes", "@imazeo/mcp@1.0.2"],
82
+ "env": {
83
+ "IMAZEO_API_KEY": "${input:imazeo-api-key}"
84
+ }
85
+ }
86
+ }
87
+ }
88
+ ~~~
89
+
90
+ ## Check a client connection
91
+
92
+ Start the server and check that the client lists Imazeo tools. Call `imazeo_project_capabilities` with `{}` to verify the key and project without consuming processing credits. For an end-to-end processing check, use a test project, an explicit credit quote and an approved processing request. Setup examples follow the linked client documentation. The automated suite tests the executable with official MCP clients for both protocol eras.
@@ -0,0 +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), 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,6 +1,41 @@
1
1
  {
2
2
  "name": "@imazeo/mcp",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
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 ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "com.imazeo/media",
4
+ "title": "Imazeo Media",
5
+ "description": "Process images, PDFs, documents, website captures, QR codes, and barcodes with Imazeo.",
6
+ "repository": {
7
+ "url": "https://github.com/Imazeohq/imazeo-mcp",
8
+ "source": "github"
9
+ },
10
+ "version": "1.0.2",
11
+ "websiteUrl": "https://imazeo.com/docs/",
12
+ "packages": [
13
+ {
14
+ "registryType": "npm",
15
+ "registryBaseUrl": "https://registry.npmjs.org",
16
+ "identifier": "@imazeo/mcp",
17
+ "version": "1.0.2",
18
+ "runtimeHint": "npx",
19
+ "transport": { "type": "stdio" },
20
+ "environmentVariables": [
21
+ {
22
+ "name": "IMAZEO_API_KEY",
23
+ "description": "Secret API key for the Imazeo project used by this server.",
24
+ "isRequired": true,
25
+ "isSecret": true
26
+ },
27
+ {
28
+ "name": "IMAZEO_INPUT_DIR",
29
+ "description": "Optional absolute directory containing local files you allow the server to upload."
30
+ },
31
+ {
32
+ "name": "IMAZEO_OUTPUT_DIR",
33
+ "description": "Optional absolute directory where the server may write new media files."
34
+ }
35
+ ]
36
+ }
37
+ ]
38
+ }