Skip to content

Add Claude Code glance plugin (MCP)#12

Merged
benvinegar merged 2 commits intomainfrom
feat/claude-plugin
Mar 8, 2026
Merged

Add Claude Code glance plugin (MCP)#12
benvinegar merged 2 commits intomainfrom
feat/claude-plugin

Conversation

@benvinegar
Copy link
Member

Summary

  • add a new claude/ plugin that exposes glance.sh via bundled MCP tools
  • add glance and glance_wait tools backed by a stdio MCP server
  • add Claude marketplace metadata and docs for install/verify flow
  • include runtime + protocol tests for SSE delivery, cancellation, and stdio transport variants

Added

  • .claude-plugin/marketplace.json
  • claude/.claude-plugin/plugin.json
  • claude/.mcp.json
  • claude/README.md
  • claude/servers/glance-mcp.js
  • claude/servers/glance-mcp.d.ts
  • claude/servers/glance-mcp.test.ts

Updated

  • README.md (Claude Code in plugin matrix)
  • tsconfig.json (include claude/**/*.ts)
  • vitest.config.ts (coverage includes claude/**/*.js)

Validation

  • npm test
  • npm run test:coverage
  • npm exec -- tsc --noEmit
  • npx @anthropic-ai/claude-code plugin validate ./claude
  • npx @anthropic-ai/claude-code plugin validate ./.claude-plugin/marketplace.json
  • npx @anthropic-ai/claude-code plugin marketplace add ./
  • npx @anthropic-ai/claude-code plugin install glance-claude@glance-agent-plugins
  • npx @anthropic-ai/claude-code mcp list shows plugin:glance-claude:glance connected

Runtime smoke (authenticated Claude)

Verified in a logged-in Claude stream-json session:

  1. Claude called glance and returned a session URL
  2. pushed an image event into that session via /api/session/<id>/push
  3. Claude called glance_wait and returned the pushed image URL payload

@benvinegar
Copy link
Member Author

Added npm packaging + release automation for Claude plugin in follow-up commit:\n\n- added as \n- switched marketplace entry for to npm source\n- added (tag: , workflow_dispatch dry-run/publish)\n- updated docs (, )\n\nAlso shortened docs to use / with fully-qualified form only when disambiguation is needed.

@benvinegar
Copy link
Member Author

Correction (markdown quoting in previous comment got mangled by shell):

Added npm packaging + release automation for Claude plugin in follow-up commit:

  • added claude/package.json as @modemdev/glance-claude
  • switched marketplace entry for glance-claude to npm source
  • added .github/workflows/release-claude.yml (tag: claude-v*, workflow_dispatch dry-run/publish)
  • updated docs (README.md, claude/README.md)

Also shortened docs to use /plugin update glance-claude / /plugin uninstall glance-claude, with fully qualified @marketplace only when disambiguation is needed.

@benvinegar benvinegar merged commit e91ff55 into main Mar 8, 2026
4 checks 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