From 75d927212180ff00a316f5351fde61ca9cadaf87 Mon Sep 17 00:00:00 2001 From: Jack Felke Date: Fri, 20 Mar 2026 08:20:14 -0700 Subject: [PATCH] Add MCP Registry support (mcpName + server.json) Adds mcpName to package.json and server.json template for publishing to the official MCP Registry (registry.modelcontextprotocol.io). This enables discovery via Claude Desktop, Cursor, and other MCP clients that pull from the registry. --- package.json | 3 ++- server.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 server.json diff --git a/package.json b/package.json index 628fc13..bb04833 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "preflight-dev", + "mcpName": "io.github.preflight-dev/preflight", "version": "3.2.0", - "description": "Preflight checks for AI coding agents — catch vague prompts, surface missing context, search session history", + "description": "Preflight checks for AI coding agents \u2014 catch vague prompts, surface missing context, search session history", "type": "module", "main": "dist/index.js", "bin": { diff --git a/server.json b/server.json new file mode 100644 index 0000000..661aa23 --- /dev/null +++ b/server.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", + "name": "io.github.preflight-dev/preflight", + "description": "24-tool MCP server for Claude Code — catches vague prompts before they waste tokens, with 12-category scorecards, session history search via LanceDB vectors, cross-service contract awareness, correction pattern learning, and cost estimation.", + "repository": { + "url": "https://github.com/preflight-dev/preflight", + "source": "github" + }, + "version": "3.2.0", + "packages": [ + { + "registryType": "npm", + "identifier": "preflight-dev", + "version": "3.2.0", + "transport": { + "type": "stdio" + }, + "environmentVariables": [ + { + "description": "Path to the project directory for preflight to analyze", + "isRequired": false, + "format": "string", + "isSecret": false, + "name": "CLAUDE_PROJECT_DIR" + } + ] + } + ] +}