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

Remote MCP Server | Session Terminated after 1st interaction #702

Open
Labels
bugSomething isn't working
@hayescode

Description

@hayescode

Describe the bug

I'm using OpenAI Responses API and the remote GitHub MCP server with PAT authentication. Starting a few days ago I noticed that the first interaction works fine, but then every subsequent tool call fails. This used to work fine.

Some users report settingstateless_http=True in the MCP server itself seems to fix this issue (Source).

"name":"list_pull_requests","server_label":"github","type":"mcp_call","error": {"type":"mcp_protocol_error","code":32600,"message":"Session terminated"    },

Affected version

latest

Steps to reproduce the behavior

response=awaitllm.responses.create(model="gpt-4.1",tools=[Mcp(server_label="github",server_url="https://api.githubcopilot.com/mcp/",type="mcp",headers={"Authorization":f"Bearer{GITHUB_PAT}",            },require_approval="never",        )    ],input="what is my github username? how many issues do i have open?")print(response.model_dump_json(indent=2))

Expected vs actual behavior

The session should persist for multiple tool calls.

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