Cursor next to Claude Code: how .mdc rules and CLAUDE.md files decide what the agent knows, and how a single MCP server registers in both tools.