Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug: Agent Mode skips get_me and fails to create a PR #562

Open
Labels
bugSomething isn't working
@D1M1TR10S

Description

@D1M1TR10S

Describe the bug

Agent Mode in VS Code fails to create a pull request because it skips the get_me prerequisite call. It guessed the repository owner from the local path (dimitriosphilliou - my full name) instead of using the authenticated GitHub handle (D1M1TR10S), so Agent Mode returns 404 when trying open the PR.

This may need some work on Agent Mode's MCP logic. But at the MCP server level, we can make sure our descriptions forget_me and all tools that depend onget_me data to work (like PRs) are clear enough so the LLM knows when to callget_me first.

Possible easy fix:

  1. Update the tool descriptions forget_me andpull requests explicitly state that owner must come from the cached login returned by get_me – better if get_me is called once per session and reused to save repeat tool calls.
  2. Should we add a short “requires_auth_user=true” flag (or similar metadata) to all tools that requireget_me data? Or at the core server logic, check for parameters for indicators thatget_me will be required? (like a requiredowner + it lives in a “write” namespace). Then Agent Mode can detect dependencies automatically.

Affected version

  • Remote GitHub MCP Server: 0.5.0 (latest)
  • VS Code Stable: 1.101 (latest)

Steps to reproduce the behavior

  1. Open VS Code stable, connect to the remote GitHub MCP Server, and enter Agent Mode.
  2. Make some code changes and prompt the agent to open a PR (My PR was mergingfeature/add-linter-workflow to main).
  3. Observe that noget_me call appears beforeopen_pull_request, and the server returns a 404 error.

Might take a few tries to get a similar output. Could try other tool calls that requireget_me data.

Expected vs actual behavior

Expected – Agent callsget_me, retrieves the correct username (D1M1TR10S), and successfully creates the pull request with the proper repo owner.

Actual – Agent skips get_me, sends an invalid owner "{my full name}", and the MCP server responds with 404 Not Found.

Logs

ImageImageImage

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp