What are the capabilities of mcp.json?

What is the schema definition of mcp.json? What are its capabilities?
What directory or environment does it execute the command within?
Can we interpolate variables (like $pwd) within the command?
Is there support for relative pathing within project-level mcp.json files?