Skip to content

docs(mcp): improve MCP setup for beginners across all AI tools#57

Merged
chefgs merged 8 commits intomainfrom
improve/mcp-setup-docs
Apr 1, 2026
Merged

docs(mcp): improve MCP setup for beginners across all AI tools#57
chefgs merged 8 commits intomainfrom
improve/mcp-setup-docs

Conversation

@chefgs
Copy link
Copy Markdown
Member

@chefgs chefgs commented Apr 1, 2026

Summary

  • Rewrote mcp_server/README.md with clear, beginner-friendly step-by-step setup guides for every major MCP-compatible AI tool: Claude Code CLI, Claude Desktop, Cursor, VS Code + GitHub Copilot, Windsurf, and Zed
  • Fixed setup_devops_os_mcp.sh: replaced hardcoded ~/gsdev/devops_os path with configurable INSTALL_DIR (default ~/devops_os), added --local flag for users already inside a clone, added --help output and Python version check
  • Added project-level MCP config files so users opening the repo in their IDE get automatic MCP integration:
    • .mcp.json — Claude Code
    • .cursor/mcp.json — Cursor IDE
    • .vscode/mcp.json — VS Code Copilot
  • Added missing tool generate_unittest_config to the tools table in mcp_server/README.md
  • Added troubleshooting section covering the most common setup failures
  • Removed "WIP" label from the MCP section in the main README.md, replaced with a curl | bash one-liner and --local shortcut
  • Updated .gitignore to track shareable IDE MCP configs while still ignoring personal IDE settings

Test plan

  • Verified MCP server tools execute correctly (generate_github_actions_workflow, generate_k8s_config, generate_unittest_config)
  • setup_devops_os_mcp.sh --help prints usage correctly
  • setup_devops_os_mcp.sh --local resolves to the correct repo root
  • .cursor/mcp.json and .vscode/mcp.json are committed (gitignore exceptions work)
  • All 7 files staged and committed cleanly

🤖 Generated with Claude Code

- Rewrote mcp_server/README.md with step-by-step guides for Claude Code,
  Claude Desktop, Cursor, VS Code Copilot, Windsurf, and Zed
- Added tools table entry for generate_unittest_config (was missing)
- Added troubleshooting section for common setup failures
- Fixed setup_devops_os_mcp.sh: replaced hardcoded ~/gsdev path with
  configurable INSTALL_DIR (default ~/devops_os), added --local flag
  for users already inside a clone, added --help and Python version check
- Added .mcp.json (Claude Code project-level config)
- Added .cursor/mcp.json (Cursor IDE project-level config)
- Added .vscode/mcp.json (VS Code Copilot project-level config)
- Updated .gitignore to track IDE MCP configs while ignoring personal settings
- Removed "WIP" label from MCP section in main README.md, added curl one-liner

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 1, 2026 04:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the repository’s MCP (Model Context Protocol) onboarding experience by adding beginner-focused setup documentation for multiple MCP-capable AI tools and providing shareable, repo-committed MCP configuration files plus a one-command setup script for Claude Code CLI.

Changes:

  • Rewrites mcp_server/README.md with step-by-step setup guides for multiple MCP clients/editors and adds troubleshooting.
  • Adds mcp_server/setup_devops_os_mcp.sh to automate clone/venv/deps + Claude Code MCP registration.
  • Commits project-level MCP configs for Claude Code/Cursor/VS Code and updates .gitignore to track those files.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
README.md Replaces MCP “WIP” section with a one-liner setup and links to the expanded MCP guide.
mcp_server/setup_devops_os_mcp.sh New automation script for install + venv + dependency install + Claude Code MCP registration.
mcp_server/README.md Major rewrite: multi-tool setup instructions, tool list, examples, and troubleshooting.
.vscode/mcp.json Adds workspace MCP server config for VS Code Copilot.
.mcp.json Adds repo-level MCP config for Claude Code.
.gitignore Adjusts ignores to keep shareable MCP configs while ignoring other IDE settings.
.cursor/mcp.json Adds project MCP config for Cursor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 218 to 220
```bash
pip install -r mcp_server/requirements.txt
python mcp_server/server.py
curl -fsSL https://raw.githubusercontent.com/cloudengine-labs/devops_os/main/mcp_server/setup_devops_os_mcp.sh | bash
```
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section recommends curl ... | bash, which executes remote code without an opportunity to review it. For safer defaults, consider documenting a download-then-run flow (and/or adding a brief note telling users to inspect the script before executing), especially since this is in the project’s main README.

Copilot uses AI. Check for mistakes.
Copilot AI and others added 6 commits April 1, 2026 11:37
…est (#58)

* Add MCP test automation: wire-protocol tests and setup script smoke test

Agent-Logs-Url: https://github.com/cloudengine-labs/devops_os/sessions/bcbbfe9c-443e-4778-b9fa-0d9a5d00fc75

Co-authored-by: chefgs <7605658+chefgs@users.noreply.github.com>

* fix: use importlib.metadata to check mcp version in smoke test

Agent-Logs-Url: https://github.com/cloudengine-labs/devops_os/sessions/67dfed60-b36b-48f1-83f5-84cca466abb9

Co-authored-by: chefgs <7605658+chefgs@users.noreply.github.com>

* Update tests/test_mcp_protocol.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update tests/test_mcp_protocol.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update .github/workflows/mcp-setup-smoke.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update .github/workflows/mcp-setup-smoke.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: chefgs <7605658+chefgs@users.noreply.github.com>
Co-authored-by: Saravanan Gnanaguru <g.gsaravanan@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@chefgs
Copy link
Copy Markdown
Member Author

chefgs commented Apr 1, 2026

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

@copilot apply changes based on this feedback

Done in 8401da8. Replaced curl ... | bash in README.md with the download-then-inspect-then-run pattern (matching what was already applied to mcp_server/README.md):

# Download the setup script
curl -fsSLo setup_devops_os_mcp.sh https://raw.githubusercontent.com/cloudengine-labs/devops_os/main/mcp_server/setup_devops_os_mcp.sh

# (Optional but recommended) Inspect the script before running it
less setup_devops_os_mcp.sh

# Run the setup script
bash setup_devops_os_mcp.sh

@chefgs chefgs merged commit 750014a into main Apr 1, 2026
7 checks passed
@chefgs chefgs deleted the improve/mcp-setup-docs branch April 1, 2026 06:27
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.

3 participants