How engineering teams design a coding agent on oshaani.com, give it GitHub / GitLab / SonarQube tools via Marketplace MCP, and run it inside Visual Studio Code (GitHub Copilot agent mode)
| Product | Role |
|---|---|
| oshaani.com | Coding agent brain: persona, repo conventions, reviews, chat memory, credits |
| market.oshaani.com | Hosted coding MCPs — GitHub, GitLab, SonarQube (plus AWS/Jenkins when the loop needs infra) |
| Visual Studio Code | Where the developer works — Copilot agent mode + .vscode/mcp.json talking to Marketplace |
Marketplace documents this IDE as VS Code (
.vscode/mcp.json, GitHub Copilot agent mode). That is the path this case study follows.
1. The problem
Generic chatbots can draft snippets. They cannot reliably:
- Open the right PR and list changed files
- Read a failing Actions / CI job without leaving the editor
- Check Sonar quality-gate blockers before you push
- Keep team conventions (language, folder layout, “never invent public APIs”) across sessions
Typical stack: Copilot in the editor + a separate ChatGPT tab + GitHub web UI + Sonar dashboard. Context is scattered; every review starts from zero.
What teams want:
- One coding agent persona owned by the team (not a disposable chat)
- Safe, billed access to GitHub / GitLab / Sonar without pasting tokens into every plugin
- The same tools available in Visual Studio Code while editing
- Optional reuse of that agent on oshaani.com for longer design / incident threads
That is the oshaani.com + Marketplace + VS Code coding loop.
2. The solution in one sentence
Create a coding agent on oshaani.com → connect GitHub (and optionally GitLab / SonarQube) on market.oshaani.com → attach those MCPs to the agent → drop the Marketplace VS Code snippet into .vscode/mcp.json so Copilot agent mode can call the same tools while you code.
Developer in Visual Studio Code (Copilot agent mode)
│
├──────────────────────────────┐
▼ ▼
.vscode/mcp.json oshaani.com coding agent
(Marketplace MCP URLs (persona + same MCPs
+ osk_ API key) attached in UI)
│ │
└──────────────┬───────────────┘
▼
market.oshaani.com
/github /gitlab /sonarqube
│
▼
PRs, files, Actions, quality gates
3. Who each piece is for
oshaani.com — the coding brain
- Create an agent (e.g. “Platform Coding Partner”) with instructions: stack, style guide, forbidden actions
- Attach Marketplace MCP connections (GitHub today; GitLab / Sonar as needed)
- Use chat for design reviews, RFCs, multi-file reasoning away from the editor
- Mint / use API keys and credits for model use; Marketplace bills per tool call
- Optional: publish or hire a specialized coding persona for the org
market.oshaani.com — coding tool gateway
| MCP | What the agent can do (highlights) |
|---|---|
| GitHub | Repos, PRs, issues, search, read files, Actions runs; optional write (issues, comments, re-run failed jobs) |
| GitLab | Projects, MRs, pipelines, job logs, issues; optional write |
| SonarQube | Quality gates, metrics, issues, security hotspots, rule explain |
- Sign in with oshaani.com; store PAT / tokens on the connection (not in the IDE config beyond
osk_…) - Create an
osk_…Marketplace API key for agents and VS Code - Copy the VS Code tab snippet from each MCP’s docs page
- Pay per tool call in oshaani credits; failed calls are free
Visual Studio Code — where code lands
- Put Marketplace config in
.vscode/mcp.json(project) so the whole team shares the same MCP endpoints - Use GitHub Copilot agent mode — VS Code prompts once for the Marketplace key and stores it securely (
inputs+${input:oshaani-mcp-key}) - Ask in-editor: “What’s failing on the last Actions run for
acme/api?” or “Open quality-gate blockers for this project” - Keep write tools off until you trust the agent; prefer read-only PR / CI inspection first
Together: oshaani.com owns the persona → Marketplace owns the repo/CI/quality tools → VS Code is the cockpit.
4. Case narrative: “Northline Platform” (illustrative)
Team: Six backend engineers on a Django / ECS monorepo.
Pain: Copilot edited well locally but could not see open PRs, flaky Actions, or Sonar blockers without browser hopping. Junior reviews missed “always use our ApiError envelope.”
What they set up
- oshaani.com — agent “Northline Coder” with persona: Python 3.12, Django patterns, “never invent HTTP routes,” cite file paths, prefer small diffs.
- market.oshaani.com — GitHub connection with a fine-grained PAT (contents + PRs + Actions read); write off. SonarQube Cloud connection for
northline_api. Created Marketplace keyosk_…. - oshaani.com — attached GitHub + Sonar MCPs to Northline Coder.
- Visual Studio Code — committed
.vscode/mcp.jsonfrom the Marketplace VS Code snippet (GitHub + Sonar servers, sharedoshaani-mcp-keyinput).
One week in practice
| Day | Where | What happened |
|---|---|---|
| Mon | VS Code | Agent listed open PRs into main, pulled changed files for #482, summarized risk before review |
| Tue | oshaani.com | Design chat: “Sketch idempotent retry for webhook consumer” using persona + prior repo conventions |
| Wed | VS Code | “Why is deploy-api red?” → GitHub Actions tools → pointed at failing job step |
| Thu | VS Code + Sonar | “Any BLOCKER issues on northline_api?” → quality gate + issue search before merge |
| Fri | GitHub write still off | Human filed the follow-up issue; team enabled write later only for “comment on PR” |
Result: review prep dropped from ~25 minutes of tab-switching to a short agent pass in the editor; conventions lived in one agent, not Slack lore.
5. Capability map (what to use when)
| Task | Prefer |
|---|---|
| Persona / team rules / long design threads | oshaani.com agent |
| Browse PRs, files, Actions while coding | VS Code + GitHub MCP |
| Pipeline / job logs (GitLab shops) | GitLab MCP |
| Coverage, smells, hotspots before merge | SonarQube MCP |
| Infra after deploy (“is ECS healthy?”) | AWS MCP (see AWS case study) |
| Create issue / re-run failed jobs | Enable Marketplace write flags only when ready |
6. Setup checklist (production)
A. Coding agent (oshaani.com)
- [ ] Create agent (or hire a Marketplace coding persona)
- [ ] Instructions: languages, repo layout, test commands, “never” rules
- [ ] Attach GitHub / GitLab / Sonar MCP after connections exist
B. Marketplace connections
- [ ] market.oshaani.com → GitHub → fine-grained PAT → Test configuration — docs
- [ ] Optional: GitLab, SonarQube
- [ ] Keep write off until read workflows feel solid
- [ ] Create API key (
osk_…) on API keys
C. Visual Studio Code
- [ ] Open the MCP docs page → VS Code tab → Copy
- [ ] Save as
.vscode/mcp.jsonin the repo (example shape):
{
"inputs": [
{
"type": "promptString",
"id": "oshaani-mcp-key",
"description": "oshaani MCP Marketplace API key",
"password": true
}
],
"servers": {
"github": {
"type": "http",
"url": "https://market.oshaani.com/github",
"headers": {
"Authorization": "Bearer ${input:oshaani-mcp-key}"
}
}
}
}
- [ ] Add more
serversentries the same way forgitlab/sonarqube(URLs from each docs page) - [ ] Enable Copilot agent mode; enter
osk_…when prompted - [ ] Use Test endpoint on Marketplace first (initialize + tools/list, no credit charge)
D. Hygiene
- [ ] Prefer org fine-grained PATs with least privilege; rotate on offboarding
- [ ] Do not commit
osk_…or GitHub PATs into the repo — only${input:…}in mcp.json - [ ] Revoke Marketplace key to cut IDE + agent tool access immediately
7. Architecture details (for technical readers)
| Layer | Responsibility |
|---|---|
| oshaani.com agent | Persona, conversation memory, optional MCP tool calls from web chat |
| market.oshaani.com | Streamable HTTP MCP; connection credentials; per-call billing |
| VS Code Copilot agent mode | Local IDE agent; loads .vscode/mcp.json; calls Marketplace with Bearer osk_… |
| Credits | oshaani model usage + Marketplace tool calls |
Security properties:
- IDE config holds Marketplace URL + key input reference, not the GitHub PAT
- GitHub/GitLab write tools are opt-in on the connection
- Same
osk_…key can be scoped by rotation; separate keys per laptop / CI if needed - Marketplace docs also ship Cursor / Claude / Windsurf snippets if the team mixes editors
8. Results teams typically care about
| Metric | Fragmented tools | Oshaani + VS Code loop |
|---|---|---|
| PR context before review | GitHub UI + local diff | Agent get_pull_request in editor |
| “Why is CI red?” | Actions tab hunting | Actions / pipeline MCP tools |
| Quality before merge | Separate Sonar login | Sonar MCP in the same agent session |
| Team coding rules | Wiki nobody opens | Agent persona on oshaani.com |
| Credential sprawl | PAT in three plugins | One Marketplace connection + osk_… |
9. Best practices
- One coding agent per product area so instructions stay sharp.
- Start read-only; turn on write for comments / issues only after demos.
- Commit
.vscode/mcp.jsonso onboarding is clone → paste key → go. - Put hard rules in the oshaani persona (“never invent endpoints”) and repeat critical ones in PR templates.
- Use VS Code for tight edit/review loops; use oshaani.com chat for longer design threads.
- Pair GitHub MCP with Sonar on merge-critical services.
- Treat agent chat as working memory — still require human merge and CI green.
10. When not to fully automate
- Production hotfixes that need a named human approver on every mutation
- Repos with regulated data where tool output must stay in a controlled environment (prefer on-prem Marketplace)
- Bulk write actions (mass issue create, mass re-runs) without a human gate
11. Call to action
- Create your coding agent on oshaani.com
- Connect GitHub (and friends) on market.oshaani.com — start with GitHub docs
- Copy the VS Code snippet into
.vscode/mcp.jsonand open Copilot agent mode - Optional deeper ops: AWS DevOps case study
Questions: WhatsApp +91 72910 59787 · email info@oshaani.com
Case study based on oshaani.com agents with Marketplace MCP attach, market.oshaani.com GitHub / GitLab / SonarQube MCPs (Streamable HTTP + osk_ keys), and Visual Studio Code GitHub Copilot agent mode via .vscode/mcp.json as documented on Marketplace agent setup snippets.
Comments 0
Leave a Comment
No comments yet. Be the first to comment!