-
Notifications
You must be signed in to change notification settings - Fork 0
feat: package Websets as a self-contained Claude Code plugin #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 3 commits
ebab0ef
efcb1f5
e564c56
7612e47
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "name": "websets-mcp-codemode", | ||
| "owner": { | ||
| "name": "Kastalien Research" | ||
| }, | ||
| "plugins": [ | ||
| { | ||
| "name": "websets", | ||
| "source": "./", | ||
| "description": "Exa Websets for Claude Code — full MCP server (search/execute/status, 110 ops, 12 workflows, SQLite shadow store, webhook receiver) plus a realtime channel that pushes Webset events into your session.", | ||
| "version": "1.0.0" | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,69 @@ | ||
| { | ||
| "name": "websets", | ||
| "description": "Websets webhook channel for Claude Code — receive Exa Webset events (new items, enrichments, idle notifications) and react with full codebase context.", | ||
| "version": "1.0.0", | ||
| "keywords": ["websets", "exa", "channel", "webhook", "mcp"], | ||
| "description": "Exa Websets for Claude Code — full MCP server (search/execute/status, 110 ops, 12 workflows, SQLite shadow store, webhook receiver) plus a realtime channel that pushes Webset events into your session.", | ||
| "keywords": ["websets", "exa", "channel", "webhook", "mcp", "search", "enrichment"], | ||
| "author": { | ||
| "name": "Kastalien Research" | ||
| }, | ||
| "license": "MIT", | ||
| "homepage": "https://github.com/Kastalien-Research/websets-mcp-codemode", | ||
| "repository": "https://github.com/Kastalien-Research/websets-mcp-codemode", | ||
| "mcpServers": { | ||
| "websets": { | ||
| "command": "node", | ||
| "args": ["${CLAUDE_PLUGIN_ROOT}/dist/stdio.js"], | ||
| "env": { | ||
| "EXA_API_KEY": "${user_config.exa_api_key}", | ||
| "EXA_WEBHOOK_SECRET": "${user_config.exa_webhook_secret}", | ||
| "WEBSETS_HTTP_PORT": "${user_config.websets_http_port}", | ||
| "WEBSETS_DB_PATH": "${user_config.websets_db_path}", | ||
| "MANAGE_WEBSETS_DEFAULT_COMPAT_MODE": "${user_config.compat_mode}" | ||
| } | ||
| }, | ||
| "websets-channel": { | ||
| "command": "npm", | ||
| "args": ["--prefix", "${CLAUDE_PLUGIN_ROOT}", "run", "channel"] | ||
| "command": "node", | ||
| "args": ["${CLAUDE_PLUGIN_ROOT}/dist/channel.js"], | ||
| "env": { | ||
| "WEBSETS_SERVER_URL": "http://localhost:${user_config.websets_http_port}" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Useful? React with 👍 / 👎.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in 7612e47. Changed Generated by Claude Code |
||
| } | ||
| } | ||
| }, | ||
| "channels": { | ||
| "websets-channel": { | ||
| "server": "websets-channel" | ||
| "channels": [ | ||
| { "server": "websets-channel" } | ||
| ], | ||
| "userConfig": { | ||
| "exa_api_key": { | ||
| "type": "string", | ||
| "title": "Exa API key", | ||
| "description": "Required. Get one at https://dashboard.exa.ai. Stored in your system keychain.", | ||
| "required": true, | ||
| "sensitive": true | ||
| }, | ||
| "exa_webhook_secret": { | ||
| "type": "string", | ||
| "title": "Exa webhook secret", | ||
| "description": "Optional HMAC secret for verifying inbound Exa webhook signatures (Exa-Signature header). Leave blank to skip signature verification.", | ||
| "required": false, | ||
| "sensitive": true | ||
| }, | ||
| "websets_http_port": { | ||
| "type": "number", | ||
| "title": "Webhook listener port", | ||
| "description": "Local TCP port the websets process binds for /webhooks/exa intake and /webhooks/events SSE. The channel reads this same port. Change if 7860 is taken.", | ||
| "default": 7860 | ||
| }, | ||
| "websets_db_path": { | ||
| "type": "string", | ||
| "title": "SQLite database path", | ||
| "description": "Path to the local Websets shadow store (items, annotations, events, companies). Defaults to the plugin's persistent data directory.", | ||
| "default": "${CLAUDE_PLUGIN_DATA}/websets.db" | ||
| }, | ||
| "compat_mode": { | ||
| "type": "string", | ||
| "title": "Operation compat mode", | ||
| "description": "How strictly callOperation() coerces arguments. 'safe' is forgiving; 'strict' rejects ambiguous inputs.", | ||
| "default": "safe" | ||
| } | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This manifest now exposes only
websets/websets-channel, but the shipped skills still whitelist old tool names likemcp__schwartz13-local__executeandmcp__schwartz13-local__search(seeskills/deep-research-item/SKILL.md:6andskills/verify-item/SKILL.md:6). In plugin mode those tools are unavailable, so invoking/websets:verify-itemor/websets:deep-research-itemcannot call the Websets execute/search tools and the skill flow breaks.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in efcb1f5.
allowed-toolsin the three bundled skills updated tomcp__websets__{execute,search}to match the renamed MCP server. Also dropped the unavailablemcp__airtable__executefromdeep-research-item(the Airtable MCP was removed with the rest ofservers/), and replaced the hardcoded/workspaces/schwartz13/data/workflow-configs.jsonpath inworkflow-configwith${CLAUDE_PLUGIN_DATA}/workflow-configs.jsonso the skill aligns with where the channel now expects the config.Drive-by: also fixed two remaining
schwartz13-mcpUser-Agent strings insrc/handlers/github.tsandsrc/workflows/verifyEnrichments.ts, and rewrote theEXAMPLES.mdheader for the new identity.Generated by Claude Code