GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Remote MCP with custom headers returning 401 Unauthorized despite oauth: false · Issue #30428 · anomalyco/opencode Closed DescriptionOpenCode version: 1.15.13 Configuration"mcp": { "Bot": { "type": "remote", "url": "http://<vps-ip>:8899/jsonrpc", "headers": { "X-Bot-Token": "<token>" }, "oauth": false } } Expected behaviorWith Actual behavior
AnalysisThis appears similar to:
But the specific case of static custom headers with oauth: false returning 401 does not match exactly. The server appears "connected" in WorkaroundUsing curl directly works: curl -s -X POST http://<vps-ip>:8899/jsonrpc \ -H "Content-Type: application/json" \ -H "X-Bot-Token: <token>" \ -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"run_bot","arguments":{"message":"\$1"}},"id":1}' Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |