Skip to content

RAG: Auto-inject knowledge MCP server on team deploy #74

@sre-helmcode

Description

@sre-helmcode

Description

Modify deployTeamAsync in handlers_teams.go:

  • Check if org has ready documents
  • If yes: ensure Qdrant + RAG MCP running, connect to team network
  • Inject knowledge-base MCP server config into AGENT_MCP_SERVERS env (in-memory, not persisted to DB)

Modify StopTeam:

  • Disconnect Qdrant + RAG MCP from team network (no auto-stop)

Acceptance Criteria

  • Teams with org docs get knowledge-base MCP auto-injected
  • Teams without org docs are unaffected
  • StopTeam disconnects networks cleanly
  • MCP config not persisted to team's mcp_servers DB field

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions