mcplane 0.4.0 → 0.4.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/dist/listings.js +1 -1
- package/dist/publish.js +13 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/listings.js
CHANGED
|
@@ -107,7 +107,7 @@ async function glama(m) {
|
|
|
107
107
|
const url = `https://glama.ai/mcp/connectors/${registryName(m)}`;
|
|
108
108
|
const code = await status(url);
|
|
109
109
|
if (code === 200)
|
|
110
|
-
return { store: 'glama', state: 'listed', url, issues: [], note: 'Imported from the registry. Claim it
|
|
110
|
+
return { store: 'glama', state: 'listed', url, issues: [], note: 'Imported from the registry. Claim it (Claim ownership on that page; "mcplane publish glama" has the steps) so the listing and badge are yours.' };
|
|
111
111
|
if (code === 404)
|
|
112
112
|
return { store: 'glama', state: 'missing', issues: [], note: 'Glama imports connectors from the official registry; publish there first.' };
|
|
113
113
|
return { store: 'glama', state: 'unknown', issues: [] };
|
package/dist/publish.js
CHANGED
|
@@ -233,15 +233,24 @@ function prepared(m, store) {
|
|
|
233
233
|
return { store, done: false, lines: [`smithery mcp publish ${m.server.url} -n @<your-org>/${m.name}`, 'Or at https://smithery.ai/new. If Smithery’s scan can’t get past your sign-in, serve /.well-known/mcp/server-card.json describing your tools.'] };
|
|
234
234
|
}
|
|
235
235
|
if (store === 'glama') {
|
|
236
|
+
const reg = registryName(m);
|
|
236
237
|
const owner = gh?.owner ?? '<your-github-user>';
|
|
238
|
+
const domainNs = !reg.startsWith('io.github.');
|
|
239
|
+
const domain = reg.split('/')[0].split('.').reverse().join('.');
|
|
237
240
|
return {
|
|
238
241
|
store,
|
|
239
242
|
done: false,
|
|
240
243
|
lines: [
|
|
241
|
-
`Hosted
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
244
|
+
`Hosted server: Glama imports it from the official registry as a connector, https://glama.ai/mcp/connectors/${reg}. Publish there first.`,
|
|
245
|
+
domainNs
|
|
246
|
+
? `To claim it: open that page, choose Claim ownership, sign in, and verify ${domain} with the token Glama shows, either as a TXT record at _glama-claim.${domain} or as https://${domain}/.well-known/glama.json ({"$schema":"https://glama.ai/mcp/schemas/connector.json","claim":"glama_claim_…"}). One verification covers every connector under the domain.`
|
|
247
|
+
: `To claim it: open that page, choose Claim ownership and "Claim with GitHub" as ${reg.split('/')[0].slice('io.github.'.length)}. An organisation also needs the Glama GitHub App installed.`,
|
|
248
|
+
...(gh
|
|
249
|
+
? [
|
|
250
|
+
`Server code on GitHub is a separate listing: add https://github.com/${gh.owner}/${gh.repo} at https://glama.ai/mcp/servers ("Add MCP Server") and claim it with glama.json at the repo root:`,
|
|
251
|
+
JSON.stringify({ $schema: 'https://glama.ai/mcp/schemas/server.json', maintainers: [owner] }, null, 2),
|
|
252
|
+
]
|
|
253
|
+
: []),
|
|
245
254
|
'Both awesome lists require the Glama badge on each entry, so do this first.',
|
|
246
255
|
],
|
|
247
256
|
};
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.4.
|
|
1
|
+
export declare const VERSION = "0.4.1";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.4.
|
|
1
|
+
export const VERSION = '0.4.1';
|
package/package.json
CHANGED