From 5299c6c454fb3e6e389ce74976b80ba3dda47cbd Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 3 Oct 2026 03:00:14 +0000 Subject: [PATCH] feat(mcp): server.json for the official MCP registry, remote entry only The registry can truthfully carry one entry for ObjectStack today: a streamable-http remote whose host is the user's own deployment (https://{host}/api/v1/mcp). Every CLI-served deployment mounts that route default-on and admits OAuth or an osk_ key, measured on the published @objectstack/cli 17.6.0. No npm package entry: @objectstack/mcp declares no bin in any published version, so `npx @objectstack/mcp` runs nothing, and the stdio transport starts only as a mode of the user's app under `os start` in its project directory, which a registry package entry has no field to express. With no npm entry there is no mcpName ownership marker to publish, so no manifest changes. The file is not in packages/mcp's files[], so nothing ships. Validated with mcp-publisher 1.8.1 against the live registry and with ajv against the published 2025-12-11 schema. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_016GiHYRmLSNWTfbX9gVQkpz --- packages/mcp/server.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 packages/mcp/server.json diff --git a/packages/mcp/server.json b/packages/mcp/server.json new file mode 100644 index 00000000000..4a62073d417 --- /dev/null +++ b/packages/mcp/server.json @@ -0,0 +1,35 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", + "name": "io.github.objectstack-ai/objectstack", + "title": "ObjectStack", + "description": "Read and write your ObjectStack app's records and run its exposed actions, as MCP tools.", + "version": "17.6.0", + "websiteUrl": "https://objectstack.ai/docs/ai/connect-mcp", + "repository": { + "url": "https://github.com/objectstack-ai/objectstack", + "source": "github", + "id": "1136691870", + "subfolder": "packages/mcp" + }, + "remotes": [ + { + "type": "streamable-http", + "url": "https://{host}/api/v1/mcp", + "variables": { + "host": { + "description": "Host name of your own ObjectStack deployment, plus :port when it is not 443. Every deployment serves MCP at /api/v1/mcp; there is no shared hosted endpoint.", + "isRequired": true, + "placeholder": "crm.example.com" + } + }, + "headers": [ + { + "name": "x-api-key", + "description": "Optional osk_ API key, minted on the deployment's Connect an Agent page. Leave it unset to sign in with OAuth instead.", + "isRequired": false, + "isSecret": true + } + ] + } + ] +}