Unfortunately doesn't seem to work for MCP23008. Was able to create the mcp object but can't configure a pin for input or output.