Error Handling - fleXRPL/github-mcp GitHub Wiki
Error Handling
This page describes how errors are handled in the GitHub MCP Server API.
Error Response Format
{
"detail": "Error message"
}
Common Error Codes
- 400 Bad Request: Invalid parameters
- 401 Unauthorized: Authentication failed
- 403 Forbidden: Insufficient permissions
- 404 Not Found: Resource not found
- 429 Too Many Requests: Rate limit exceeded
- 500 Internal Server Error: Server error
Error Flow
sequenceDiagram
participant Client
participant MCPServer
participant GitHub
Client->>MCPServer: API Request
MCPServer->>GitHub: GitHub API Call
GitHub-->>MCPServer: Error/Failure
MCPServer-->>Client: Error Response