Skip to content

Fix JBang MCP server and document multi-instance setup#9

Merged
drompincen merged 2 commits intomainfrom
feature/claude-companion-features
Mar 29, 2026
Merged

Fix JBang MCP server and document multi-instance setup#9
drompincen merged 2 commits intomainfrom
feature/claude-companion-features

Conversation

@drompincen
Copy link
Copy Markdown
Owner

Summary

  • Fix JBang MCP server compilation: bean name conflict, SDK version, import paths, API compat
  • Document multi-instance setup for running per-project servers
  • Document per-project MCP server registration in Claude Code config

Changes

  • FileWatcher: rename bean to avoid collision with Spring Boot's SslAutoConfiguration.fileWatcher
  • JavaDuckerMcpServer: update MCP SDK from 1.1.0 to 0.8.1, fix imports, use record constructor
  • README: add "Running Multiple Instances" and "Multiple MCP Instances" sections

Test plan

  • 585 tests passing, 0 failures
  • JBang MCP server tested end-to-end: 49 tools register, health/stats/search/index_health verified
  • Spring Boot server starts cleanly on custom port

🤖 Generated with Claude Code

drompincen and others added 2 commits March 29, 2026 08:31
- Rename FileWatcher bean to "javaDuckerFileWatcher" to avoid collision
  with Spring Boot SslAutoConfiguration's own fileWatcher bean
- Update MCP SDK dep from 1.1.0 to 0.8.1 (fat jar with all classes)
- Fix imports: io.modelcontextprotocol.sdk → spec/server packages
- Use CallToolResult record constructor instead of missing builder()
- Verified: 49 tools register, health/stats/search/index_health all work

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add "Running Multiple Instances" section with port/db/intake isolation
- Show CLI client --port flag for targeting specific instances
- Add "Multiple MCP Instances" section with per-project env config
- Explain PROJECT_ROOT env var usage for blame/related/stale tools

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@drompincen drompincen merged commit ccaf304 into main Mar 29, 2026
1 check failed
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