@openanysi/website-quality-audit-mcp 0.0.0-stage → 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.
@@ -0,0 +1,50 @@
1
+ # Contributing
2
+
3
+ Use Node.js 22 or later. In the monorepo, install dependencies from the repository root and select the relevant workspace:
4
+
5
+ ```sh
6
+ npm ci --ignore-scripts
7
+ npm test --workspace @openanysi/<slug>
8
+ npm run check --workspace @openanysi/<slug>
9
+ npm run smoke:package --workspace @openanysi/<slug>
10
+ ```
11
+
12
+ Replace `<slug>` with the package's actual name. The monorepo uses `packages/*` and a shared root lockfile; do not generate a child lockfile or initialize Git inside each package. For a standalone checkout, run the package's scripts without `--workspace`. Package smoke verifies the governing lockfile and manifest files remain unchanged.
13
+
14
+ ## Runtime and tool changes
15
+
16
+ The package maps atomic tools to current OpenAny API contracts through the shared SDK. Keep credentials, contract versions, transport, error handling and referrals in that SDK. Read the installed SDK's exports and types before changing integration code; inspect its installed version with `npm ls @openanysi/openany-core`.
17
+
18
+ Update the tool configuration, contract fixtures, relevant guides and public tool table together. Preserve required inputs and input mappings. The client controls combinations, sampling, each page, analysis and export. A replacement API with a different output scope needs an explicit tool/guide change.
19
+
20
+ ## Guides and optional companion Skills
21
+
22
+ Maintain both English and Chinese task guides. When a companion Skill is included, keep its references and generated MCP guides synchronized using the package's declared commands; otherwise edit the bundled guides directly. Do not document a command that the package does not provide. A bundled Skill is optional and does not automatically connect an MCP.
23
+
24
+ Check the current runtime's actual workflow-language default. English examples should explicitly select `language: "en"`. Updating prose does not change a runtime default.
25
+
26
+ ## Public documentation
27
+
28
+ Keep the README focused on tasks, setup, tool parameters and one short Limitations & Billing section. Use supplier-neutral copy. Put implementation instructions here and private test results outside public-facing documentation. Keep genuine source and billing evidence available for maintainers without presenting it as marketing copy.
29
+
30
+ Use unversioned scoped npx examples and credential placeholders. Link to OpenAny key setup and current pricing. Separate utility-only no-key trials from paid data prompts. README relative links must exist in the npm tarball; use absolute public URLs for repository-only material.
31
+
32
+ ## Verification and packaging
33
+
34
+ Local tests use captured contracts and clearly synthetic business responses. They verify protocol behavior and mapping; they do not establish supplier availability. Real calls require the task's existing authorization and private credentials. Preserve unknown outcomes and check original request IDs before another paid request. Do not replay calls for timing samples.
35
+
36
+ Package smoke installs a temporary tarball outside the checkout. It checks assets, documentation links, startup and guides without making paid business calls. If offline dependency metadata is missing, prepare an isolated npm cache rather than changing the user's default cache or bypassing checks.
37
+
38
+ Run anonymous live or public-release checks only when the package provides the relevant command or the authoring toolkit is available. Record exact versions and results privately. A local tarball test, registry check, npm-page render and real provider read are separate evidence.
39
+
40
+ ## Release
41
+
42
+ Review package name, version, bin, dependency source, license, tarball contents and README. Preserve fixed dependency versions in package metadata without repeating them in public copy. npm README content changes with a new published version; a Git push alone does not refresh it.
43
+
44
+ Complete local checks and obtain approval for the specific package and version before publishing. Keep publishing credentials in private process configuration, outside the repository and tarball. After publishing, verify the exact public registry version, packaged documentation and a clean public installation, then update the release tracker with actual results. A staged version or an incomplete registry verification remains pending. If tracker writeback fails, retry that step without publishing the package again.
45
+
46
+ From the monorepo root, publish only the approved package with `npm publish --workspace @openanysi/<slug> --access public`. The private root package is not a release artifact. Keep `repository.directory` set to `packages/<slug>` and avoid publishing unrelated workspaces.
47
+
48
+ ## Companion Skill
49
+
50
+ Edit the canonical files in `workflows/`, then run `npm run sync:skill` in this workspace. `npm run check` verifies that the packaged companion references match those canonical files. Keep user keys and business verification records outside the package.
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,251 @@
1
- # Temporary Holding Version
1
+ # website-quality-audit-mcp: Website Quality Audit MCP
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ MCP server to discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. Built for Claude, Cursor and other AI agents. Powered by [OpenAny](https://openany.si/).
4
+
5
+ [![npm version](https://img.shields.io/npm/v/@openanysi/website-quality-audit-mcp.svg)](https://www.npmjs.com/package/@openanysi/website-quality-audit-mcp)
6
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
7
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D22-brightgreen.svg)](https://nodejs.org/)
8
+
9
+ English | [简体中文](docs/README.zh-CN.md)
10
+
11
+ ## Overview
12
+
13
+ Use this MCP to discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data.
14
+
15
+ Designed for website owners and technical SEO teams, it supplies evidence your agent can turn into a prioritized page-fix brief with audit evidence and scope notes.
16
+
17
+ **Best For / Not For**
18
+
19
+ - **Best For:** Discover sitemap URLs to select a real HTML page before spending on an audit.
20
+ - **Best For:** Inspect one page to inspect page-specific technical evidence.
21
+ - **Best For:** Run one Lighthouse audit to compare laboratory performance within explicit device context.
22
+ - **Best For:** analyzing supplied material without collecting again merely to write a report.
23
+ - **Not For:** operations or filters absent from Tools Reference, or treating samples as complete coverage; see the scope FAQ.
24
+
25
+ ## Table of Contents
26
+
27
+ - [Quick Start](#quick-start)
28
+ - [Key Features](#key-features)
29
+ - [Example Prompts](#example-prompts)
30
+ - [Why website-quality-audit-mcp?](#why-website-quality-audit-mcp)
31
+ - [What You Can Build & Deliver](#what-you-can-build--deliver)
32
+ - [Tools Reference](#tools-reference)
33
+ - [Built-in Workflow Guides](#built-in-workflow-guides)
34
+ - [End-to-End Example](#end-to-end-example)
35
+ - [FAQ](#faq)
36
+ - [Error Handling & Retries](#error-handling--retries)
37
+ - [Scope, Data & Billing Notes](#scope-data--billing-notes)
38
+ - [Development](#development)
39
+ - [About OpenAny](#about-openany)
40
+ - [License](#license)
41
+
42
+ ## Quick Start
43
+
44
+ ### Prerequisites
45
+
46
+ - Node.js 22+ and a client supporting local `stdio` MCP servers.
47
+ - An OpenAny API key for data tools: [API Keys](https://openany.si/dashboard/?page=api-keys), [setup guide](https://openany.si/setup.md), [usage and costs](https://openany.si/dashboard/?page=usage).
48
+ - Utility tools work without a key.
49
+
50
+ ### Configure Your Client
51
+
52
+ For clients using `mcpServers`, add this to private settings. Other hosts register the same command, arguments and environment through their MCP settings or CLI.
53
+
54
+ ```json
55
+ {
56
+ "mcpServers": {
57
+ "website-quality-audit-mcp": {
58
+ "command": "npx",
59
+ "args": [
60
+ "-y",
61
+ "@openanysi/website-quality-audit-mcp"
62
+ ],
63
+ "env": {
64
+ "OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"
65
+ }
66
+ }
67
+ }
68
+ }
69
+ ```
70
+
71
+ Store `OPENANY_API_KEY` in private client settings or the inherited environment. Omit `env` for utility-only use. Keep real keys out of chat and repositories.
72
+
73
+ ### Verify It Works
74
+
75
+ - **Without an API key:** Inspect `list_sitemap_urls` with `get_tool_info`, then load `get_workflow` with `workflow: "research", language: "en"`. Explain inputs and pricing without fetching data.
76
+ - **With an API key:** Ask the agent to inspect the relevant tool, request one scoped sample for your question, and preserve sources and missing fields in a research table.
77
+
78
+ ## Key Features
79
+
80
+ - **Discover sitemap URLs:** use `list_sitemap_urls` as an independent operation; inspect its inputs and available fields below.
81
+ - **Inspect one page:** use `inspect_page` as an independent operation; inspect its inputs and available fields below.
82
+ - **Run one Lighthouse audit:** use `run_lighthouse` as an independent operation; inspect its inputs and available fields below.
83
+ - **Comparable evidence:** retain Page URL; Audit / task status; Device / run time; mark missing fields unknown.
84
+ - **Inspect before collection:** read current parameters and pricing before each request; uncertain outcomes are not automatically replayed.
85
+ - **Bilingual task guidance:** collection and reporting guides support analysis and available local exports with your own client model.
86
+
87
+ ## Example Prompts
88
+
89
+ - "Inspect selected website pages and compare technical checks with Lighthouse observations."
90
+ - "Discover links for my website, select one HTML page, and compare its technical checks with a desktop Lighthouse audit."
91
+ - "Keep laboratory Lighthouse results separate from field Core Web Vitals and whole-site coverage."
92
+ - "Use only the records I provide. Make no new data calls. Organize the evidence columns below, mark missing fields and list follow-up questions."
93
+
94
+ ## Why website-quality-audit-mcp?
95
+
96
+ | What You Care About | How We Handle It | Value to You |
97
+ | --- | --- | --- |
98
+ | Discover sitemap URLs | Use `list_sitemap_urls` with `url` | Select a real HTML page before spending on an audit |
99
+ | Inspect one page | Use `inspect_page` with `tasks` | Inspect page-specific technical evidence |
100
+ | Run one Lighthouse audit | Use `run_lighthouse` with `tasks` | Compare laboratory performance within explicit device context |
101
+
102
+ ## What You Can Build & Deliver
103
+
104
+ | Use Case | How the Agent Runs It | Typical Deliverables |
105
+ | --- | --- | --- |
106
+ | Discover sitemap URLs | Choose `list_sitemap_urls` with the identifiers and inputs required by its current contract. | Sourced evidence to help select a real HTML page before spending on an audit. |
107
+ | Inspect one page | Choose `inspect_page` with the identifiers and inputs required by its current contract. | Sourced evidence to help inspect page-specific technical evidence. |
108
+ | Website Quality Audit brief | Align object identity, dates and units before interpreting collected records. | Sourced observations, unresolved differences and follow-up checks. |
109
+
110
+ ## Tools Reference
111
+
112
+ The server exposes **6 tools**: 3 data tools and 3 free keyless utilities. Each data tool maps to one request. The client decides subsequent calls and pages.
113
+
114
+ ### Data Tools
115
+
116
+ | Tool | Parameters | Behavior | Typical Returned Fields |
117
+ | --- | --- | --- | --- |
118
+ | `list_sitemap_urls` | `url` (string, required); `type` (string, optional; sitemap, all) | Discover sitemap URLs | `links`; provider-dependent; optional fields may be absent. |
119
+ | `inspect_page` | `tasks` (array, required) | Inspect one page | `url`, `status_code`, `onpage_score`, `checks`, `meta`, `page_timing`; provider-dependent; optional fields may be absent. |
120
+ | `run_lighthouse` | `tasks` (array, required) | Run one Lighthouse audit | `requestedUrl`, `finalUrl`, `categories`, `audits`, `fetchTime`; provider-dependent; optional fields may be absent. |
121
+
122
+ Responses are passed through rather than normalized into an invented common business schema. Inspect the returned payload before extracting fields or chaining identifiers. Optional fields may be missing. An input cursor is available only where listed above.
123
+
124
+ Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
125
+
126
+ Each audit `tasks` array must contain exactly one item with a non-empty `url`.
127
+
128
+ `list_sitemap_urls` accepts required `url` and optional `type` (`sitemap` or `all`). Inspect returned links, keep the intended host, and select an HTML page rather than passing a sitemap file into an audit. Audit `tasks` must contain exactly one object with required `url`. `inspect_page` also accepts `enable_javascript`, `browser_preset` and `accept_language` inside that object; `run_lighthouse` accepts `for_mobile`, `categories`, `audits` and `language_code`.
129
+
130
+ #### Nested Request Shapes
131
+
132
+ Paths show actual nesting; do not send nested fields at the tool top level. `[]` denotes an array item. Required markers apply within the containing object; inspect `get_tool_info` for conditional alternatives.
133
+
134
+ **`inspect_page`** — `tasks` array item count: 1–1
135
+
136
+ | Nested field | Requirement | Type / constraints |
137
+ | --- | --- | --- |
138
+ | `tasks[].accept_language` | Optional | string / null |
139
+ | `tasks[].browser_preset` | Optional | string / null |
140
+ | `tasks[].enable_javascript` | Optional | boolean / null |
141
+ | `tasks[].url` | Required within parent | string (length 1–…) |
142
+
143
+ **`run_lighthouse`** — `tasks` array item count: 1–1
144
+
145
+ | Nested field | Requirement | Type / constraints |
146
+ | --- | --- | --- |
147
+ | `tasks[].audits` | Optional | array / null |
148
+ | `tasks[].categories` | Optional | array / null |
149
+ | `tasks[].for_mobile` | Optional | boolean / null |
150
+ | `tasks[].language_code` | Optional | string / null |
151
+ | `tasks[].url` | Required within parent | string (length 1–…) |
152
+
153
+ ### Utility Tools (Free, No API Key Required)
154
+
155
+ | Tool | Parameters | Behavior |
156
+ | --- | --- | --- |
157
+ | `get_tool_info` | Required `tool_name` from the data-tool names above | Read current parameters, pricing and limits |
158
+ | `get_workflow` | Required `workflow`; optional `language` (`zh` or `en`, default `zh`) | Return a guide; use `language: "en"` for English |
159
+ | `search_openany_capabilities` | Required `query` (1-256 characters); optional `limit` (1-10, default 5) | Search related capabilities without executing them |
160
+
161
+ ## Built-in Workflow Guides
162
+
163
+ `get_workflow` returns instructions for your client without calling data tools or a model. Select `language: "en"` for English.
164
+
165
+ | Guide ID | Best For | What It Provides |
166
+ | --- | --- | --- |
167
+ | `research` | Planning website quality audit | A tool/identifier checklist and a scoped collection method. |
168
+ | `evidence_brief` | Reporting from collected website quality audit records | Source attribution, comparison context, missing information and follow-up questions. |
169
+
170
+ ### Companion Skill (Optional)
171
+
172
+ The [companion Skill](skills/website-quality-audit/SKILL.md) contains the same bilingual guides. Install it only if your client supports Skills; MCP guides work independently.
173
+
174
+ ## End-to-End Example
175
+
176
+ **Prompt:** "Discover links for my website, select one HTML page, and compare its technical checks with a desktop Lighthouse audit."
177
+
178
+ **How the Agent Executes:**
179
+
180
+ 1. Load `research`, establish identifiers, scope and budget, and select the needed tools: `list_sitemap_urls`, `inspect_page`, `run_lighthouse`.
181
+ 2. Inspect `get_tool_info` for current schemas and pricing. Make authorized calls only with confirmed identifiers and required inputs; do not fabricate IDs or append pages automatically.
182
+ 3. Discover URLs, select a same-host HTML page, then submit exactly one page in each audit tasks array. Preserve device/run context and inspect task-level success before interpreting findings.
183
+ 4. Retain evidence using these columns: Page URL | Audit / task status | Device / run time | Observed issue | Evidence | Priority hypothesis. Mark absent fields unknown.
184
+ 5. Load `evidence_brief`, write evidence-linked findings and open questions, and export Markdown/CSV only when client file tools are available.
185
+
186
+ ## FAQ
187
+
188
+ ### Which inputs should I confirm before starting?
189
+
190
+ `list_sitemap_urls` requires `url`; `inspect_page` requires `tasks`; `run_lighthouse` requires `tasks`. Choose the operation that matches the supplied query or known record; ask for missing identifiers rather than guessing from names.
191
+
192
+ ### How should I compare the returned records?
193
+
194
+ Align Page URL; Audit / task status; Device / run time before comparing. Keep supported observations separate from unavailable fields and list the specific follow-up evidence needed.
195
+
196
+ ### What are the domain-specific scope limits?
197
+
198
+ Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
199
+
200
+ ### How much does this MCP cost?
201
+
202
+ The Apache-2.0 package has no MCP subscription fee. Three utilities are free and keyless; 3 data tools follow current OpenAny pricing. Inspect `get_tool_info` before calling. Client model costs are separate.
203
+
204
+ ### Do I need a platform account or browser cookies?
205
+
206
+ Data calls use `OPENANY_API_KEY`. The MCP configuration does not require a personal platform account or browser cookies, and does not grant access to unprovided private account data.
207
+
208
+ ### Which clients work, and what can I try without a key?
209
+
210
+ Use a standard local `stdio` MCP client. The configuration JSON applies to hosts using `mcpServers`; other clients register the same command. Without a key, inspect tools, read guides and discover related capabilities.
211
+
212
+ ### Can I treat missing fields as zero or infer complete coverage?
213
+
214
+ No. Preserve object identity, source, filters and sample scope. Mark missing values unknown; the returned sample does not represent uncollected records.
215
+
216
+ ### Who writes the report and exports files?
217
+
218
+ Your client agent analyzes and writes; Markdown/CSV export requires its file tools. The MCP returns data and guides rather than generating a report. Discover missing capabilities with `search_openany_capabilities` or the general OpenAny MCP.
219
+
220
+ ### What should I do after a timeout or uncertain result?
221
+
222
+ Preserve the original request ID and inspect its outcome before another call. A missing final response does not prove that it was uncharged; do not automatically replay an uncertain request.
223
+
224
+ ## Error Handling & Retries
225
+
226
+ | Execution State | Typical Indicators | Billed? | Safe to Retry? |
227
+ | --- | --- | --- | --- |
228
+ | **Failed** | Input or credential rejection before dispatch | No | After correcting the input |
229
+ | **Succeeded** | Returned business data | According to the selected API's billing rule | Do not resubmit the same request |
230
+ | **Uncertain / Timeout** | Final result was not received | Unknown | Check the original request first |
231
+
232
+ ## Scope, Data & Billing Notes
233
+
234
+ - **Execution & Billing:** Each call is inspected and executed separately. Empty results may incur a charge when the selected rule applies.
235
+ - **Sampling & Data Boundaries:** Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
236
+ - **Reporting Standards:** Separate source data, observations, hypotheses and drafts. Mark unavailable facts as unknown.
237
+ - **Network & Privacy:** The server runs locally; catalog queries and business inputs are sent to OpenAny.
238
+
239
+ ## Development
240
+
241
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide maintenance.
242
+
243
+ ## About OpenAny
244
+
245
+ [OpenAny](https://openany.si/) is a **B2A (Business-to-Agent) marketplace** for AI models, data and business APIs, tools/MCP servers and ready-to-call Runs. One OpenAny key provides pay-per-call access without a required monthly subscription.
246
+
247
+ Discover additional capabilities with `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/).
248
+
249
+ ## License
250
+
251
+ [Apache-2.0](LICENSE)
package/bin/server.js ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+ import { createServer } from '../src/server.js';
3
+
4
+ try {
5
+ const handle = await createServer({ stdio: true });
6
+ const shutdown = () => {
7
+ void handle.close().catch(() => {
8
+ process.stderr.write('MCP shutdown failed.\n');
9
+ process.exitCode = 1;
10
+ });
11
+ };
12
+ process.once('SIGINT', shutdown);
13
+ process.once('SIGTERM', shutdown);
14
+ handle.server.server.onclose = shutdown;
15
+ } catch {
16
+ process.stderr.write('MCP startup failed; check the package assets and supported Node.js version.\n');
17
+ process.exitCode = 1;
18
+ }