Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions