added skeleton for MCP and more runtime behavior