Skip to content

Add an AI-agent install guide and refresh the README - #150

Merged
qian-harvard merged 3 commits into
mainfrom
docs/readme-ai-install
Nov 11, 2026
Merged

qian-harvard merged 3 commits into
mainfrom
docs/readme-ai-install

Conversation

@qian-harvard

Copy link
Copy Markdown
Contributor

Summary

More users now install PowerMCP by asking Claude Code, Codex, or another coding agent to do it. This PR gives them a prompt to paste and a guide written for the agent.

  • llms-install.md (new): a step-by-step install guide for AI agents. It covers checking the OS and Python, creating a persistent venv, installing the right extras, storing vendor software paths, writing the MCP client config, verifying with powermcp doctor, and reporting back to the user. The file name follows the convention Cline's MCP marketplace looks for.
  • README, Installation: the section now opens with a copy-paste agent prompt that points at the guide. The intro and Quick start link to it.
  • README, current version: adds a PyPI badge and a supported-tools table (tool id, pip extra, platform). Extras are quoted in pip commands for zsh, and the windows extra is listed. Also documents doctor [tool], --version, the --clients values, the PLEXOSDB install note, the fact that client entries use the absolute interpreter path, and that --tools prunes unlisted powermcp_* entries.
  • README, community: adds the feature-release, Grid Impact Evaluation, and PowerSkills + PowerMCP demos. The Core Team now matches poweragent.seas.harvard.edu: Laura Hwa, Leo Winiecki, Brian Horakh, Aswin Krishna Poyil, and Burhan Abdullah are added, along with the PowerAgent leads. The Contributing link now points at the new site and the Slack invite.

Installer behaviour the guide relies on

These were checked against the real CLI, not inferred:

  • An agent's shell has no TTY. There, powermcp install --tools … skips the picker, the path prompts, and its own pip install, and only writes the client config. So the guide has the agent run pip and powermcp config set itself.
  • --yes makes the installer run python -m pip install, which fails in a uv venv ("No module named pip"). The guide tells agents not to pass it.
  • --tools removes powermcp_* entries for tools left out of the list. The guide has the agent read the existing config first.

Testing

  • Ran the guide's steps end to end in a fresh pip venv under a throwaway HOME, installing powermcp[andes] 0.4.1 from PyPI. This covered --dry-run, then a non-TTY write for claude-code,codex (four powermcp_* entries with the absolute interpreter path), then doctor andes reporting ok.
  • Every local link and in-page anchor in both files resolves. LinkedIn and Slack URLs refuse automated requests; they are copied verbatim from the PowerAgent site.
  • Docs-only change, so no code paths are affected.

Note: the raw llms-install.md URL in the agent prompt returns 404 until this merges to main.

🤖 Generated with Claude Code

Add llms-install.md, a step-by-step guide for AI coding agents (Claude
Code, Codex, Cursor, Cline) to install PowerMCP: check the platform and
Python, create a persistent venv, install the right extras, store vendor
software paths, write the MCP client config, and verify with
`powermcp doctor`. It covers the installer's non-TTY behaviour (no pip
step or path prompts), why `--yes` fails in uv venvs, and that `--tools`
prunes powermcp_* entries for tools left out of the list.

README:
- open the Installation section with a copy-paste agent prompt that
  points at llms-install.md, and link it from the intro and Quick start
- add a supported-tools table (tool id, pip extra, platform, notes)
- quote extras in pip commands for zsh; add the `windows` extra
- document `doctor [tool]`, `--version`, `--clients` values, the
  PLEXOSDB install note, and the absolute-interpreter client entries
- add the feature-release, Grid Impact Evaluation and PowerSkills demos
- update the Core Team from poweragent.seas.harvard.edu and point the
  Contributing link at the new site and Slack community

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
qian-harvard and others added 2 commits November 11, 2026 11:30
powerio 0.11.8 started reporting EMIT.PANDAPOWER.FIELD_DROPPED when a
branch carries rate_b/rate_c values, since pandapower holds a single
loading limit. CLEAN_CASE set all three ratings to 250, so
test_pandapower_response_states_an_empty_warnings_list now gets that
warning and fails on Python 3.11+ (3.10 still resolves powerio 0.11.7,
which predates the diagnostic).

Set rate_b and rate_c to 0, MATPOWER's "unset", so the fixture again
carries nothing pandapower drops and the test keeps checking what it is
for: a clean load states an empty warnings list. Passes under powerio
0.11.7 and 0.11.11.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@qian-harvard qian-harvard mentioned this pull request Nov 11, 2026
@qian-harvard
qian-harvard merged commit a2f0a07 into main Nov 11, 2026
5 checks passed
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