Skip to content

release: v0.11.0 - MCP Server for AI tools#51

Merged
arindamdawn merged 12 commits intomainfrom
release/v0.11.0
Feb 24, 2026
Merged

release: v0.11.0 - MCP Server for AI tools#51
arindamdawn merged 12 commits intomainfrom
release/v0.11.0

Conversation

@arindamdawn
Copy link
Owner

Summary

  • MCP Server (@schemasentry/mcp) - Use Schema Sentry directly from AI tools
  • Tools: schemasentry_validate, schemasentry_audit, schemasentry_collect, schemasentry_scaffold, schemasentry_scan
  • Works with Claude Desktop, Cursor, and other MCP-compatible AI assistants
  • Run via npx @schemasentry/mcp or configure in MCP settings

Changes

  • New @schemasentry/mcp package
  • CLI now exports functions for reuse
  • Updated all packages to v0.11.0
  • Updated README with MCP setup instructions
  • Updated CHANGELOG and ROADMAP

Testing

  • ✅ TypeScript typecheck passes
  • ✅ All tests pass (98 tests)
  • ✅ Build succeeds

MCP Setup

For Claude Desktop:

{
  "mcpServers": {
    "schema-sentry": {
      "command": "npx",
      "args": ["@schemasentry/mcp"]
    }
  }
}

- Add full-screen TUI with command picker, status panel, logs panel
- Support keyboard shortcuts: 1/2/3 for commands, SPACE to run, W for watch, R for re-run, Q to quit
- Integrate watch mode with chokidar
- Update documentation and bump version to 0.9.5
- Add manifest-less validation (validate command works without manifest file)
- Auto-discovers schema types from source code scanning
- Update version to 0.10.0 across all packages
- Update README with new workflow
- Update CHANGELOG and ROADMAP
- Add @schemasentry/mcp package
- MCP tools: validate, audit, collect, scaffold, scan
- Works with Claude Desktop, Cursor, and other MCP-compatible AI
- Run via npx @schemasentry/mcp
- Update all packages to v0.11.0
- Update README, CHANGELOG, ROADMAP
- Add comprehensive MCP setup for Claude Desktop, Cursor, Zed
- Document all tool parameters
- Add example conversations
- Create dedicated docs/mcp.md file
- Keep v0.11.0 versions
- Include both v0.10.0 and v0.11.0 in CHANGELOG
- Update ROADMAP with both releases
- Regenerate pnpm-lock.yaml
- Add schemasentry_suggest tool that uses user's AI provider
- Supports OpenAI, Anthropic, Google, NVIDIA, OpenRouter
- Auto-scans routes if not provided
- Generate contextualized schema based on actual page routes
- Auto-detects API keys from environment variables
- Falls back to URL pattern matching when no AI key is available
- Users with Copilot/Claude Code can use existing OPENAI_API_KEY or ANTHROPIC_API_KEY
- Add codeExample to suggestions output
- Add filePath for each suggestion
- Add requiredFields for easy filling
- Add forIDE hint in output
- Update docs with full IDE workflow examples
- Add quick prompts table to README
@arindamdawn
Copy link
Owner Author

Updated Feature List for v0.11.0

MCP Server - Full Features

6 Tools Available:

  • schemasentry_validate - Validate schema against built HTML
  • schemasentry_audit - Analyze schema health, detect ghost routes
  • schemasentry_collect - Collect JSON-LD from built HTML
  • schemasentry_scaffold - Generate schema code for pages
  • schemasentry_scan - Scan source files for Schema usage
  • schemasentry_suggest - AI-powered schema suggestions (NEW!)

Key Features

  1. AI-Powered Suggestions - Uses OpenAI, Anthropic, Google, NVIDIA, OpenRouter
  2. Auto-detect API Keys - Uses existing OPENAI_API_KEY or ANTHROPIC_API_KEY from env
  3. Pattern-based Fallback - Free suggestions using URL patterns when no AI key available
  4. IDE-Ready Output - Each suggestion includes:
    • codeExample - Ready-to-use code snippet
    • filePath - Where to add the code
    • requiredFields - What fields to fill in
    • forIDE - Hint to pass to LLM for filling values

Example Workflow

1. User: "Add schema to my blog pages"
2. MCP returns suggestions with code examples
3. IDE LLM reads your page.tsx → sees actual content
4. IDE LLM fills in values → writes completed code

Quick Prompts

Task Prompt
Find missing schema "Which pages are missing schema?"
Analyze routes "What schema types should I add?"
Add to page "Add BlogPosting to my /blog/[slug] page"

Setup

{
  "mcpServers": {
    "schema-sentry": {
      "command": "npx",
      "args": ["@schemasentry/mcp"]
    }
  }
}

- Include @schemasentry/mcp and other packages in unpublish step
- Add schemasentry_install tool
- Check if packages are installed before running suggest
- Return helpful message with install command if not installed
@arindamdawn arindamdawn merged commit ed2ef78 into main Feb 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant