Repository navigation
feat: add Devin platform support and MCP server integration - #726
Open
isaiahfrantz wants to merge 1 commit into
Open
isaiahfrantz wants to merge 1 commit into
isaiahfrantz wants to merge 1 commit into
Conversation
- Add packages/mcp MCP server exposing graph tools to MCP clients - Document Devin plugin installation via Claude-plugin compatibility - Add Devin platform to one-line installer (install.sh/install.ps1) - Update CLAUDE.md with Devin integration notes (hooks, skills, MCP) - Add Devin badge and platform entry to README - Bump version count from 6 to 7 files in versioning checklist - Add MCP server dependencies (@modelcontextprotocol/sdk
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for running Understand Anything on Devin, plus a new stdio MCP server (
@understand-anything/mcp) that exposes knowledge-graph tools to any MCP-capable agent. Devin is supported through its Claude-plugin compatibility layer — the sameplugin.json, skills, hooks, and agents work unmodified, with small portability fixes where Devin's runtime differs from Claude Code's.Changes
New
packages/mcp— MCP serverbin/understand-anything-mcp.mjs: stdio MCP server exposing six tools over an existing.ua/(or legacy.understand-anything/) graph:understand_status— graph presence, metadata, counts, freshnessunderstand_search— fuzzy search + 1-hop graph contextunderstand_explain— deep-dive on a file orfile:functionunderstand_diff— impact analysis of current git changesunderstand_onboard— full onboarding guideunderstand_dashboard— launch the dashboard, return the URL@understand-anything/coreand@understand-anything/skillvia workspace deps; includes a standalone README with client config examples (.devin/config.jsonshown for Devin).Hooks portability
hooks/hooks.json: PostToolUse matcher broadened to^(Bash|exec)$so it fires on Devin'sexectool as well as Claude'sBash.hooks/session-start-stale-check.mjs: replaces the inline shell one-liner in the SessionStart hook. EmitshookSpecificOutput.additionalContextJSON — the only form Devin injects into context — and resolves the update prompt relative to its own location, so no platform-specific env var is needed.post-tool-use-auto-update.mjs: falls back to resolvingauto-update-prompt.mdfrom the script's own location whenCLAUDE_PLUGIN_ROOTis unset.auto-update-prompt.md: plugin-root resolution now tries$DEVIN_PLUGIN_ROOTand the parent of thehooks/dir containing the prompt.Skills
understand,understand-domain,understand-dashboardSKILL.md plugin-root resolution blocks gain two candidates:$DEVIN_PLUGIN_ROOTand<SKILL_DIR>/../..(Devin's agent shell has no plugin-root variable; the skill's own base directory is the reliable anchor).Installers
install.sh/install.ps1: newdevinplatform target (~/.agents/skills, per-skill style), with a post-install tip pointing atdevin plugins installfor the full plugin experience.Docs
devin plugins install Egonex-AI/Understand-Anything#understand-anything-plugin, or skills-only viainstall.sh devin), MCP server registration snippet, badge, and compatibility table row..devin-plugin/plugin.json— a native manifest would take precedence over the Claude one); versioning list updated to seven files for the new package.Design notes
.claude-plugin/plugin.jsonandhooks/hooks.json, setsCLAUDE_PLUGIN_ROOTfor hook commands, and loadsagents/asunderstand-anything:<name>subagents. A.devin-plugin/plugin.jsonwould take precedence and break this.Testing
tests/hooks/session-start-stale-check.test.mjs(109 lines) covering the stale-check hook;post-tool-use-auto-update.test.mjsupdated for the prompt-path fallback.Versioning note
packages/mcp/package.jsoncarries a"version"field — the release checklist now spans seven files.