Skip to content

Commit 60091cb

Browse files
docs(examples): GH_TOKEN is required for example 54's GitHub MCP, not optional
Without GH_TOKEN the example sends 'Authorization: Bearer ' (empty) and the run fails with a misleading MCP 400. The default api.githubcopilot.com/mcp/ endpoint requires authentication, so document the token as required and show how to set it from the gh CLI. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 1aa80d5 commit 60091cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/agents/54-software-bug-assistant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* - Conductor server with AgentTool + MCP support
1111
* - CONDUCTOR_SERVER_URL=http://localhost:8080/api as environment variable
1212
* - CONDUCTOR_AGENT_LLM_MODEL=openai/gpt-4o-mini as environment variable
13-
* - GH_TOKEN in environment (optional, for GitHub MCP)
13+
* - GH_TOKEN in environment (required for GitHub MCP; e.g. export GH_TOKEN=$(gh auth token))
1414
*/
1515

1616
import { Agent, AgentRuntime, agentTool, tool, mcpTool } from '@io-orkes/conductor-javascript/agents';

0 commit comments

Comments
 (0)