pm-agents

pm-agents

A multi-agent product-management copilot that automates morning briefings, metrics answers, knowledge lookups over an Obsidian vault, and PRD/ticket drafting.

Category
Visit Server

README

pm-agents

A multi-agent product-management copilot that automates a PM's operating rhythm: morning briefings, metrics answers, grounded knowledge lookups over an Obsidian vault, and PRD/ticket drafting — each a specialised backend agent with real integrations and hard guardrails.

Built and used daily by a working product manager. Runs locally on Windows against a Claude subscription (no per-token API billing) by driving the logged-in claude CLI in print mode, with tools exposed as a local stdio MCP server.

Agents

A single-agent orchestrator (all tools) plus four specialists:

Specialist Does External creds
knowledge Vault Q&A grounded in a local RAG index; guarded note upkeep none (local only)
metrics PostHog + Jira analytics, anomaly/OKR watch (read-only) PostHog, Jira
briefing Morning briefing + EOD dump written into the daily notes Jira, Slack, Notion, PostHog, Gmail
prd_ticket Draft + create PRDs (Notion) and Jira tickets, on confirmation Notion, Jira

Architecture notes

  • Print-mode + MCP, not the streaming SDK. The Agent SDK's streaming stdio transport does not complete its control handshake with the native claude.exe on Windows (verified: hangs on initialize). claude -p works reliably, so the runner drives that directly and exposes the Python tools via --mcp-config pointing at pm_agents.mcp_server. Pragmatism over purity.
  • Allowlist-only tool execution. Tools are pre-approved through an explicit --allowedTools allowlist plus --strict-mcp-config — no blanket permission bypass. Each specialist gets the minimum tool set for its job.
  • Guardrails in code, not prompts (pm_agents/guardrails.py): production-database references are hard-blocked by regex before any tool executes; write operations require explicit confirmation. The model is never trusted to self-police.
  • Grounded-only answers. The knowledge agent must quote retrieved chunks; if retrieval returns nothing it says so instead of improvising.
  • One agent, one prompt file. Each agent's behaviour lives in a single markdown file under pm_agents/prompts/ — reviewable, diffable, no prompt spaghetti.
  • Scheduling: Windows Task Scheduler entries (scripts/schedule_tasks.ps1) drive the morning/EOD/weekly runs.

Setup

python -m venv .venv && .venv/Scripts/activate
pip install -r requirements.txt
cp .env.example .env   # fill in your own tokens — nothing is committed
python scripts/smoke_test.py

Layout

pm_agents/
  agents/          # the four specialists
  integrations/    # jira, notion, slack, gmail, posthog clients (thin, typed)
  prompts/         # one behaviour file per agent
  tools/           # vault + RAG tools
  guardrails.py    # hard safety checks (prod-DB block, allowlists)
  mcp_server.py    # stdio MCP server exposing the tools
scripts/           # entrypoints: morning brief, EOD, weekly, chat, diagnostics

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured