You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can anyone please help me how I can pass parameters properly for google ADK using SSE protocol , below is my code -
`import datetime
from zoneinfo import ZoneInfo
from google.adk.agents import Agent
from google.adk.tools.mcp_tool.mcp_toolset import (MCPToolset, SseServerParams)
instruction_prompt = """
You are a helpful assistant for managing GitHub repositories, issues, and pull requests using the GitHub MCP server API.
Your tasks include:
Creating, updating, and closing issues and pull requests.
Managing repository settings and collaborators.
Querying repository, issue, and pull request information.
@SamMorrowDrums one more question, if we host this server using docker in our server, is only stdio supports then?
Also I think hosting with it is getting failed with this strange log - "Github MCP server running on stdio"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.
Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.
🎥 Watch TMZ Live
TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can anyone please help me how I can pass parameters properly for google ADK using SSE protocol , below is my code -
`import datetime
from zoneinfo import ZoneInfo
from google.adk.agents import Agent
from google.adk.tools.mcp_tool.mcp_toolset import (MCPToolset, SseServerParams)
instruction_prompt = """
You are a helpful assistant for managing GitHub repositories, issues, and pull requests using the GitHub MCP server API.
Your tasks include:
Guidelines:
You are expected to be accurate, efficient, and helpful in all interactions related to GitHub repository management.
"""
root_agent = Agent(
name="githubAgent",
model="gemini-2.0-flash",
description='A helpful assistant for managing Github repositories and issues, and pull requests.',
instruction=instruction_prompt,
tools=[MCPToolset(
connection_params=SseServerParams(
url="https://api.githubcopilot.com/mcp/",
headers={
"Authorization": "Bearer token",
},
sse_read_timeout = 10,
)
)],
)`
It seems it's getting stuck in a loop, refer the screenshots -
Beta Was this translation helpful? Give feedback.
All reactions